Is it possible to make a level bar in game?

Maybe like a trigger loop and one trigger will have blocks like this

If "get property Xp"= 
Example number 99
Do "broadcast message on channel" "xp"
Notification: "send notification when receiving on xp

Blocks


Notification

this should work

1 Like

Do you want to send a Notification every time the player levels up or do you want the Notification to send when a player reaches a certain XP count?

If you want it to send every time the player levels up, connect the Property to a Notification.

(Property) Property value changes —> (Notification) Send Notification/Run wire pulse block.

The option is up to you.

JT solved the notification sending when the player reaches an XP count the post above.

Btw, you don’t need two triggers, just use a trigger that broadcasts on a channel and triggers on that same channel to create a loop

2 Likes

Ok Thanks guys one of you can you like sum this all up and combine it into one post(Kind of like a guide)? Thanks…

1 Like

Wait holdup it’s all in Coral’s guide I think

1 Like

Maybe, you could have a game overlay that adds one more of these characters every time it receives a broadcast from a channel.

maybe my could could help a little bit better?

There a game overlay to show, your xp, a notification system, and makes it so that everytime you level up, the amount to level up increases, making it harder and harder to level up.

I mainly looked at other help posts to see what people needed most

Also, in the posts about the level up notification thingy, I’m pretty sure there is a section for that in my guide

2 Likes

I would use a Game Overlay to track a certain item, the “XP”. Then, using Counters, once that item reaches a Target Amount, you “gain” a level.

that could get confusing, but great idea!

1 Like

If you followed my guide perfectly, make the notification appear on channel “level up”

1 Like

Yeah I realized that

That is a nice guide, I’ll make Coral’s first, then I’ll try yours.

Wait @Coral how do you make it so that once this reaches 5/5, it grants “xp”?
Screenshot 2024-01-11 11.19.23 AM

uhhh, in my guide you saw the part of the blockcode, make an “if” block, if the property you used for the books = 5, then grant xp, and deactivate the trigger using using channels, I will get a picture up soon

image
Make this be wired to an infinite repeater (repeater that stops on a channel, runs every 0.5 seconds, starts at the lifecycle device)
make the trigger deactivate when receiving on channel “Deactivate trigger”
(make the 50 the amount xp you want to give)
If this helps mark a solution

1 Like

@Coral Don’t worry I found another way for it to grant xp. Since I used a task bar that has a counter involved to get the task bar working, I just added a target value and made it grant xp once target value was reached. But thanks for the help Coral!

Also did you see the new terrain floors?

okay cool!

What? No?
edit: just saw it, works really well with RPGs maybe we will get a dungeon crawler game mode

1 Like

Who should I give the solution too?

I know the post has already been solved, but if you want a little extra flair, you could use literal progress bars by using solid vs dotted unicode characters or whatever. You can check out this site for ideas of bars you could do, and implementing it would just be a matter of rounding the percentage and using a bunch of if statements.

Coral is back?!??!?!?!?!?!

Coral you deleted your discord :frowning:

2 Likes

probably @Haiasi they helped you first

1 Like