Game Development Community

Red background problem

by Aditya Kulkarni · in Torque Game Builder · 01/28/2010 (2:38 am) · 6 replies

This is highly irritating...when I use TGB, everything works fine and the level tilemap is displayed...when I execute the same file in torsion, the background is completely red (bright red...:( )

It's driving me crazy and am prettty sure I have developed lots of blind spots in my eye looking at that colour...help!

TGB:
img193.imageshack.us/img193/9947/tgb.png
Torsion:
img69.imageshack.us/img69/381/torsion.png

#1
01/28/2010 (6:43 am)
Press the ~ key to drop the console and scroll through it. Do you see any warnings or errors in there, especially any related to the tilemaps or graphics being used for the grass?
#2
01/28/2010 (7:05 am)
this is shown in both cases (TGB and Torsion) so i don't think this is a problem, just some loose ends...also, am able to retrieve the tile position and data just fine...

game/gameScripts/gui.cs (686): Unable to find object: 'tilemap1' attempting to call function 'pickTile'
game/gameScripts/gui.cs (689): Unable to find object: 'tilemap1' attempting to call function 'getTileCustomData'
game/gameScripts/gui.cs (698): Unable to find object: 'tilemap1' attempting to call function 'pickTile'
game/gameScripts/tiles.cs (32): Unable to find object: 'tilemap1' attempting to call function 'getTileSize'
game/gameScripts/tiles.cs (36): Unable to find object: 'tilemap1' attempting to call function 'getTileCount'
game/gameScripts/tiles.cs (40): Unable to find object: 'tilemap1' attempting to call function 'getPosition'
game/gameScripts/tiles.cs (11): Unable to find object: '0' attempting to call function 'setPosition'
#3
01/28/2010 (7:12 am)
Actually... hrm, if it's solid red, now that I think about it, I think that means there is a problem with rendering anything to the screen. When this problem occurs through Torsion, do you ever see anything in the game world display aside from GUI objects?
#4
01/28/2010 (7:15 am)
nope, not a thing...
#5
01/28/2010 (7:21 am)
if it's a rendering problem, shouldn't it occur with both the softwares?
#6
01/28/2010 (7:26 am)
It sounds like something isn't configured correctly / is loading incorrectly when running through Torsion, which is causing your graphical glitches.

If you want, feel free to email me your console.log at dave.calabrese@cerulean-games.com and I'll see if I can find anything tricky going on.