Good evening!
Im currently trying to create a round based, top down shooter.
Ive developed a prototype to experiment around with round based movement. Using the 8direction movement I can prevent an object from moving after a certain amount of moving time. The problem I now ran into is that this method measures the time an object is moving not the distance. So when I for example try to move a little bit more carefully by tapping the arrow keys the object stops after a small distance due to the acceleration/decaleration which Counts as movement. Messing around with the values of acceleration/decceleration has not prevented this from happening.
my current Setup:
condition 1 (Measuring the Movement): If 8direction is moving -> add 1 to "moved"
condition 2 (Stopping the object after a certain amount of time): If "moved" is greater/equal than 120 -> set 8direction disabled + stop 8direction + set "nomoreactionpoints" to true
condition 3 (Starting a new round): If "nomoreactionpoints" is true + On "spacebar" pressed -> set "moved" to 0 + enable 8direction movement + toggle "nomoreactionpoints"
I hope that it is possible to understand what I am trying to say :)
Thanks for any help!