You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create and export 3 floats "heat", "oxygen", and "atmosphere", with a min of 0 and max of 100.
Create and export 2 floats "cooldown" and "duration" with a min of 0
Accept an input via an exported variable by the name "planet" type "Planet"
Mechanics:
When the button is clicked.
If action is still in cooldown, ignore button press.
else
Start a cooldown timer and
apply the values from "heat" "oxygen" "atmosphere" to "planet" over a period of the "duration".
Note:
Make sure to adjust for delta time when applying values.
The text was updated successfully, but these errors were encountered:
I think that "TextureButton"s aren't what we would like to have. In texturebutton you have to create texture for each state separately, so if we want 6 buttons and we need at least 4 states, then it gives us 24 special textures for each button to work.
Creating normal button and just changing the icon would work. What do you think?
I think that "TextureButton"s aren't what we would like to have. In texturebutton you have to create texture for each state separately, so if we want 6 buttons and we need at least 4 states, then it gives us 24 special textures for each button to work.
Creating normal button and just changing the icon would work. What do you think?
That's a good point, disregard the "TextureButton" requirement, just use what you think works best.
GradyTheDev
changed the title
Create a "TextureButton" scene with the class name "TerraformButton"
Create a scene with the class name "TerraformButton"
Sep 12, 2023
Create and export 3 floats "heat", "oxygen", and "atmosphere", with a min of 0 and max of 100.
Create and export 2 floats "cooldown" and "duration" with a min of 0
Accept an input via an exported variable by the name "planet" type "Planet"
Mechanics:
When the button is clicked.
If action is still in cooldown, ignore button press.
else
Start a cooldown timer and
apply the values from "heat" "oxygen" "atmosphere" to "planet" over a period of the "duration".
Note:
Make sure to adjust for delta time when applying values.
The text was updated successfully, but these errors were encountered: