#timer and kill counter for pvp game

41 messages · Page 1 of 1 (latest)

prisma bridge
#

Hi! I'm making a pvp and I can't figure out how to get kills to show up on the game board to see who's winning.

I also made a timer but for some reason it goes 2 seconds at a time only when I reset the room, once I touch the circuit it starts running normally

#

This is the mechanism I used

graceful dragon
prisma bridge
graceful dragon
prisma bridge
#

Oh

#

So, delete everything else?

prisma bridge
#

Do I just do subtract instead?

graceful dragon
prisma bridge
#

I don't think I can subteact the int variable timer with the delta time

#

Am I missing something?

#

@graceful dragon

graceful dragon
prisma bridge
#

The HUD element needs an int for the number input

#

Maybe if I put the timer outside the HUD?

#

Like on top of the map

#

For all to see

graceful dragon
# prisma bridge The HUD element needs an int for the number input

Ok

Divide the timer value by the max timer value (If default timer value is 60 seconds, divide by 60)
Current Timer / Max Time = Percentage of time left

Multiply this value by 1,000,000 and then ceil to int

Set the max value of the HUD to 1,000,000
Set the value of the HUD to the ceil to int value

prisma bridge
#

Tried using upper middle HUD but it said there was no max value for it so just settled for upper right

graceful dragon
#

they are bar values in the middle of the screen

#

I'd use secondary, its smaller

prisma bridge
#

Ah!

#

It's not a number I can show, it's the value on the slider

#

Alright

#

I can live with that

#

Oh and on the kill counter side of things

#

I don't have a custom combat system, it's just normal paintball guns and normal PvP game chip

graceful dragon
#

make custom game rules and combat

#

you dont need custom guns

#

just make custom combat (Health, Shield, Max Health)

prisma bridge
#

🙁

#

But it's hard to learn things

#

Ok for future reference, I found this

#

Gonna use it once I charge my headset

prisma bridge
#

Yeah no, I can't do custom combat

#

I need simple, easy to digest images