mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-11-25 15:32:59 +00:00
Checkpoint
This commit is contained in:
parent
3fce46872d
commit
bd1de7f83c
41
demos/tf4/Tiles.s
Normal file
41
demos/tf4/Tiles.s
Normal file
@ -0,0 +1,41 @@
|
||||
|
||||
TileData
|
||||
; Reserved space (tile 0 is special...
|
||||
ds 128
|
||||
; Tile ID 1
|
||||
; From image coordinates 0, 0
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
hex ffffffff
|
||||
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
||||
hex 00000000
|
@ -56,7 +56,7 @@ _Render
|
||||
jsr _RenderSprites ; Once the BG0 X and Y positions are committed, update sprite data
|
||||
|
||||
jsr _UpdateBG0TileMap ; and the tile maps. These subroutines build up a list of tiles
|
||||
jsr _UpdateBG1TileMap ; that need to be updated in the code field
|
||||
; jsr _UpdateBG1TileMap ; that need to be updated in the code field
|
||||
|
||||
jsr _ApplyTiles ; This function actually draws the new tiles into the code field
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user