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

Woop!

WHAT THE HECK!!? Why would you do that!????

Don't have any gameDev to show yet so here's some of my recent Pokemon Card pulls!

Madeline is the main protagonist of the mountain climbing platformer, Celeste. The game has been praised for its visuals, gameplay, and introspective narrative. The game's creator Maddy Thorson confirmed that Madeline is trans in 2020.

Need to find time to do this!

Happy Video Game Day!

July 8 is Video Game Day, a holiday that's obviously close to our hearts at Game Jolt.

Celebrate by completing our quests! They won't be around long, so get the rewards while you can.

It's not as good as when the player fishes, but NPC's can now fish in Fishponds. I need to set up some more variables to get the bobber to bob and to let them be able to cast the line.

Also animate the water...maybe add shader?

That's tomorrows job.

Charged Sticker Supporter Shrine for June!

LOOL Look at how slow these gifs are!

This tablet really is rubbish

Thank you all for the support, it really helps me out a lot! And a special thanks to @MomentaryUnicorn for the kofi!

@ryon is a Jolter to Watch, game dev, programmer, and artist who worked on Five Nights at Friedrich's! Follow @ryon before the quest ends on July 15 and you'll get Coins!

Woo! Finally got my Sun lion!

Hopefully I can get a Moon bat later this week!

Also this dummy, it's got spikes for eyes!?