startGame( expandFilename($Project::Game::DefaultScene) );
by rennie moffat · in Torque Game Builder · 06/19/2010 (8:13 am) · 3 replies
Hi guys, just a little TGB help for iTGB as the boards are a little busier over here, hopefully this is not a problem, but me, a rookie programmer, I do not know how to specify what my defaultScene is with this line, which is native in iTGB main.cs
This line takes me to the defaultScene (that is preloaded in iTGB) emptyLevel.t2d.
What if I want it to be level338AlphaT.t2d?
startGame( expandFilename($Project::Game::DefaultScene) );
This line takes me to the defaultScene (that is preloaded in iTGB) emptyLevel.t2d.
What if I want it to be level338AlphaT.t2d?
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#2
I used
startGame( expandFilename("~/data/levels/loadingScreen.t2d") );
and still just a black screen. loadingScreen.t2d is the correct file name.
:::?
06/19/2010 (11:29 am)
no luck. I used
startGame( expandFilename("~/data/levels/loadingScreen.t2d") );
and still just a black screen. loadingScreen.t2d is the correct file name.
:::?
Torque Owner Nikos Beck