iPhone Visual Simulator for T3D
by Frank Bignone · 05/01/2010 (7:11 am) · 3 comments
Some weeks ago, I posted some screenshot / video of Dog of Prey game which is using an iPhone visual simulator based on TGE / T3D in order to help us prototyping quickly our game on windows platform while using full screen editors.
I was also recently looking and working on adding support of OpenGL ES1.1/2.0 on T3D in order to push a little bit more this simulator. However today, I saw an important news that current release of iT3D is soon in QA in GarageGames thanks to Luma works. So I decided to stop working on the OpenGLES implementation and to wait iT3D to see how it was done and then merge it with my code.
Meanwhile, here I will like to share with all of you the code of our iPhone visual simulator. I think it might be also useful for all of you using T3D for some prototyping of iPhone game.
Some documentation about this tool and how to install it:
1. First create a new project using the T3D toolbox named iSim
2. Copy to the file inside the archive inside your home folder of T3D installation
3. Regenerate the build files of iSim project
4. Compile and run it; this should work
You can look at the file readme.txt which lists all the original files with a change.
Two important key binding:
* CTRL + BACKSPACE: this will switch from simulation to full screen mode
* CTRL + RETURN: this will hide / unhide the mouse
Regarding the touch implementation, left mouse button is a regular touch and right mouse button is considered as a tap touch.
I put also a small source code for the joypad support based on my current iDoP code.
Enjoy it.
I was also recently looking and working on adding support of OpenGL ES1.1/2.0 on T3D in order to push a little bit more this simulator. However today, I saw an important news that current release of iT3D is soon in QA in GarageGames thanks to Luma works. So I decided to stop working on the OpenGLES implementation and to wait iT3D to see how it was done and then merge it with my code.
Meanwhile, here I will like to share with all of you the code of our iPhone visual simulator. I think it might be also useful for all of you using T3D for some prototyping of iPhone game.
Some documentation about this tool and how to install it:
1. First create a new project using the T3D toolbox named iSim
2. Copy to the file inside the archive inside your home folder of T3D installation
3. Regenerate the build files of iSim project
4. Compile and run it; this should work
You can look at the file readme.txt which lists all the original files with a change.
Two important key binding:
* CTRL + BACKSPACE: this will switch from simulation to full screen mode
* CTRL + RETURN: this will hide / unhide the mouse
Regarding the touch implementation, left mouse button is a regular touch and right mouse button is considered as a tap touch.
I put also a small source code for the joypad support based on my current iDoP code.
Enjoy it.
About the author
Real programmers don't waste time recompiling; they patch the binary files... ... Real programmers don't waste time patching binary files; they patch memory.

Torque Owner Javier Canon