Tilemap not rendering in game
by Shawn Recinto · in Torque X 2D · 10/19/2007 (10:34 am) · 5 replies
Hey Guys,
I thought I may have seen a similar post around here but I was unable to find it to post one or look for an answer.
The problem is that I have added a tile map (to create terrain for a particular scene) and while it renders fine in TXB it will not render when I run the game.
Now to make sure i am refreshing correctly with visual studio I have added sprites to the scene after the tilemap and the sprites render but not the tilemap. I'm spinning my wheels trying to resolve this issue and am wondering if anyone else ran into it.
Below is the xml snippet from the txscene file
false
false
false
true
false
false
false
false
30
325.000
325.000
112.500
125.067
0
true
true
1
false
false
0.000000
0.000000
65
65
5.000000
5.000000
0
...Removed to save posting space...
I thought I may have seen a similar post around here but I was unable to find it to post one or look for an answer.
The problem is that I have added a tile map (to create terrain for a particular scene) and while it renders fine in TXB it will not render when I run the game.
Now to make sure i am refreshing correctly with visual studio I have added sprites to the scene after the tilemap and the sprites render but not the tilemap. I'm spinning my wheels trying to resolve this issue and am wondering if anyone else ran into it.
Below is the xml snippet from the txscene file
...Removed to save posting space...
#2
10/22/2007 (7:40 am)
I thought I would give everyone an update on this issue. We ran this on a desk top machine and another laptop with a better video card and the tile maps rendered correctly... To me, this seems like it is a possible bug in the Torque X Engine and I will reference this thread in the bug section.
#3
Intel Core 2
T7200 @ 2GHz
997 MHz, 992 MB of RAM
I know I know. It's still worth mentioning, though. Intel?
02/28/2008 (9:16 pm)
I'm having the same experience on a MacBook w/ Boot Camp.Intel Core 2
T7200 @ 2GHz
997 MHz, 992 MB of RAM
I know I know. It's still worth mentioning, though. Intel?
#4
-
true
I had a similar problem with a Dell Laptop and the above line fixed it for me.
03/02/2008 (9:05 pm)
In the torqueSetting.xml file place the following line:-
I had a similar problem with a Dell Laptop and the above line fixed it for me.
#5
I tried adding thetrue xml element in the torqueSetting.xml and it did not fix the issue I am getting on my laptop. I did read in one of the other sections of the forum that it may be related to a video cards that can only support shader 1.0 and TXB supports 1.1 and above. This is speculation as I am unable to find the exact thread that had it though.
03/03/2008 (8:44 am)
Thanks Kent,I tried adding the
Torque Owner Shawn Recinto
I was testing on a smaller tilemap (4x4) and enable collisions on individual tiles ans well as on the tilemap and in the in game screen I can collide with the tiles but they are not visible/rendered even though the tilemap is marked as visible and the visibility is 1.
Also to note... I saw a few posts discussing some laptops having issues with rendering things.
I am developing on a laptop (the game is being targeted to laptops as well as desk tops)
- Laptop is Dell Latitude D620
- Onboard video is the Mobile Intel(R) 945GM Express Chipset Family
- Video ram is 256mb
- My OS: Windows XP* Professional, Service Pack 2 (5.1.2600)
- DX version 9.0
- Machine RAM 1gb
- Processor: 2ghz Centrino Duo
Hopefully this info helps
Regards,
Shawn Recinto