How to change the color of your Appel level
How to change the color of your Appel level
December 6, 2024
After creating a custom level with the Appel Level Editor, you might want to change its color to give a touch of style to your creation ✨.
This tutorial is precisely intended to explain the two ways through which you can easily do this operation. Both the methods are shown in a video ▶️ where what is written is executed in practice.
Method 1: the "normal" way
When using the original version of Appel, the easiest way (that is probably the only existing one 🤔) to change the color to your level is to go inside the code and exploit the HUE and HUE #2 variables. These variables can immediately be found as soon as you enter the game: in fact, Griffpatch already prepared them for us on the top right ↗️ of the code of the first sprite (the "Blank" sprite) and they are set to the color values of Level 9.
The HUE variable defines the color of the ground 🌱 and of most of the objects that are solid 🧱. Besides, it also decides the color of a few entities and unsolid elements (I won't make a list here; you can check by yourself what changes its color and what not).
Instead, the HUE #2 variable identifies the color of the background and of a few other things, like spikes (but only the intensity) or 4-squares indicators 🪟.
The HUE and HUE #2 variables can include values between 0 (the default green) and 200. All values in the middle represent different styles of green🟢, blue🔵, purple🟣, red🔴, orange🟠, yellow🟡 and green🟢 again.
Mathematically speaking 🔢, this concept can be expressed in this way:
If a color is a result of HUE = n, then you'll find the exact same color whenever HUE = n + 200k, k∈Z
Therefore, you just need to set HUE and HUE #2 to a certain value depending on the color you want the ground and the background to be. And that's it!🤓 While running the game only the ground color will be changed after clicking the two-blocks code, but if you copy 📝 the level code and load it again, you will notice that also the background color will have changed (if you set a value different from 0+200k, obviously).
Video Tutorial:
Video no.1
Method 2: the "easy" way
If you're "lazy" 😮💨 and don't want to spend time doing the previous operation, you simply have to switch to another Appel version 🔄. Instead of changing the color using the HUE and HUE #2 variables in the original Appel, you can use Appel Multiplayer: the benefit of using it is that its Level Editor offers a feature that you can't find in the normal game, which are the color slider bars 🕹️.
There are 2 sliders and each one can be used to change the HUE and HUE #2 variables respectively. If the bottom is on the left, the value is 0; if the bottom is on the right the value is 200.
This tool is very useful if you don't want to deal with codes 🧑💻 and it works both if you create a level in Appel and then load it into Appel Multiplayer or if you create it directly there 😃.
The only weakness of this method is preciseness: if you want to set HUE to a fixed value 📌 you can't rely on Appel Multiplayer's sliders, as the values of the variables are unknown while you use them (unless you uncover 🔍 them). If you want to maintain precision, you should therefore apply the first method.
Video Tutorial:
Video no.2
Extra: how to make your level black ⚫
You might have already seen and played black levels created by more experienced Appelers that have nearly indistinguishable tiles 🤨 and a smoky and grayish sky ☁️.
To get this result, you don't have to do anything illegal... kind of 😅.
For this purpose you need to use Method 1, which means you can't use Appel Multiplayer's sliders, as they have values that are only and exclusively between 0 and 200. In fact, to get this effect you need to have a HUGE 🐋 value. This number is precisely a number that for Scratch is considered to be so big that is basically infinite ♾️. Scratch starts to do so when numbers are approximately larger than 10^100.
Obviously setting HUE or HUE #2 to such a huge number is a waste of time 🕞 if you write each single 0 singularly. Fortunately, there's another way to express this number, which is definitely much faster⚡. Since Scratch considers this number to be infinite, instead of typing the number itself, it's enough to set HUE to "Infinity". This input (if capitalized ⚠️) allows the system to understand that we are talking about something that according to Scratch can be considered infinite.
However, the system can't recognize exactly what number you've typed‼️and since Infinity can be considered to be whatever number from 0 to 200 summed to 200 times a massive number (n + 200k, where k is so big that independently of the value of n you always get Infinity as a result) Scratch explodes 🤯 and creates a color that is out of the range of its logic, which is precisely black ⚫.
It has taken me several hours of work to make this tutorial, so I hope it was interesting and useful to you!
Don't forget to follow me on Scratch!
The more you support me, the more I will be motivated to create other tutorials like this 😉
See you! 👋
TheGreatYo-Kai
1238077196Z68Z2Z17Z1Z10Z2Z18Z1Z2Z1Z17Z1Z18Z1Z21Z1Z20Z1Z17Z1Z2Z1Z18Z1Z20Z1Z68Z1Z86Z1Z68Z1Z18Z1Z21Z1Z68Z1Z20Z1Z17Z1Z68Z1Z86Z1Z68Z1Z18Z1Z2Z1Z20Z1Z17Z1Z21Z1Z68Z1Z20Z1Z18Z1Z17Z1Z21Z1Z2Z160Z21Z1Z17Z1Z20Z1Z10Z2Z2Z1Z21Z1Z20Z1Z2Z1Z68Z1Z18Z1Z2Z1Z21Z1Z17Z1Z18Z1Z2Z1Z21Z1Z17Z1Z21Z1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