CREATESCREEN doesn't work in GP2X

Previous topic - Next topic

bigsofty

Erm... thats it... just halts at 'Loading..."
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Kitty Hello

Thank you. Have to fix that.

Kitty Hello

Can you give an example? It seems to work for me.

bigsofty

Code (glbasic) Select
// CREATESCREEN
PRINT "Monitor", 0,0
GRABSPRITE 1, 0, 0, 64, 10

// Screen 0, Sprite 13
CREATESCREEN 0, 13, 32, 24
// Use screen for all output
USESCREEN 0
   PRINT "Offscreen", 10,10
   DRAWSPRITE 1,32,32
// Switch back to the window
USESCREEN -1

// Draw the screen
DRAWSPRITE 13, 0,0
SHOWSCREEN
MOUSEWAIT
END
...on a F200.
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Wild_Duck

Black screen on my F200 and F100 (I`m greedy)