How to make a xp system

I have tried to make one before but am not that good at circuits :smile:

1 Like

Not to be rude but you should be more specific then “How to make a xp system” because it can change depending on your needs. If you could specify what you want then I can help but if you don’t I can’t for example do you want players to receive XP by the minute or do you want XP to be given after a challenge of sort you need to be more specific.

yes the system varies on what you want for example a time xp system or an objective xp system. If you let us know we would be happy to help you! :+1: @ripkingvonbd

1 Like

it is for a military game like I want to add where every 1 minute you get 1 xp, and you rank up by play, and the higher you get the harder it is to level up. @Corruda

This is a basic example. The XP integer variable executes every 2 minutes and the player gets 10 XP. Also if your gonna make a game please don’t make a military game people don’t really like those types of games and they can be hard to maintain I’d recommend doing something basic first.

3 Likes

Perhaps for good practice instead of having the 30hz wired to the delay (this will stack 3600~ delays on top of eachother until it’s canceled again.)
You can use this circuit graph instead to wait a set amount of time!

The “out” execution port on the “Last Timer Update” float variable would replace the “cancel” port on the original delay port.
The addition chip is used to set the amount of time to wait until the next execution.

This might be a tad unnecessary, but I hope someone finds it useful!

2 Likes

Do not use delay or else it will get laggy

2 Likes

Indeed your right that’s why I said “basic example” I know it can be laggy.

Can you elaborate a bit? What do you mean it will get laggy?

Sometimes the delay chip hooked up to a 30hz receiver causes slight lag on devices like android or Quest it’s not so noticeable on platforms like PC. As for PlayStation and Xbox I am not too sure.

1 Like

Did anyone remember that DeltaTime exists?