Cheap (easy) day and night cycle [GameMaker Studio 2 | Vfx]

Cheap (easy) day and night cycle [GameMaker Studio 2 | Vfx]

Channel:
Subscribers:
12,200
Published on ● Video Link: https://www.youtube.com/watch?v=V0OBN_vUkHo



Category:
Tutorial
Duration: 13:55
1,859 views
82


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)







Tags:
day and night cycle pixel art
day and night cycle gamemaker
day and night cycle gamemaker studio 2
day and night cycle pixel gamemaker tutorial
sky box gamemaker
background swapping gamemaker
layer_background_sprite
gamemaker background tutorial
gamemaker studio 2 background tutorial
gamemaker vfx tutorial
skybox gamemaker