Hello chat.
Today I will show you how to make blinking lights background!
It is a very good and beautiful background, so no more of my yapping, lets get to it!
Step 1: The Black Background
This step is as short as most new user guides short, but it is still important.
Grab a black barrier, and set the transparency to 1 and also make it have no border. Make it active on game start too.
Ahhh
What a beautiful demonstration of trending maps.
…
If you need an explanation for this one I will eat you.
Step 2: Blocks
What’s a guide without blocks?
It’s no fun to not code :(
Here is some base devices needed for this:
- Lifecycle
- 3x Triggers (If you use a repeater I will eat you :)
The Lifecycle is listening for the game start. It will then transmit on “starBlinkLoop.”
All triggers transmit on “starBlinkLoop” and trigger when receiving on “starBlinkLoop,” making each one a trigger loop! But each one has different delays. Mine are 2, 3, and 5 seconds. Also the triggers are not visible, and don’t have player collision enabled.
And each one has these blocks:
Explanation
When the game starts, it broadcasts on the channel “starBlinkLoop” which triggers the triggers because they trigger when receiving on that channel. Then the triggers broadcast on that same channel, which makes a trigger loop that repeats every x seconds. (x represents the delay.)
Then using blocks, it broadcasts a message on channel “deactivateStar” and then broadcasts a message on channel, “activateStar1”, “activateStar2”, “activateStar3”, “activateStar4” or “activateStar5”.
Step 3: Stars
Grab 5 texts. Make them white and have them have the text “+”.
Also make sure that each one is above the barrier layerwise and have a global content scope.
Have them all hide when receiving on “deactivateStar”.
But each one will have a special activation channel.
- Text 1 will activate on “activateStar1”
- Text 2 will activate on “activateStar2”
- Text 3 will activate on “activateStar3”
Notice the pattern? Do the same with texts 4 and 5.
Then copy each one over and over again Very fun times :D
Explanation
Each star deactivates on “deactivateStar” which is almost constantly. And each star activates on “activateStar1”, “activateStar2”, “activateStar3”, “activateStar4” or “activateStar5” after it is deactivated.
Result
Please do note, that the delays on triggers are customizable, and will change the stars change rate.
Exit Poll
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
(Removed the animation wiki poll, you can just add it in the animation guide.)
Conclusion
Now you can make a blinking lights background in GKC! And it doesn’t have to be lights, it can be penguins, Σ, and other things too! This is just a cool thing I found. <3
Happy Gimkitting!
~ @Bardy_2913