Rivals of Aether

Rivals of Aether

Scoop
 This topic has been pinned, so it's probably important
Flophawk  [developer] Jul 20, 2024 @ 1:32pm
Personalized Flavour Compatability Guide
Adding your own custom flavouris easy! Just add 2 lines of code to your init.gml

scoop_personalized_flavour_name = "Your Name Here"; scoop_personalized_flavour_sprite = sprite_get("Your Sprite Here");

In Sprites, just add a 32x32 image of your custom flavour! It can be any kind of frozen treat, so get creative! If you want some inspiration, try looking at the personalized flavours of the base roster!

(Style Note: Don't colourpick for edible parts of the sprite! That's kinda weird if you can eat something that 1:1 perfectly matches your colour! Inedible containers and such are fine to colourpick.)

If you don't like getting creative, you can also use one of the default sprites included with Scoop by setting your sprite to a number like so:

scoop_personalized_flavour_sprite = 1;

The included sprites are:
0 - A vanilla icecream in a normal cone.
1 - Pink icecream in a glass cup
2- Vanilla icecream in a bowl
3 - A red popsicle
4 - Two attached pink popsicles
5 - A blue slushie
6 - An icecream sandwich

Munch Detection (Advanced)
When someone eats the icecream, Scoop will have the variable taunt_eaten set to their player number. This can be used for whatever you want!
Below is an example of how to detect if you've eaten Scoop's icecream. The specifics of what code to run when you eat it are up to you. Doing anything at all with this isn't expected, and is just to enable an extra bit of fun!

Example of Munch Detection:

example_ate_scoops_icecream = false; //Optional //Checks every player object with oPlayer { //Detects if the current oPlayer is a Scoop, then checks if the player running this code ate his icecream. //HEADS UP! [taunt_eaten] will remain true until Scoop taunts again. if "is_scoop_fpt" in self && taunt_eaten = other.player { other.example_ate_scoops_icecream = true; //Sets this variable on the player running this code. (Optional) //You can also put code here to run on Scoop if you want. } } if example_ate_scoops_icecream { //Optional //Run code on your player. }
Last edited by Flophawk; Nov 21, 2024 @ 4:28pm