In this advanced video tutorial I show you how to make a slider in gamemaker studio.

What is the idea behind here?
This is rather a planet (stage) selection slider then the regular menue user interaface slider. But in the end both are in their structure quite similar.

To understand this specific approach all you need to understand it that 3 planets are being drawn and when moved their postion is being changed but at the endpoint resetted to the startposition. At the same time the indexes of those planets are being shifted one positon. On the outside it looks the same but the trick is here to hotswap indexes to get this illusion of a selection wheel.

Ease function found here:
https://www.patreon.com/posts/3-ease-functions-29019361

Planets used in thumbnail and video by
CraftPix.net 2D Game Assets Orga by 3.0
https://opengameart.org/content/sci-fi-icon-pack-pixel-art

▶ Gamemaker Studio: https://www.yoyogames.com/get

▶ Trial limitations: https://help.yoyogames.com/hc/en-us/articles/230407528-GameMaker-Studio-2-Trial-Limitations


🎮 My free game Clunky souls:
https://1up-indie2.itch.io/clunky-souls

💓 My assets:
Get some assets at itch.io https://1up-indie2.itch.io/

👑 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

1up Indie

View all posts

Add comment

Your email address will not be published.