Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New extension: DayNightCycle #1308

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 4, 2024

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

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • 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)

Example file

gdevelop-example.zip

Extension file

DayNightCycle.zip

@github-actions github-actions bot requested a review from a team as a code owner June 4, 2024 14:09
@github-actions github-actions bot added the ✨ New extension A new extension label Jun 4, 2024
@github-actions github-actions bot mentioned this pull request Jun 4, 2024
3 tasks
@github-actions github-actions bot force-pushed the extension/Byson94/1307 branch 8 times, most recently from 34e4650 to 956d184 Compare June 9, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ New extension A new extension
Projects
Status: Needs review
Development

Successfully merging this pull request may close these issues.

1 participant