How to move diagonal correctly [Game Maker Studio 2 | Basics] @1upIndie
How to move diagonal correctly [Game Maker Studio 2 | Basics]  @1upIndie
Uploaded April 2022 | Updated November 2026, 3 hours ago
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
opengameart.org/content/16xx16-tileset-pokemonzelda-styled

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


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



πŸ‘‘ Support me and get fresh game art and game maker projects every month:
patreon.com/1upindie

Follow me on:
πŸ“Έ Instangram: instagram.com/1upindie
🐦 Twitter: twitter.com/1upIndie
πŸ’¬ Discord: discord.gg/gvr98nb
πŸ“œ Udemy: 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
How to move diagonal correctly [Game Maker Studio 2 | Basics]Random ground generation [#2 Vampire Survivors Remake in GameMaker ]Text/dialog box - Quick and dirty with Scribble [GameMaker]Update V2022.9  [GameMaker Studio 2]Blinking player heart [#4 Remake Undertale in GameMaker ]Converting gml vs gml visual (dnd) [Game Maker | Basics]Is pixel  and high defintion art possible at the same time?  [Game Maker ]Inventory system to park your gear [GameMaker]
1up Indie |

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

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER