1 year ago

Ah ha! Emotes and GUI food is now Particles!
This is much quicker and cleaner! No random variables to keep track of and reset all the time!


Got rid of all the weird re-used variables.

At first I was using the ones for my cutscenes, but obviously that would cause issues if I needed to use both systems at once.

Then I swapped to using some of the Menu variables, but again that could cause issues down the line.
Now I'm just spawning them with the particle system and only need a variable to tell the GUI I'm doing emote stuff, and a timer to turn it off at the end.

[Start]

Create Food Particle

set Emote variable to "PREFOOD"

Set Timer and count it down

Create Emote Particle

set Emote variable to "FOOD"

Set Timer and count it down

set Emote variable to noone

[End]

If things end prematurely it's all fine, the emotes only draw when you're on those screens, and the timer and emote variable gets reset when you leave them.

If you eat another food before the last one is done, it clears the existing one. It would nice to have some sort of [Instant NOM] but there's really no time for it.

Might be worth changing the Emote variable to something like EmoteGUI so I can have both.



6 comments

Loading...

Next up

urgh why it gotta rain i want grass cats!

I WILL figure this damn bug out >:|

>:| One day I'll figure out why this square edge happens.

Our 2024 Advent Calendar has opened! Day 28: @Silentfaith is a great Creator and comic artist who also codes fan games! Accept the quest and give them a follow to get Coins and a seasonal sticker!

Well I manage to get a couple shinies in the car ride back from lunch so not too bad! Also, here's some TCG Pocket cards I got recently!

@AnubiArts is a Jolter to Watch! They post great pixel and low poly art! Follow them before the quest ends on December 31 and you'll get Coins!

Happy New Years everyone! I hope you're all having a great one!

ヾ( ˃ᴗ˂ )◞ • *✰

Spelunking update so far. Added new Events, updated the fade out/in, added loot lists. Still a few things to fix and improve like the UI.

For some reason image_speed is not always updating.

Our 2024 Advent Calendar has opened! Day 19: @SnowHexArt is a great Creator who creates pixel art including animations, assets, and more! Accept the quest and give them a follow to get Coins and a seasonal sticker!

I was working on showing Spelunky stuff, but turns out I didn't fix that surface bug, so back to trying to do that.

Current theory is that the surface is being destroyed and a path is being drawn instead?