Rivals of Aether

Rivals of Aether

Shaymin Café
 This topic has been pinned, so it's probably important
DayBreak  [developer] 27 Mar, 2022 @ 3:45pm
Adding cameos to the window
Depending on the character picked, different characters can sit at the table. This is just how to add your own cameo.



The image itself
https://cdn.discordapp.com/attachments/451852949426274324/957769029504892968/windowcameo_base.ase

This is the template for the cafe chair. You can basically have your character do whatever you want in this space.

Adding the cameo
There's two values you're going to have to add to your characters init file. cafechair and cafeoffset. The first one is the sprite you want to appear in the window, and the second is how many pixels you want to move the menuitem. Though if you don't want it to appear, use the value of 36.5.

The third value, cafespeed, is completely optional. It sets how fast the cameo animates. The default value is 0.125, but if you want it to be something different, the option is there.

I've included the values below for copy-pasting into your own init file.

cafechair = sprite_get("windowcameo_[charactername]"); cafeoffset = [the amount in pixels to move the menu item]; cafespeed = [how fast you want the anim speed to be];
Last edited by DayBreak; 27 Mar, 2022 @ 3:45pm