1 year 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

Woop!

I...I think the Fish Pond is working...

It's not as good as when the player fishes, but NPC's can now fish in Fishponds. I need to set up some more variables to get the bobber to bob and to let them be able to cast the line.

Also animate the water...maybe add shader?

That's tomorrows job.

Madeline is the main protagonist of the mountain climbing platformer, Celeste. The game has been praised for its visuals, gameplay, and introspective narrative. The game's creator Maddy Thorson confirmed that Madeline is trans in 2020.

Need to find time to do this!

Dive into the cozy post-apocalyptic open world of Critter Cove!

Gentleman Rat Studios (@GR-Rob ) describe it as “a little bit Animal Crossing, a little bit Stardew Valley. Maybe even a little bit Windwaker, too."

Wishlist the game: https://bit.ly/CritterCove

If you see this, post a bird.

Wa-hooo!

Thanks to my nephew I finally got my Lucky Shiny Koffing!

SO HAP

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

It won't let me