Game Development Community

TorqueX 2.0 Maximum Sprites Displayed?

by David Helmer · in Torque X 2D · 05/14/2008 (6:23 am) · 2 replies

Right now I was just stress testing a puzzle game I'm working on, and I had added 76 falling puzzle pieces and when I add the 77th, the first puzzle piece disappears. This behavior continues as I add more. I checked the TorqueObjectDatabase, and the first puzzle piece doesn't seem to be any different. I then started unregistering the most recently added puzzle pieces and the previously invisible pieces began appearing. Is there some cap on the number of sprites displayed? Thanks for any help.


EDIT:
I just noticed that you can fix this by setting the Camera.FarDistance to 1000, is there an explanation of why this works?

#1
05/14/2008 (5:28 pm)
Check http://www.garagegames.com/mg/forums/result.thread.php?qt=71127

I'm pretty sure I identitfied the bug causing the problem. If you have Pro, you can fix it.
#2
05/14/2008 (10:02 pm)
FYI, neither fix works for me Scott. I can zoom in further before objects start disappearing, but they still disappear. FarDistance is the only 'fix' that seems to work on my game.