Game Development Community

Basic Tutorial

by Fucifer · in Torque Game Builder · 05/31/2006 (11:33 am) · 1 replies

I have been play around with the Basic Tutorial (Shooter). I have edit it so the enemy ship fly from top to bottom shooting at you. Player shoot back kill the enemy. My question is, there a way to have the missle to shooter from certain point on the player ship. Thank you.

#1
11/03/2006 (2:52 am)
Well this is where you have te be a programmer :)

I you ahevent solved that problem here it is:
When shooting() You can place the spawn position of the missile, not just simply on playerShip.getPosition() but at playerShip.getPositionX() + %Xfactor, playerShip.getPositionY() + %Yfactor, or you can add vectors.