Jetpac laser problem

BlitzPlus Forums/BlitzPlus Beginners Area/Jetpac laser problem

Mick Farrow(Posted 2007) [#1]
Is it possible to retrieve temporary co-ordinates of a moving object & store (fix) them ? I am trying to do a version of Jetpac but cannot get to grips with the laser routine, if I fire a laser & then move the player the laser follows the player - Aaaggh!
Any help greatly appreciated!


Dabz(Posted 2007) [#2]
Basically, you should store the Y coordinate of the new laser, then use that to update it, instead of using the players Y position, which obviously, you are.

Something like this may give you the general jist on how to go about it:-




Mick Farrow(Posted 2007) [#3]
Thanks for help Dabz