Game Development Community

About tilemap scroll and t2dObject movement

by Hugeone · in Torque Game Builder · 09/29/2005 (8:03 am) · 3 replies

In the game, the tilemap's size is 16000W*8000H. It can move around.
The picture follows as:
www.bihua360.com/t2d/keepCenter.jpg
I want the ship object keeping in the screen center. When the ship moves, that the ship haves speed and angel, the tilemap can scroll to keep the ship in the screen center.

If I set the ship have zero speed, the tilemap scrolls with the ship's speed. As this, the ship's collision does not process rightly.

About the matter ,please give me a suggestion. Thanks in advance.

-- HugeOne

#1
09/29/2005 (8:27 am)
Youd be better off mounting the camera to the ship object and leaving the tilemap alone.
#2
09/29/2005 (8:41 am)
@Corey

I have try to do it as what you said. But I meet some other matter. Please read the thread:

www.garagegames.com/mg/forums/result.thread.php?qt=34781,
please help me, thanks !
#3
10/04/2005 (6:47 am)
@everybody

About the matter, please give me a help. I am eager to solve it.
Thanks in advance.