Page 1 of 1

Help with G_GETPIXEL

PostPosted: Oct 25, 2004 @ 5:14pm
by webba

PostPosted: Oct 25, 2004 @ 7:11pm
by kornalius
Did you call InitGameAPI() or G_INIT() before?

G_PIXEL() should work then.

PostPosted: Oct 25, 2004 @ 9:43pm
by webba
yes i called initgameapi().
im using the same program i PM'd you before the weekend. i have just added a routine to pick up the pixel color at the stylus co-ords when tapping in a pallete rectangle.

PostPosted: Oct 25, 2004 @ 11:22pm
by kornalius

PostPosted: Oct 25, 2004 @ 11:58pm
by kornalius

PostPosted: Oct 26, 2004 @ 1:24am
by fast_rx

PostPosted: Oct 26, 2004 @ 1:42am
by kornalius

PostPosted: Oct 26, 2004 @ 3:20am
by fast_rx
Hmmm... I had assumed that YOUR game framework (i.e. GameProc) automatically called PFrog's GetDisplay() and Update() automatically.

Is that not true?

PostPosted: Oct 26, 2004 @ 9:08am
by webba
Hi chaps,

Thanks for the help. Its working now with g_beginscene() and g_update().

At what level do these commands need calling? Should they bracket each seperate set of screen access?

PostPosted: Oct 26, 2004 @ 12:45pm
by kornalius