Skip to content

Commit

Permalink
allow multiple weapons for mobs, upgrade shelly mob, increase difficu…
Browse files Browse the repository at this point in the history
…lty of waves
  • Loading branch information
cdsupina committed Jun 12, 2024
1 parent 3ed4dcd commit 54e45ee
Show file tree
Hide file tree
Showing 13 changed files with 463 additions and 116 deletions.
8 changes: 4 additions & 4 deletions assets/data/abilities.ron
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
(
charge_ability: (
slot: Two,
base_cooldown_time: 0.8,
base_cooldown_time: 3.0,
ability: (
action_time: 0.5,
incoming_damage_multiplier: 0.75,
incoming_damage_multiplier: 1.0,
impulse: 12000.0,
)
),
Expand Down Expand Up @@ -56,8 +56,8 @@
end: 1.25,
),
angle_range: (
start: 1.37445,
end: 1.76715,
start: 0.94,
end: 1.06,
),
)),
damage_multiplier: 0.8,
Expand Down
2 changes: 1 addition & 1 deletion assets/data/characters.ron
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
collider_dimensions: (4.0 , 5.5),
collider_density: 1.5,
character_type: Juggernaut,
health: 150,
health: 140,
shields: 10,
shields_recharge_rate: 0.75,
collision_damage: 15,
Expand Down
87 changes: 67 additions & 20 deletions assets/data/formation_pools.ron
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
(
formation_pools: {
"test": [

],
"easy": [
(
formation_spawnables: [
Expand Down Expand Up @@ -125,10 +128,6 @@
spawnable_type: Mob(Enemy(Shelly)),
position: (-150.0, 500.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (0.0, 500.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (150.0, 500.0),
Expand All @@ -143,10 +142,18 @@
spawnable_type: Mob(Enemy(CrustlingRight)),
position: (-150.0, 900.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (0.0, 800.0),
),
(
spawnable_type: Mob(Enemy(CrustlingRight)),
position: (0.0, 700.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (0.0, 600.0),
),
(
spawnable_type: Mob(Enemy(CrustlingRight)),
position: (150.0, 500.0),
Expand Down Expand Up @@ -359,29 +366,23 @@
weight: 1.0,
period: 6.5,
),
],
"hard": [
(
formation_spawnables: [
(
spawnable_type: Mob(Enemy(Shelly)),
position: (-250.0, 500.0),
position: (-125.0, 550.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (-150.0, 500.0),
position: (-75.0, 500.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (0.0, 500.0),
position: (75.0, 500.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (150.0, 500.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (250.0, 500.0),
position: (125.0, 550.0),
),
],
weight: 1.0,
Expand Down Expand Up @@ -439,27 +440,27 @@
formation_spawnables: [
(
spawnable_type: Mob(Enemy(Pawn)),
position: (400.0, 700.0),
position: (300.0, 700.0),
),
(
spawnable_type: Mob(Enemy(Pawn)),
position: (300.0, 650.0),
position: (200.0, 650.0),
),
(
spawnable_type: Mob(Enemy(Pawn)),
position: (200.0, 600.0),
position: (100.0, 600.0),
),
(
spawnable_type: Mob(Enemy(Pawn)),
position: (-400.0, 700.0),
position: (-300.0, 700.0),
),
(
spawnable_type: Mob(Enemy(Pawn)),
position: (-300.0, 650.0),
position: (-200.0, 650.0),
),
(
spawnable_type: Mob(Enemy(Pawn)),
position: (-200, 600.0),
position: (-100, 600.0),
),
],
weight: 1.0,
Expand Down Expand Up @@ -646,6 +647,52 @@
period: 5.5,
),
],
"hard": [
(
formation_spawnables: [
(
spawnable_type: Mob(Enemy(Shelly)),
position: (50.0, 450.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (-50.0, 450.0),
),

(
spawnable_type: Mob(Enemy(Shelly)),
position: (200.0, 500.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (250.0, 450.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (150.0, 450.0),
),

(
spawnable_type: Mob(Enemy(Shelly)),
position: (-200.0, 500.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (-250.0, 450.0),
),
(
spawnable_type: Mob(Enemy(Shelly)),
position: (-150.0, 450.0),
),
(
spawnable_type: Mob(Enemy(Pawn)),
position: (0, 800.0),
),
],
weight: 1.0,
period: 11.0,
),
],
"asteroids": [
(
formation_spawnables: [
Expand Down
26 changes: 13 additions & 13 deletions assets/data/mob_segments.ron
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@
),
],
}),
weapon: Some((
weapons: Some([(
reload_time: 1.0,
initial_time: 3.0,
fire_mode: Automatic,
Expand All @@ -637,7 +637,7 @@
size: 1.0,
sound: EnemyFireBlast,
),
)),
)]),
),
Enemy(MechaFerritharaxLeftArm): (
mob_segment_type: Enemy(MechaFerritharaxLeftArm),
Expand Down Expand Up @@ -694,7 +694,7 @@
),
],
}),
weapon: Some((
weapons: Some([(
reload_time: 1.0,
initial_time: 3.0,
fire_mode: Automatic,
Expand All @@ -715,7 +715,7 @@
size: 1.0,
sound: EnemyFireBlast,
),
)),
)]),
),
Enemy(MechaFerritharaxRightClaw): (
mob_segment_type: Enemy(MechaFerritharaxRightClaw),
Expand Down Expand Up @@ -974,7 +974,7 @@
),
],
}),
weapon: Some((
weapons: Some([(
reload_time: 1.0,
initial_time: 3.0,
fire_mode: Automatic,
Expand All @@ -993,14 +993,14 @@
end: 1.25,
),
angle_range: (
start: 4.51604,
end: 4.90874,
start: 0.9,
end: 1.1,
),
)),
size: 1.0,
sound: EnemyFireBlast,
),
)),
)]),
),
Enemy(MechaSaucetronLeftArm): (
mob_segment_type: Enemy(MechaSaucetronLeftArm),
Expand Down Expand Up @@ -1057,7 +1057,7 @@
),
],
}),
weapon: Some((
weapons: Some([(
reload_time: 1.0,
initial_time: 3.0,
fire_mode: Automatic,
Expand All @@ -1067,7 +1067,7 @@
damage: 5,
position: Local((-25.0, -70.0)),
speed: 300.0,
direction: 4.45059,
direction: 4.97419,
despawn_time: 0.8,
count: 6,
spread_pattern: Random((
Expand All @@ -1076,14 +1076,14 @@
end: 1.25,
),
angle_range: (
start: 4.51604,
end: 4.90874,
start: 0.9,
end: 1.1,
),
)),
size: 1.0,
sound: EnemyFireBlast,
),
)),
)]),
),
Enemy(MechaSaucetronRightClaw): (
mob_segment_type: Enemy(MechaSaucetronRightClaw),
Expand Down
Loading

0 comments on commit 54e45ee

Please sign in to comment.