PocketMatrix forums

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

im kinda new to ppl

a few questions... · 15 Mar 2006, 05:04 UTC
okay, first off, PPL is awesome, its easy to use and a lot faster to test than Pocket GCC(although I try to use that too)

first, is there a way to use another graphics library, like edge with this? I would prefer using that instead of writing a full 3d engine in PPL's Game API...especially since I always get stuck when trying to do texture mapping...half of the tutorials I read make little sense...so Id prefer using Edge, Quark3D or PocketGL if possible.

second, how do I compile PPL files at runtime? and is there a way to compile in the background, like in another thread? I could probably adapt it to the thread example, but would that just run another program?

what I am trying to achieve here is a 3D game that can be almost fully scriptable, and will compile code at runtime and run them when needed, but I dont want the compilation to make the user have to wait for everything to compile every time he starts the game, as that would cause a bunch of people to pass by the game just because of long wait times.

anyways, Im rambling again.

thanks for any input,
~~~Zerotri~~~
zerotri · 15 Mar 2006, 05:19 UTC — whoops...
apparently I wasnt logged in when I posted...
stupid me...
but I forgot to add:
I am using PPL on an axim x30 and I am having a few problems...mainly when using the Game API demos...
it seems that the buttons are different on the Axim x30 then the ones used in the PPL examples.
could someone give me some advice on what I need to do to fix this problem? every time I run a Game API demo(except for maybe one) I cant exit, so I m forced to reset, and this problem is getting to be a pain.

thanks again, and sorry for posting within 5 minutes,
If I had just thought to log in, there was probably an edit button...oh well, rambling yet again...

~~~Zerotri~~~
Hi,

Thanks for your interest in PPL.

PPL is an interpreted language and cannot be compiled. However it can pre-compile your code files to speed-up the loading and compiling.

The compilation is fully transparent. PPL will know by itself when a code needs to be compiled. You can run PPL in quiet mode too which will never show the compilation bottom right windows.

To run a script in PPL, you can use the RUN() function or the EVAL() function passing the code you want to execute as a parameter.

You can definitely plug-in a new 3D graphic engine into PPL through a .dll. I can show you how to do this if you have the .dll file and the header files to go with it.

If you want real speed, you can use the PASM which is a cross-platform super easy assembler integrated right into PPL.

If you are using 0.9.6, it seems that this version is quite buggy with the GameAPI. There will be a newer version soon.