10 months ago

(இ﹏இ`。) thank you internet stranger (இ﹏இ`。)


In game maker specifically you may use following:

		
			direction = point_direction(x, y, x+x_speed, y+y_speed) speed = point_distance(x, y, x+x_speed, y+y_speed)
		
	

(compare current and future x/y coordinates and return values)

Reverse the process to get x/y_speed:

		
			x_speed = lengthdir_x(speed, direction) y_speed = lengthdir_y(speed, direction) Note: Added this post because its still viewed in relation to Game Maker: Studio and its specific functions. Maybe it has no value for the person who asked originally but i hope it will help some Game Maker users who wander here
		
	


6 comments

Loading...

Next up

Adding Cat/Mouse ears to portraits was the greatest idea I've ever had.

LOOK AT HOW CUTE THEY ARE.

If I ever find the time I'll animate them..

Make a post celebrating a Creator with the tag #WorldCreativityDay ?

Hmm, how about @Victoree !

She is an incredibly talented artist, a pillar of the GameJolt community and a genuinely nice person who's kindness knows no bounds.

Send her some love!

Cutscene system rework is coming along nicely! Now I need to update the Chat system too so they can work together for story NPC's, otherwise they can only do smalltalk.

But now, I slep

Take care everyone, I hope you're all having a great week!

We have a question and we wanna know: What's the coolest easter egg you've ever seen in a game? Complete the quest and you'll get 100 Coins!

Smol

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

Yay! I took way too long to make these, especially with knowing how long it usually takes Game Jolt to approve Premium stickers.

But they're here now!

I hope they can bring some joy to people.

I'll do more if people want them.

This week's Fan Art Friday celebrates #CronosNewDawn

Accept the quest in your quest log to get started.

GJ Pro-Tip: Not sure what to make? Check out the game's Steam page for inspo: https://bit.ly/cronos-steam

Sorted! Really wish they'd put links to the accounts in the challenge instead of having to copy paste the names in to the search box