Skip to content

Commit

Permalink
Merge pull request #195 from cdsupina/boss-variants
Browse files Browse the repository at this point in the history
New Bosses and formations
  • Loading branch information
varoonp123 authored Jun 13, 2024
2 parents 51dd8f3 + eea029f commit 205a33e
Show file tree
Hide file tree
Showing 25 changed files with 2,589 additions and 266 deletions.
10 changes: 5 additions & 5 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 All @@ -17,7 +17,7 @@
max_spread: 1.57080,
projectile_gap: 3.14159,
)),
damage_multiplier: 5.0,
damage_multiplier: 3.0,
ammunition: Blast(Ally),
speed_multiplier: 2.0,
direction: 1.57080,
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
66 changes: 61 additions & 5 deletions assets/data/behavior_sequences.ron
Original file line number Diff line number Diff line change
@@ -1,30 +1,86 @@
(
sequences: {
Repeater: (
Ferritharax: (
behaviors: [
(
time: 10.0,
spawnable_behaviors: [MoveToPosition((0,175))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth],
control_behaviors: [RepeaterAttack],
control_behaviors: [FerritharaxAttack],
),
(
time: 20.0,
spawnable_behaviors: [MoveToPosition((175, 150))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth, SpawnMob("mobs-left")],
control_behaviors: [RepeaterProtectHead],
control_behaviors: [FerritharaxProtectHead],
),
(
time: 10.0,
spawnable_behaviors: [MoveToPosition((0,175))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth],
control_behaviors: [RepeaterAttack],
control_behaviors: [FerritharaxAttack],
),
(
time: 20.0,
spawnable_behaviors: [MoveToPosition((-175, 150))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth, SpawnMob("mobs-right")],
control_behaviors: [RepeaterProtectHead],
control_behaviors: [FerritharaxProtectHead],
),
]
),
MechaFerritharax: (
behaviors: [
(
time: 8.0,
spawnable_behaviors: [MoveToPosition((0,175))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth],
control_behaviors: [FerritharaxAttack],
),
(
time: 20.0,
spawnable_behaviors: [MoveToPosition((175, 150))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth, SpawnMob("mobs-left")],
control_behaviors: [FerritharaxProtectHead],
),
(
time: 8.0,
spawnable_behaviors: [MoveToPosition((0,175))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth],
control_behaviors: [FerritharaxAttack],
),
(
time: 20.0,
spawnable_behaviors: [MoveToPosition((-175, 150))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth, SpawnMob("mobs-right")],
control_behaviors: [FerritharaxProtectHead],
),
]
),
MechaSaucetron: (
behaviors: [
(
time: 7.0,
spawnable_behaviors: [MoveToPosition((0,175))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth],
control_behaviors: [FerritharaxAttack],
),
(
time: 20.0,
spawnable_behaviors: [MoveToPosition((175, 150))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth, SpawnMob("mobs-left")],
control_behaviors: [FerritharaxProtectHead],
),
(
time: 7.0,
spawnable_behaviors: [MoveToPosition((0,175))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth],
control_behaviors: [FerritharaxAttack],
),
(
time: 20.0,
spawnable_behaviors: [MoveToPosition((-175, 150))],
mob_behaviors: [DealDamageToPlayerOnImpact, ReceiveDamageOnImpact, DieAtZeroHealth, SpawnMob("mobs-right")],
control_behaviors: [FerritharaxProtectHead],
),
]
),
Expand Down
5 changes: 2 additions & 3 deletions assets/data/characters.ron
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
attraction_distance: 150.0,
attraction_acceleration: 15.0,
money: 0,
weapon_damage: 12,
ability_type: MegaBlast(5.0),
weapon_damage: 10,
projectile_speed: 800.0,
projectile_spawn_position: Local((0.0, 40.0)),
projectile_despawn_time: 1.0,
Expand All @@ -34,7 +33,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
30 changes: 15 additions & 15 deletions assets/data/consumables.ron
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
spawnable_behaviors: [BrakeHorizontal, MoveDown, AttractToPlayer],
consumable_effects: [GainHealth(20)],
consumable_behaviors: [ApplyEffectsOnImpact],
acceleration: (0.0, 3.0),
deceleration: (0.5, 1.0),
speed: (0.0, 100.0),
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
initial_motion: (
random_linvel: Some(((-100, 50), (100, 100))),
Expand All @@ -30,9 +30,9 @@
spawnable_behaviors: [BrakeHorizontal, MoveDown, AttractToPlayer],
consumable_effects: [GainMoney(3)],
consumable_behaviors: [ApplyEffectsOnImpact],
acceleration: (0.0, 3.0),
deceleration: (0.5, 1.0),
speed: (0.0, 100.0),
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
initial_motion: (
random_linvel: Some(((-100, 50), (100, 100))),
Expand All @@ -55,9 +55,9 @@
spawnable_behaviors: [BrakeHorizontal, MoveDown, AttractToPlayer],
consumable_effects: [GainMoney(1)],
consumable_behaviors: [ApplyEffectsOnImpact],
acceleration: (0.0, 3.0),
deceleration: (0.5, 1.0),
speed: (0.0, 100.0),
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
initial_motion: (
random_linvel: Some(((-120, 50), (120, 120))),
Expand All @@ -80,9 +80,9 @@
spawnable_behaviors: [BrakeHorizontal, MoveDown, AttractToPlayer],
consumable_effects: [GainArmor(1)],
consumable_behaviors: [ApplyEffectsOnImpact],
acceleration: (0.0, 3.0),
deceleration: (0.5, 1.0),
speed: (0.0, 100.0),
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
initial_motion: (
random_linvel: Some(((-100, 50), (100, 100))),
Expand All @@ -105,9 +105,9 @@
spawnable_behaviors: [BrakeHorizontal, MoveDown, AttractToPlayer],
consumable_effects: [GainProjectiles(1)],
consumable_behaviors: [ApplyEffectsOnImpact],
acceleration: (0.0, 3.0),
deceleration: (0.5, 1.0),
speed: (0.0, 100.0),
acceleration: (8.0, 8.0),
deceleration: (5.0, 5.0),
speed: (0.0, 120.0),
z_level: 15.0,
initial_motion: (
random_linvel: Some(((-100, 50), (100, 100))),
Expand Down
Loading

0 comments on commit 205a33e

Please sign in to comment.