5 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

I think this is the Crafting Menu redone? Unless I forgot something. Also no particles...

It defaults to auto selecting a stack based on your setting, but you can override if you have enough of an alternative.

Now I eat.

Used one of my 2 Remote Raid Passes (why are they so expensive?! ) and finally got an Origin Forme Dialga!

Also here's a shiny I got a couple days ago

I've got the UI done for the Converter Devices, and it I think my code for how they actually work is all in order too!

gon slep

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

Welp, I ended up working on the Save file system instead I got it updated to work with the Converter Devices update...but getting it to work with the NPC/Player changes is being difficult For some reason it's not applying the values >:/

Edit...wait it is?

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

Looking to redo the Building Menu, since if I redo the Enchanting Menu that means I gotta go back and redo the Equipment Menu I just redid... >:|

I think I'm done? This is all working as intended. Unless I've forgotten something? Meh, I need food. This will do for now! Next up, reworking the Crafting UI!

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

I got sick of getting nothing but duplicates, so I'm now only opening packs in Japanese so they'll eventually have trade value

Gimmie that dang Pikachu EX card already!!