diff options
| author | realtradam <[email protected]> | 2021-12-19 19:06:50 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-12-19 19:06:50 -0500 |
| commit | 844d8c194b48055ba60be4d185ad9ab688cce92a (patch) | |
| tree | 8058c12295b9a6e03a678be2b50b9b328291c0e0 /app/components | |
| parent | bd645871ff96a45c23c05f6fc7a82ac1e2749616 (diff) | |
| download | SteelWings-844d8c194b48055ba60be4d185ad9ab688cce92a.tar.gz SteelWings-844d8c194b48055ba60be4d185ad9ab688cce92a.zip | |
Bullets, Health, Collision systems implemented. Renamed plane sprites.
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/hitcircle.rb | 3 | ||||
| -rw-r--r-- | app/components/stats/collision_damage.rb | 2 | ||||
| -rw-r--r-- | app/components/stats/hp.rb | 2 | ||||
| -rw-r--r-- | app/components/teams/enemy_team.rb | 1 | ||||
| -rw-r--r-- | app/components/teams/player_team.rb | 1 |
5 files changed, 9 insertions, 0 deletions
diff --git a/app/components/hitcircle.rb b/app/components/hitcircle.rb new file mode 100644 index 0000000..7f60f01 --- /dev/null +++ b/app/components/hitcircle.rb @@ -0,0 +1,3 @@ +FF::Cmp.new('Hitcircle', + x: 0, y: 0, + r: 50) diff --git a/app/components/stats/collision_damage.rb b/app/components/stats/collision_damage.rb new file mode 100644 index 0000000..f915039 --- /dev/null +++ b/app/components/stats/collision_damage.rb @@ -0,0 +1,2 @@ +FF::Cmp.new('CollisionDamage', + damage: 10) diff --git a/app/components/stats/hp.rb b/app/components/stats/hp.rb new file mode 100644 index 0000000..1a6f996 --- /dev/null +++ b/app/components/stats/hp.rb @@ -0,0 +1,2 @@ +FF::Cmp.new('Hp', + health: 100) diff --git a/app/components/teams/enemy_team.rb b/app/components/teams/enemy_team.rb new file mode 100644 index 0000000..9d4e0d1 --- /dev/null +++ b/app/components/teams/enemy_team.rb @@ -0,0 +1 @@ +FF::Cmp.new('EnemyTeam') diff --git a/app/components/teams/player_team.rb b/app/components/teams/player_team.rb new file mode 100644 index 0000000..6e1b126 --- /dev/null +++ b/app/components/teams/player_team.rb @@ -0,0 +1 @@ +FF::Cmp.new('PlayerTeam') |
