This vfx video tutorial shows you how to make a day and night cycle with two backgrounds in GameMaker Studio 2.

The idea is quite simple. You have a timer that runs up which is used to simulate the day cycle and there you have 2 overlaying background sprites. The top one gets it’s alpha reduced and when it his 0 a cycle is done plus the sprites attached to the background layers are being swapped for the next “line” of background sprites.

Article mentioned:
https://www.programmersought.com/article/14954636768/


0:00 Intro of the effect to clone
0:40 Subscribe
0:56 Concept explained
2:39 Setting up and coding
13:00 Optional: Where to get idea for gradients
13:40 Game shown: Despot’s game


👑 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)

1up Indie

View all posts

Add comment

Your email address will not be published.