PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Errors after a GAPI run...

Hello, I am having problems with the GameAPI:
1. If I boot up PPL, and run a GameAPI program, the second time I run the program, I will get the error, "(simple.ppl) [syntax error at 'ORIENTATION_UNKNOWN' (4,9)]". I am pretty sure this is not one of my many coding errors, as the same thing happens with simple.ppl. If it helps any, I am running a Dell Axim X3 @ 300Mhz, w/o any of the ROM patches installed. I have to completely shut down PPL, and start it up again, in order to run the program.

2. G_SETPIXEL does not seem to work, either. It does not generate any errors, and the framerate decreases when it is supposed to be executing, but I see no changed pixels on the screen.

Thanks alot for all your help, and great job w/ PPL!
Hi,

1. This is known problem with the GameAPI, we are actively trying to fix this for the next release.

2. I will check it out and let you know.

Regards,
Kornalius
ok, i can send you some code in which G_SETPIXEL does not work,i f you want. It might just be my own stupidity!
Actually I think I know why the G_SETPIXEL doesn't work. PPL does clear the screen every frame. That is why.

You will need to wait for 0.4 (which should be out tomorrow). I have a code sample file with the G_SETPIXEL in there. It is a little more complicated that what you think I am sure. It is not your stupidity at all, it is the GameAPI in 0.3 which was not working great! :D

Regards,
Kornalius
Cool :lol: