Loading...
14
Game
Meikyuu
3 months ago

I got lazy for a couple days, my bad, but the gauge code is done, ta-da


for those who don't really understand what's going on is the HP bar in the bottom prints what percentage of HP is remaining through a set of 20 sprites with names that have a range from 0-100 with increments of 5 and it takes the HPPercentage variable which is found out by calculating the percentage of how much hp is full compared to the max

which is simply done with the tride and true Part/Whole x 100, and then rounding it, but since Scratch rounds with decimals only using the Modulo function set to 5 it'll find out what exact number is needed to reach the closest variable of 5 and then the script adds that modulo number to the percentage to round it to a variable of 5 to be used in displaying the proper HP gauge filling with the sprite using the join block with Join hp + "HPPercentage"



2 comments

Loading...

Next up

Our first Pride Month quests have begun! 🏳️‍🌈

Celebrate with us by completing these quests.

Unlock basic Pride backgrounds! Get Pride sticker packs! Earn Pride trophies!

@AnubiArts is a Jolter to Watch, pixel/low-poly artist, and a creator of Art Weeklies! Follow @AnubiArts on #GameJolt before the quest ends on June 3 and you'll get Coins!

no exit #pixel daily; miniature garden

In the quest for accessibility, I'm adding Resurrection Shrines for players on the 'novice' end of the platforming spectrum.

In order to unlock the power of a Shrine, you must collect 3 'Souls' from your dead corpses! (the floating blue orbs)

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

Microsoft Windows XP Unprofessional (windows logo prototype)

Today I tackled drawing different variations of facial expressions for one of the main characters in Eden. What do you think of it? :) Eden: https://gamejolt.com/games/Eden/592698

Szayel Aporro Granz - Bleach

not the greatest house, but it's a house! :D

Only true badasses may pass! #conceptart #art #gamedesign