• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

move_towards_point() calculate speed.

R

Richard Mountain

Guest
I've gone through the Random Level Generation by HeartBeast and got it working with the arrow keys however I'm wanting to switch that out for using move_towards_point() and mouse clicking, but i'm not sure how to calculate the collision with the walls, because they're not objects because I'm using ds_grid for object location?
Okay so this question was poorly worded before, how about this.

Is it possible to calculate the vertical speed and horizontal speed when you use the move_towards_point() function.
 
Last edited by a moderator:
E

eldinhelja

Guest
Sorry, can you explain it further... I don't know what you want to achieve.
Details.
 
R

Richard Mountain

Guest
I've re worded my question, hope it makes more sense?!
 
Last edited by a moderator:
R

Richard Mountain

Guest
FYI
So it was vspeed and hspeed that I was looking for.
 
Top