Skip to content

Commit

Permalink
merging logic with two repos
Browse files Browse the repository at this point in the history
a lot of bugs need to be fixed.
  • Loading branch information
cloudhu committed Dec 1, 2024
1 parent 45a8415 commit 39aebc6
Show file tree
Hide file tree
Showing 75 changed files with 538 additions and 410 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ ______
- Rust格式化: `cargo fmt`
- clippy提交检查:`cargo clippy --locked --workspace --all-targets --all-features -- --deny warnings`
- 本地开发运行:`cargo run`
- Powershell打开调试日志:`$env:RUST_LOG="debug"`
- Powershell打开追踪日志:`$env:RUST_BACKTRACE=1; cargo run`

# 4. 发布
[Itch.io](https://cloudhu.itch.io/skywalker2088)
Expand Down
10 changes: 5 additions & 5 deletions assets/data/consumables.ron
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
z_level: 915.0,
initial_motion: (
random_linvel: Some(((-100, 50), (100, 100))),
random_angvel: Some((-3.0, 3.0)),
Expand All @@ -33,7 +33,7 @@
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
z_level: 915.0,
initial_motion: (
random_linvel: Some(((-100, 50), (100, 100))),
random_angvel: Some((-3.0, 3.0)),
Expand All @@ -58,7 +58,7 @@
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
z_level: 915.0,
initial_motion: (
random_linvel: Some(((-120, 50), (120, 120))),
random_angvel: Some((-5.0, 5.0)),
Expand All @@ -83,7 +83,7 @@
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
z_level: 915.0,
initial_motion: (
random_linvel: Some(((-100, 50), (100, 100))),
random_angvel: Some((-3.0, 3.0)),
Expand All @@ -108,7 +108,7 @@
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
z_level: 915.0,
initial_motion: (
random_linvel: Some(((-100, 50), (100, 100))),
random_angvel: Some((-3.0, 3.0)),
Expand Down
34 changes: 17 additions & 17 deletions assets/data/effects.ron
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
AllyBlastExplosion: (
effect_type: AllyBlastExplosion,
effect_behaviors_data: [FadeOutAndDespawnAfterAnimation],
z_level: 10.0,
z_level: 909.0,
animation: (
direction: Forward,
frame_duration: 0.1,
Expand All @@ -17,7 +17,7 @@
EnemyBlastExplosion: (
effect_type: EnemyBlastExplosion,
effect_behaviors_data: [FadeOutAndDespawnAfterAnimation],
z_level: 10.5,
z_level: 909.5,
animation: (
direction: Forward,
frame_duration: 0.1,
Expand All @@ -32,7 +32,7 @@
AllyBlastDespawn: (
effect_type: AllyBlastDespawn,
effect_behaviors_data: [FadeOutAndDespawnAfterAnimation],
z_level: 9.0,
z_level: 909.0,
animation: (
direction: Forward,
frame_duration: 0.1,
Expand All @@ -47,7 +47,7 @@
EnemyBlastDespawn: (
effect_type: EnemyBlastDespawn,
effect_behaviors_data: [FadeOutAndDespawnAfterAnimation],
z_level: 9.0,
z_level: 909.0,
animation: (
direction: Forward,
frame_duration: 0.1,
Expand All @@ -62,7 +62,7 @@
MobExplosion: (
effect_type: MobExplosion,
effect_behaviors_data: [FadeOutAndDespawnAfterAnimation],
z_level: -5.0,
z_level: 904.0,
animation: (
direction: Forward,
frame_duration: 0.1,
Expand All @@ -77,7 +77,7 @@
ConsumableDespawn: (
effect_type: ConsumableDespawn,
effect_behaviors_data: [FadeOutAndDespawnAfterAnimation],
z_level: 9.0,
z_level: 909.0,
animation: (
direction: Forward,
frame_duration: 0.05,
Expand All @@ -92,7 +92,7 @@
BarrierGlow: (
effect_type: BarrierGlow,
effect_behaviors_data: [],
z_level: 25.0,
z_level: 925.0,
animation: (
direction: PingPong(Forward),
frame_duration: 0.2,
Expand All @@ -107,7 +107,7 @@
AllyBulletDespawn: (
effect_type: AllyBulletDespawn,
effect_behaviors_data: [FadeOutAndDespawnAfterAnimation],
z_level: 9.0,
z_level: 909.0,
animation: (
direction: Forward,
frame_duration: 0.1,
Expand All @@ -122,7 +122,7 @@
EnemyBulletDespawn: (
effect_type: EnemyBulletDespawn,
effect_behaviors_data: [FadeOutAndDespawnAfterAnimation],
z_level: 9.0,
z_level: 909.0,
animation: (
direction: Forward,
frame_duration: 0.1,
Expand All @@ -137,7 +137,7 @@
AllyBulletExplosion: (
effect_type: AllyBulletExplosion,
effect_behaviors_data: [FadeOutAndDespawnAfterAnimation],
z_level: 9.0,
z_level: 909.0,
animation: (
direction: Forward,
frame_duration: 0.1,
Expand All @@ -152,7 +152,7 @@
EnemyBulletExplosion: (
effect_type: EnemyBulletExplosion,
effect_behaviors_data: [FadeOutAndDespawnAfterAnimation],
z_level: 9.0,
z_level: 909.0,
animation: (
direction: Forward,
frame_duration: 0.1,
Expand All @@ -167,7 +167,7 @@
Text(DamageDealt): (
effect_type: Text(DamageDealt),
effect_behaviors_data: [FadeOut(0.55)],
z_level: 10.0,
z_level: 909.0,
animation: (
direction: None,
frame_duration: 0.1,
Expand All @@ -182,7 +182,7 @@
Text(ConsumableCollected(Money1)): (
effect_type: Text(ConsumableCollected(Money1)),
effect_behaviors_data: [FadeOut(0.55)],
z_level: 10.0,
z_level: 909.0,
animation: (
direction: None,
frame_duration: 0.1,
Expand All @@ -197,7 +197,7 @@
Text(ConsumableCollected(Money3)): (
effect_type: Text(ConsumableCollected(Money3)),
effect_behaviors_data: [FadeOut(0.55)],
z_level: 10.0,
z_level: 909.0,
animation: (
direction: None,
frame_duration: 0.1,
Expand All @@ -212,7 +212,7 @@
Text(ConsumableCollected(HealthWrench)): (
effect_type: Text(ConsumableCollected(HealthWrench)),
effect_behaviors_data: [FadeOut(0.55)],
z_level: 10.0,
z_level: 909.0,
animation: (
direction: None,
frame_duration: 0.1,
Expand All @@ -227,7 +227,7 @@
Text(ConsumableCollected(Armor)): (
effect_type: Text(ConsumableCollected(Armor)),
effect_behaviors_data: [FadeOut(0.55)],
z_level: 10.0,
z_level: 909.0,
animation: (
direction: None,
frame_duration: 0.1,
Expand All @@ -242,7 +242,7 @@
Text(ConsumableCollected(GainProjectiles)): (
effect_type: Text(ConsumableCollected(GainProjectiles)),
effect_behaviors_data: [FadeOut(0.55)],
z_level: 10.0,
z_level: 909.0,
animation: (
direction: None,
frame_duration: 0.1,
Expand Down
2 changes: 1 addition & 1 deletion assets/data/items.ron
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
z_level: 915.0,
initial_motion: (
random_linvel: Some(((-100, 50),(100, 100))),
random_angvel: Some((-3.0, 3.0)),
Expand Down
Loading

0 comments on commit 39aebc6

Please sign in to comment.