Main forum > Tutorials
PeeJay's Game Programming Tutorial
AndyH:
Nice one Peejay.
WPShadow:
Really nice work!!!
BumbleBee:
Yes, excellent!
And i've just visited your site and i found some nice games. :)
Cheers
shaf:
PeeJay,
I'd like to add my thanks, started looking through the tutorials, very well done.
Cheers
Shaf
François Vanzeveren:
Hello,
I am reading PeeJay's Tutorial and adapt the first lesson to run on my GP2X-F100 (i.e. setting the screen resolution to 320x240
Here is the code:
--- Code: (glbasic) ---SETSCREEN 320,240,1
LIMITFPS 60
SETTRANSPARENCY RGB(0,0,0)
LOADSPRITE "player.bmp",0
GLOBAL px= 320/2 - 32/2
GLOBAL py= 240/2 - 32/2
WHILE KEY(01)=FALSE
DrawTheScreen()
WEND
END
FUNCTION DrawTheScreen:
DRAWSPRITE 0,px,py
SHOWSCREEN
ENDFUNCTION
--- End code ---
I loaded the following files on my GP2X in a folder /Projects/MyFirstGame/
MyFirstGame.gpe
player.bmp
I am using the demo version.
This is maybe an issue with the screen depth?
Thanks for your precious help!
Regards
François
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version