GDevelop-extensions
GDevelop-extensions copied to clipboard
New extension: DayNightCycle
Description
This extension allows to make the day-night cycle in gdevelop easy. Finally able to use for 3d.
Author: @Byson94 Version: 1.1.4
How to use the extension
How to use the extension: •You are currently provided with 1 condition and 4 actions.
Action 1: This action with the name "start day night cycle" allows us to start the day-night cycle, and if you've saved it before with the save action then the game will load it instead. Remember to add no condition to this to make it work continuous. This action need a dark Sprite like a black coloured Sprite to simulate the darkness. Now we need to add how much opacity we adds to the darkness simulator Sprite, here you can add how much darkness we add every second.
Action 2: This action helps the user to start the game at night! And the one thing to remember in this action is to put the object that you used to simulate night darkness into the object sprite column.
Action 3 and 4:
These action are to save and clear saved data.
Things to remember in action 1: This action has a few things to remember. You have a few things to remember in this action. As you've given a Sprite to simulate darkness, DONT ADD THAT TO THE SCENE! This action is done by the action. NOW THE MOST IMPORTANT THING, YOU NEED TO ADD THE SPRITE THAT SIMULATE DARKNESS THE Z-ORDER THAT MATCHES YOUR GAME.
Checklist
- [X] I've followed all of the best practices.
- [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
- [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.
What tier of review do you aim for your extension?
Community (Unreviewed)