mirror of
https://github.com/blondie7575/GSCats.git
synced 2025-02-16 09:31:47 +00:00
Groundwork for fan weapon
This commit is contained in:
parent
cf6b75fe9e
commit
fb2c5b155e
BIN
Art/Fan_009.xcf
Normal file
BIN
Art/Fan_009.xcf
Normal file
Binary file not shown.
BIN
Art/fan_009.gif
Normal file
BIN
Art/fan_009.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 186 B |
BIN
SpriteBank00.bin
BIN
SpriteBank00.bin
Binary file not shown.
BIN
gscats.2mg
BIN
gscats.2mg
Binary file not shown.
@ -6,7 +6,7 @@
|
||||
;
|
||||
|
||||
|
||||
INVENTORY_ITEMS = 2
|
||||
INVENTORY_ITEMS = 3
|
||||
ITEM_WIDTH = 16 ; In pixels
|
||||
ITEM_HEIGHT = 16 ; In pixels
|
||||
ICON_WIDTH = 8 ; In pixels
|
||||
|
4
player.s
4
player.s
@ -20,7 +20,7 @@ playerData:
|
||||
.word 100 ; Anger
|
||||
.byte 8,"SPROCKET " ; Name
|
||||
.word 1 ; Base Sprite
|
||||
.word 0,5,0,0,0,0,0,0 ; Inventory
|
||||
.word 0,5,5,0,0,0,0,0 ; Inventory
|
||||
.word 0 ; Current weapon
|
||||
|
||||
.repeat 88
|
||||
@ -40,7 +40,7 @@ playerData:
|
||||
.word 100 ; Anger
|
||||
.byte 8,"TINKER " ; Name
|
||||
.word 0 ; Base Sprite
|
||||
.word 0,5,0,0,0,0,0,0 ; Inventory
|
||||
.word 0,5,5,0,0,0,0,0 ; Inventory
|
||||
.word 0 ; Current weapon
|
||||
|
||||
.repeat 88
|
||||
|
@ -55,6 +55,15 @@ projectileTypes:
|
||||
|
||||
.word 0,0,0 ; Padding to 16-byte boundary
|
||||
|
||||
; Fan
|
||||
.word 3 ; Damage
|
||||
.word 3 ; Crater radius
|
||||
.word 9 ; Frame 0
|
||||
.word 9 ; Frame 1
|
||||
.word 9 ; Frame 2
|
||||
|
||||
.word 0,0,0 ; Padding to 16-byte boundary
|
||||
|
||||
|
||||
PT_DAMAGE = 0 ; Byte offsets into projectile type data structure
|
||||
PT_RADIUS = 2
|
||||
|
@ -2,18 +2,18 @@
|
||||
|
||||
|
||||
DrawSpriteBank :
|
||||
ASL ; A=Sprite Number ($0000-$0008)
|
||||
ASL ; A=Sprite Number ($0000-$0009)
|
||||
TAX ; Y=Target Screen Address ($2000-$9D00)
|
||||
LDA SpriteBankNum,X ; Relative Sprite Number Table
|
||||
JMP (SpriteBankBank,X) ; Bank Number Table
|
||||
|
||||
SpriteBankNum :
|
||||
.dbyt $0100,$0000,$0500,$0200,$0300,$0700,$0400,$0600
|
||||
.dbyt $0800
|
||||
.dbyt $0100,$0000,$0600,$0300,$0400,$0800,$0500,$0700
|
||||
.dbyt $0900,$0200
|
||||
|
||||
SpriteBankBank :
|
||||
.addr SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00,SpriteBankBank00
|
||||
.addr SpriteBankBank00
|
||||
.addr SpriteBankBank00,SpriteBankBank00
|
||||
|
||||
SpriteBankBank00 :
|
||||
JSL $AA0000
|
||||
|
Loading…
x
Reference in New Issue
Block a user