try to get the image crash handled
This commit is contained in:
parent
0b6a963f34
commit
f2cd452d10
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
UsePNGImageDecoder()
|
UsePNGImageDecoder()
|
||||||
|
|
||||||
Procedure InitTileset()
|
Procedure InitTileset()
|
||||||
LoadSprite(#Tile01, DataPath+"gfx/tileset01.png")
|
LoadSprite(#Tile01, DataPath+"gfx/tileset01.bmp")
|
||||||
;ClipSprite(#Tile01, 0, 0, 16, 16)
|
;ClipSprite(#Tile01, 0, 0, 16, 16)
|
||||||
EndProcedure
|
EndProcedure
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@ If OpenWindow(0, 0, 0, Screen\Width, Screen\Height, title, #PB_Window_ScreenCent
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Debug CurrentState
|
; Debug CurrentState
|
||||||
|
|
||||||
; Handle the events for the current state
|
; Handle the events for the current state
|
||||||
GameStates(CurrentState)\HandleEventFun()
|
GameStates(CurrentState)\HandleEventFun()
|
||||||
|
|
Loading…
Reference in a new issue