Help with a-star tutorial
by Johnny Vo · in Torque Game Builder · 11/20/2008 (12:06 am) · 0 replies
Hi everyone. I just bought TGB indie and think its great so far.
I've ran into a problem with the A-Star tutorial. I can't get past the 1st tutorial page. So far this is what i've got:
1)
Added the bottom two lines to main.cs
exec("./gameScripts/paintMap.cs");
exec("./gameScripts/basicActiveMouse.cs");
2) Changed startGame line to read: startGame(expandFilename("game/data/levels/aStarTutorial.t2d"));
I can compile and run in torsion but the game screen shows no background ( i can move the mouse cursor around).
I also get this two error lines in torsion.
1)
game/gameScripts/basicActiveMouse.cs (4): Unable to find object: 'sceneWindow2D' attempting to call function 'setUseWindowMouseEvents'
2)
game/gameScripts/paintMap.cs (51): Unknown command getTileLayer.
Thanks!
I've ran into a problem with the A-Star tutorial. I can't get past the 1st tutorial page. So far this is what i've got:
1)
Added the bottom two lines to main.cs
exec("./gameScripts/paintMap.cs");
exec("./gameScripts/basicActiveMouse.cs");
2) Changed startGame line to read: startGame(expandFilename("game/data/levels/aStarTutorial.t2d"));
I can compile and run in torsion but the game screen shows no background ( i can move the mouse cursor around).
I also get this two error lines in torsion.
1)
game/gameScripts/basicActiveMouse.cs (4): Unable to find object: 'sceneWindow2D' attempting to call function 'setUseWindowMouseEvents'
2)
game/gameScripts/paintMap.cs (51): Unknown command getTileLayer.
Thanks!
About the author
Enlevel - Programmer. Games released with iT2D: Are You Quick Enough?, Coloring 4 Kids, Twistum