How to move diagonal correctly [Game Maker Studio 2 | Basics]

Channel:
Subscribers:
11,800
Published on ● Video Link: https://www.youtube.com/watch?v=y7SHWtjeqAM



Category:
Tutorial
Duration: 5:39
3,449 views
121


This basics video tutorial shows you how to move diagonally in GameMaker Studio.

The idea is quite simple. You see when moving diagonally your player/enemy is moving way faster then it is supposed to be. To avoid this you need to define when a diagonal movement is happening and ajust the movement speed for diagonally speed value by a factor of 0.707. That's it!


Graphics found here:
Gassasin CC3by
https://opengameart.org/content/16xx16-tileset-pokemonzelda-styled

Corey Archer CC0
https://opengameart.org/content/top-down-pokemon-esque-sprites


Video that show this with square root:
https://www.youtube.com/watch?v=9Fjke0xXBSw



👑 Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie

Follow me on:
📸 Instangram: https://www.instagram.com/1upindie
🐦 Twitter: https://twitter.com/1upIndie
💬 Discord: https://discord.gg/gvr98nb
📜 Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)


CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 What we will do
0:21 Subscribe
0:30 Theory how movement works in GameMaker
1:03 Normal way how to setup topdown movement
2:52 Solution for diagonal movement adaption







Tags:
game maker tutorial
game maker studio tutorial
gamemaker studio 2 tutorial
gamemaker diagonal movement
gamemaker diagonal movement tutorial
how to do the griddydiag
how to make diagonal movement gamemaker
diagonal movemement gamemaker studio
move diagonally gamemaker studio tutorial
move diagonally gamemaker tutorial
move diagonally gamemaker
move diagonally gamemaker studio
diagonal movement gms 2
diagonal movement gms