
Сообщение от
Rindex
На этом всё, творите что хотите.
Dizzy Age был бы прекрасен... будь он портирован на JS... тогда бы в игры играло пол Вконтакта...
---------- Post added at 15:49 ---------- Previous post was at 15:48 ----------
женя999, вот оконная версия:
PHP код:
UsePNGImageDecoder()
InitSprite()
InitKeyboard()
OpenWindow(0, 0,0, 388, 462, "Pure Dizzy", #PB_Window_SystemMenu |#PB_Window_ScreenCentered )
OpenWindowedScreen(WindowID(0), 0,0, 388, 462, 0, 0, 0)
LoadSprite(0, "dizzy1.PNG")
LoadSprite(1, "dizzy pic.PNG")
TransparentSpriteColor(0, #Red)
SetFrameRate(16)
Repeat
Repeat
Event = WindowEvent()
If Event = #PB_Event_CloseWindow: End: EndIf
Until Event = 0
ExamineKeyboard()
FlipBuffers()
ClearScreen(#Black)
DisplaySprite(1, 0, 0)
ClipSprite(0, 0+dizzy_frame*25,66,24,32)
DisplayTransparentSprite(0, 220, 328)
Delay(1)
anim + 1
If anim = 2
dizzy_frame ! 1
anim = 0
EndIf
ForEver