I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: Realtime911 on February 25, 2015, 08:40:44 AM

Title: Moving Spike
Post by: Realtime911 on February 25, 2015, 08:40:44 AM
Can someone help me?, I can make an spike with an trigger that will keep moving, but I can't make a spike that only moves some pixels or blocks. How do I do it? any help will be appreciated
Title: Re: Moving Spike
Post by: infern0man1 on February 25, 2015, 10:44:50 AM
You could do something like, make it so that, when the spike hits a certain x/y coordinate, the v/hspeed of the spike is 0.

I have a much better solution, but can't remember it off the top of my head atm. I might post the code later today if I remember.