2 years 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.



5 comments

Loading...

Next up

Re-worked the wall code for Caves and Ruins so I can have both tilesets at once, and made it so walls can't generate over the Teleporter/Stairs. Now I just need to figure out how best to stop areas getting blocked off (since you can only mine ore walls)

Charged Sticker Appreciation Post for September! Thank you all so much for your support, it means the world to me!

Oh wow, we got a 3 way tie for first place!

I hope you all are doing well and have an amazing GObtober!

Busy working on stuff, here's some previous gifs!

Doki Doki Literature Club is celebrating Monika's birthday and the 8th anniversary of DDLC with exclusive stickers, avatar frames and backgrounds on Game Jolt! 

Head over to the shop to collect yours 👉 https://gamejolt.com/#shop

#gjbroadcast

Adding particles to Grass and Tree interactions.

[shitty slow tablet gif]

Dive into the cozy post-apocalyptic open world of Critter Cove!

Gentleman Rat Studios (@GR-Rob ) describe it as “a little bit Animal Crossing, a little bit Stardew Valley. Maybe even a little bit Windwaker, too."

Wishlist the game: https://bit.ly/CritterCove

Got birthed

They got new cards in Pokemon TCGP, Let's do a 10 pull!

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

Woo!