Game Development Community

Designing for iTGB in TGB?

by Brandon Bercovich · in Torque Game Builder · 03/24/2009 (12:26 pm) · 6 replies

Designing for ITGB in TGB?


I’ve been reading about how to making a game for the iPhone in TGB then porting into iTGB and it sounds pretty straight forward. What my questions is how should I setup TGB to be like an iphone environment since I want to finish the general design of my game and make sure the art assets look right at that size.

I know iPhone’s resolution is 480 by 320 and I assume I’m doing this wrong because when I go to options and try to change the Design Resolution to 480 x 320 it reverts to 640 by 480 which I’m assuming is the lowest TGB does. I did set the Camera Width and Height to 480 x 320 but I’m new to TGB so I’m not sure if that is right. Is there away to setup this environment to be the same size as the iPhone screen? Also is there a special iTGB splash screen that is needed when you release a game on the iPhone or is it just a TGB splash screen and where do I find one for the iPhone resolution.

Thanks for any help,
Brandon

#1
03/24/2009 (2:28 pm)
The next version of TGB will let you set a lower resolution, or so I understand. But there's nothing stopping you now from setting up your gui and sceneWindow to be 480x320 and designing accordingly.

Porting from TGB to iTGB is about as simple as explained. iTGB is a little harder to get going out of the box. But once it's up and running, it's not much effort to port over. The iTGB forum has enough help on there to get you moving.

iTGB comes with its own splash screen. I don't know if you can download it somewhere.
#2
03/24/2009 (3:33 pm)
@Chris

Thanks for your reply as I mentioned I a little new to TGB are you talking about changing Extent = "X Y"; inside gui/mainScreen.gui to 480 320? or are you talking about a differnet location?
#3
03/24/2009 (5:45 pm)
Not a problem. Yup, the extent value for your sceneWindow in mainScreen.gui should be it,
#4
06/01/2010 (10:56 pm)
Hello i changed the widht and height of the camera but it stills looks bigger than the iphone screen
#5
06/02/2010 (12:11 pm)
Yes, in the new version is posible.But i think that screen size at 480x320 looks bigger than an iphone size on my PC. is it related with the 163 ppi of the iphone?
#6
06/02/2010 (8:00 pm)
I think you can use also the resource I posted while ago for T3D as the c++ source code is also compatible with TGE. This will allow you to have still large window with small one for the test of your game.