GLBasic forum

Main forum => GLBasic - en => Topic started by: saboteur on 2007-Oct-05

Title: Noobie - odd info request
Post by: saboteur on 2007-Oct-05
I'm trying to do something a little odd and before purchasing GLBasic I want to know if you guys think it's possible.

The target device is the GP2X.

I want to display  3 different images but at such a speed that they look like one image to the naked eye ( display image1, clear screen display image2 etc ).

Sounds odd I know but Is this possible ??

Any and all help greatly appreciated.

Cheers
Title: Noobie - odd info request
Post by: Schranz0r on 2007-Oct-05
hi,
i think its possible ,
you can test it with the demoversion .
Title: Noobie - odd info request
Post by: Moru on 2007-Oct-05
I don't see why not, just do:

Code (glbasic) Select
LOADSPRITE "picture1.png", 1
LOADSPRITE "picture2.png", 2
LOADSPRITE "picture3.png", 3

WHILE TRUE

DRAWSPRITE 1, 0, 0
SHOWSCREEN

DRAWSPRITE 2, 0, 0
SHOWSCREEN

DRAWSPRITE 3, 0, 0
SHOWSCREEN

WEND
No need to clear the screen inbetween, unless you realy want a black screen between the pictures.

Only problem you might find is that it can be troublesome with long filenames and big/small letters in the GP2X so stay away from them both :-)