Browse Source

Begin work on animations

master
Forest Belton 2 years ago
parent
commit
aca8f1c2cb
3 changed files with 5 additions and 1 deletions
  1. BIN
      png/sprite/player-stand.png
  2. BIN
      png/sprite/player.png
  3. +5
    -1
      src/player.s

BIN
png/sprite/player-stand.png View File

Before After
Width: 32  |  Height: 16  |  Size: 213 B

BIN
png/sprite/player.png View File

Before After
Width: 16  |  Height: 16  |  Size: 158 B Width: 16  |  Height: 16  |  Size: 167 B

+ 5
- 1
src/player.s View File

@ -12,11 +12,15 @@ PLAYER_Y:: dw
PLAYER_DIR:: db
PLAYER_STATE:: db
PLAYER_FRAME:: db
PLAYER_VY:: dw
PLAYER_INV:: ds (2 * PLAYER_INV_SIZE)
Section "Player Code", ROM0
standSprites:
INCBIN "png/sprite/player-stand.2bpp"
spriteData:
INCBIN "png/sprite/player.2bpp"
@ -367,4 +371,4 @@ Player_AddInvItem::
; Remove item(s) from the player's inventory
; @param b Item ID
; @param c Item quantity
; @param c Item quantity

Loading…
Cancel
Save