-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add ability cooldown component and system * add components and bundles for standard weapon abilities and charge abilities * add necessary data for each ability currently in the game for its own component, give player outgoing damage system the base stats * remove old ability and weapon components and systems for player * rename to abilities.rs * add slot one and slot two ability type enums * spawn slot 1 and 2 abilities as children of player entity * move ability cooldown's to child ability entity * reorganize player ui, currently an issue with armor counters not showing * add new ui files * fixed issue consumables not being collected by, removeing WeaponComponent from the player query * add remaining ui * add constants for player ui * add constants for phase ui * add constants for level ui * remove unused imports * create spawn armor counter ui function in trait * add ability icons to ui assets, pass character information to player ui spawn functions * add ability slots to ui assets * add font to ui assets, use ui assets resource for spawning game ui instead of asset server * add AbilityValueUi over the top of ability icon ui * add system for updating abiltity charge value ui * rename PlayerInputs for player abilities * add event for activating abilities, add system for activating abilities * add system for handling standard weapon abilities * add start and update systems for charge ability * add cooldown multiplier to PlayerOutgoingDamageComponent, add system to scale ability cooldowns based on money collected * change names of tutorial to reflect ability slots * remove unused imports * add upgrades file * remove pub use * in player/systems/mod.rs * add structs for abilities that store minimum data in the ron abilities ron file * add doc comments to player * update text for collecting money and some juggernaut stats * add border gradient * adjust visibility of game ui, split player ui into three systems * limit visibility of player systems * remove copy from SpawnPosition * fix spawn position usage * move has_flipped_ui to implmentation * move update cooldown to implementation * remove unused code
- Loading branch information
Showing
48 changed files
with
1,829 additions
and
1,108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
( | ||
charge_ability: ( | ||
slot: Two, | ||
base_cooldown_time: 0.8, | ||
ability: ( | ||
action_time: 0.5, | ||
incoming_damage_multiplier: 0.75, | ||
impulse: 12000.0, | ||
) | ||
), | ||
mega_blast_ability: ( | ||
slot: Two, | ||
base_cooldown_time: 2.5, | ||
ability: ( | ||
spread_pattern: Arc(( | ||
spread_weights: (0.5, 1.0), | ||
max_spread: 1.57080, | ||
projectile_gap: 3.14159, | ||
)), | ||
damage_multiplier: 5.0, | ||
ammunition: Blast(Ally), | ||
speed_multiplier: 2.0, | ||
direction: 1.57080, | ||
despawn_time_multiplier: 1.0, | ||
size_multiplier: 5.0, | ||
count_multiplier: 0.5, | ||
sound: MegaBlastAbility, | ||
), | ||
), | ||
standard_blast_ability: ( | ||
slot: One, | ||
base_cooldown_time: 0.25, | ||
ability: ( | ||
spread_pattern: Arc(( | ||
spread_weights: (0.5, 1.0), | ||
max_spread: 1.57080, | ||
projectile_gap: 3.14159, | ||
)), | ||
damage_multiplier: 1.0, | ||
ammunition: Blast(Ally), | ||
speed_multiplier: 1.0, | ||
direction: 1.57080, | ||
despawn_time_multiplier: 1.0, | ||
size_multiplier: 1.0, | ||
count_multiplier: 1.0, | ||
sound: PlayerFireBlast, | ||
), | ||
), | ||
standard_bullet_ability: ( | ||
slot: One, | ||
base_cooldown_time: 0.3, | ||
ability: ( | ||
spread_pattern: Random(( | ||
speed_range: ( | ||
start: 0.75, | ||
end: 1.25, | ||
), | ||
angle_range: ( | ||
start: 1.37445, | ||
end: 1.76715, | ||
), | ||
)), | ||
damage_multiplier: 0.8, | ||
ammunition: Bullet(Ally), | ||
speed_multiplier: 1.0, | ||
direction: 1.57080, | ||
despawn_time_multiplier: 1.0, | ||
size_multiplier: 1.0, | ||
count_multiplier: 1.0, | ||
sound: PlayerFireBlast, | ||
), | ||
), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.