Game Development Community

TGB effects issue

by Angelo · in Torque Game Builder · 10/08/2009 (10:27 pm) · 1 replies

Hey guys,

The programmers on my development team are using TGB & iTGB to build an app for the iphone which is almost complete. The problem that we are running into is this. We have water effects for the game that are written for the iPhone (XCode). Our game involves sea creatures, and we want rippled water effects as the top layer for users to interact with. We don't know how to implement what we have from Xcode into the TGB or if this can even be done. Any suggestions? I appreciate the help!

-Angelo Rodriguez, Jr.

#1
10/08/2009 (11:47 pm)
I don't know about iTGB explicitly, but you can make custom objects in TGB. I typically copy the t2dStaticSprite and modify it to render my custom object (obviously, with OpenGL).

You can then modify the editor to add this new object, or you can just add it programatically when the scene is loaded. I typically will add the object manually into the level's .t2d file and then it is editable in TGB.