Game Development Community

Turrets and Tiles

by Wil Klentzeris · in Torque Game Builder · 04/06/2006 (1:19 am) · 4 replies

I am trying to add functionality to a wrapping vertical scroller that will allow turrets to be mounted to specific tiles.

The objectives I am shooting for are:
- have a turret placed on a specific point on a tile
- have the turret reappear with the tile when it reappears
- have the turret track the avatar's position as demostrated in http://www.garagegames.com/mg/forums/result.thread.php?qt=29581 (don't know how to define the activeTileClass)



There have been a few threads referencing turrets but no string example.

I am using the Beta 1.1 release.

#1
04/11/2006 (7:12 am)
Looking for the same information: my thread below ... if I get anything I'll let you know ... or work it out myself

http://www.garagegames.com/mg/forums/result.thread.php?qt=42658
Cheers
Damian
#2
04/11/2006 (11:46 pm)
A guy called Michael replied to my post ... he explains this well ... see ...
http://www.garagegames.com/mg/forums/result.thread.php?qt=42658
#3
04/12/2006 (7:05 am)
Damian,

Thanks for the response.

I have seen other posts in regards to pickTile.

My biggest obsticle is 'mounting' a sprite to a specific tile, whose layer is set to wrap, and have the sprite reappear with the tile.

I have tried creating an activeTile and using the returned object to mount to, but I get an error - Couldn't find/invalid object.
#4
04/12/2006 (9:07 am)
Damian,

Thanks for the response.

I have seen other posts in regards to pickTile.

My biggest obsticle is 'mounting' a sprite to a specific tile, whose layer is set to wrap, and have the sprite reappear with the tile.

I have tried creating an activeTile and using the returned object to mount to, but I get an error - Couldn't find/invalid object.