This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Help with G_GETPIXEL


Help with G_GETPIXEL

Postby webba » Oct 25, 2004 @ 5:14pm

webba
pm Member
 
Posts: 70
Joined: Jul 12, 2004 @ 9:55am


Postby kornalius » Oct 25, 2004 @ 7:11pm

Did you call InitGameAPI() or G_INIT() before?

G_PIXEL() should work then.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby webba » Oct 25, 2004 @ 9:43pm

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.
webba
pm Member
 
Posts: 70
Joined: Jul 12, 2004 @ 9:55am


Postby kornalius » Oct 25, 2004 @ 11:22pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby kornalius » Oct 25, 2004 @ 11:58pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby fast_rx » Oct 26, 2004 @ 1:24am

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby kornalius » Oct 26, 2004 @ 1:42am

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby fast_rx » Oct 26, 2004 @ 3:20am

Hmmm... I had assumed that YOUR game framework (i.e. GameProc) automatically called PFrog's GetDisplay() and Update() automatically.

Is that not true?
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby webba » Oct 26, 2004 @ 9:08am

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?
webba
pm Member
 
Posts: 70
Joined: Jul 12, 2004 @ 9:55am


Postby kornalius » Oct 26, 2004 @ 12:45pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Return to Pocket Programming Language (PPL)


Sort


Forum Description

Discuss this new development tool.

Moderator:

kornalius

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron