2 years ago

Here's a little bit of insight into my UI Juice.


It's a really simple system, first I check for the button press, which is grouped into direction or confirm.

Then Instead of having the code repeated throughout the whole thing, if you can't go left or right I set a type value to "H", for up or down it's "V", if it's the confirm button it's "STILL".

I also have a temp value to determine the direction, forward or back stored as a 1 or -1, with an initial default as 0.

Then at the end of the button press code I run a script with those 2 values which reset and fires off a lerp.

The orientation tells it which value needs to be lerped, either Horizontal or the Vertical with the direction value being multiplied by the lerp amount to invert it if necessary.

The lerped value is then applied to the draw x/y or scale of the relevant UI part! THEN IT GOES BOING!



3 comments

Loading...

Next up

Tomorrow is Dynamax Water Doggo Day...

I hope I can catch a couple!

Fixed it

Oh gosh

✨️shiny✨️

Last week at LVL UP EXPO, we celebrated great games made by Jolters including Baldi's Basics Plus by @BasicallyGames !

Buy it on Game Jolt: https://gamejolt.com/games/baldis-basics-plus/481026

Thanks to Razer for providing the laptops and peripherals!

Reworked how NPC's find their Points of Interest and interact with them, here's the Archaeologist investigating the Ruins.

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

Score! Was a total pain to catch, but I managed to get a couple Dynamax Suicune!

Since I've added the Doctor NPC, I'm adding non-food based healing...do I have to figure out a new animation or just let the Goblins eat everything?

Edit: Fixed it! (gif 2)

Last week at LVL UP EXPO, Game Jolt celebrated great games made by Jolters including The Bunny Graveyard by @ElPichon !

Learn about the game: https://gamejolt.com/games/thebunnygraveyard/651214

Thanks to Razer for providing the laptops and peripherals!

Bumping March's Game Dev Progress Post because Aprils isn't ready yet!

https://gamejolt.com/p/atbalmut-goth-gobo-gamedev-progress-post-…

Thanks for all the support and interest, I really appreciate it!