Skip to content

Commit

Permalink
updated hurtboxes to be reflective of character sprites, added new de…
Browse files Browse the repository at this point in the history
…v fighter asset
  • Loading branch information
odecay committed Aug 22, 2022
1 parent 3f10f91 commit 778c140
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/fighters/bandit/bandit.fighter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Bandit
size: [36, 52]

hurtbox:
size: [36, 12]
size: [36, 52]
offset: [0, 0]

stats:
Expand Down
2 changes: 1 addition & 1 deletion assets/fighters/big_bass/big_bass.fighter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Big Bass
size: [130, 176]

hurtbox:
size: [96, 32]
size: [96, 120]
offset: [0, -16]

stats:
Expand Down
2 changes: 1 addition & 1 deletion assets/fighters/brute/brute.fighter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Brute
size: [36, 58]

hurtbox:
size: [36, 12]
size: [36, 58]
offset: [0, 0]

stats:
Expand Down
Binary file added assets/fighters/dev/PlayerDev96x80.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions assets/fighters/dev/dev.fighter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Dev

size: [36, 48]

hurtbox:
size: [36, 48]
offset: [0, 0]

stats:
max_health: 600
movement_speed: 150

hud:
portrait:
image: portrait.png
image_size: [35, 35]

spritesheet:
#right now load/spawn selects a spritesheet randomly from all available.
#want to change this so that individual animations can be specified to correspond to ranges and spritesheet
#or maybe not
image: [PlayerDev96x80.png]
tile_size: [96, 80]
columns: 15
rows: 14

animation_fps: 0.12
animations:
idle:
frames: [0, 13]
repeat: true
running:
frames: [14, 19]
repeat: true
knocked_right:
frames: [85, 90]
knocked_left:
frames: [71, 76]
dying:
frames: [71, 76]
#spritesheet does not contain unique attack animation
attacking:
frames: [85, 90]

attack:
name: "punch"
damage: 35
frames:
startup: 1
active: 2
recovery: 4
hitbox:
size: [32, 32]
offset: [32, 0]

audio:
effects:
attacking:
87: flop.ogg
2 changes: 1 addition & 1 deletion assets/fighters/fishy/fishy.fighter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Fishy The Fearsome
size: [36, 48]

hurtbox:
size: [36, 12]
size: [36, 48]
offset: [0, 0]

stats:
Expand Down
2 changes: 1 addition & 1 deletion assets/fighters/sharky/sharky.fighter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Scrumptious Sharky
size: [36, 48]

hurtbox:
size: [36, 12]
size: [36, 48]
offset: [0, 0]

stats:
Expand Down
2 changes: 1 addition & 1 deletion assets/fighters/slinger/slinger.fighter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Slinger
size: [36, 48]

hurtbox:
size: [36, 12]
size: [36, 48]
offset: [0, 0]

stats:
Expand Down

0 comments on commit 778c140

Please sign in to comment.