Convert time to score

For my Heist game jam game I want to add a scoring system for how quickly you finish a level.

I tried figuring out how you would do that but I don’t know what to do

Could someone help me Pls

2 Likes

You could assign the starting time to a variable and when you finish the level get score based on a set value minus the difference between start time and time remaining.

1 Like


Here’s a code version, very similar to @Bilangus 's answer!

2 Likes

How ‘bout this?

Wow this is all really cool just one question, ARE THOSE COMMENT BLOCKS!!! how did you do that … wizardry no doubt

2 Likes

How much you wanna bet there were splash blocks underneath those comments

Creating a comment is simple actually

In blocks, double click and pick the “add comment” option

In JavaScript, type // and type away.

1 Like

:laughing: Thank you!! Just right click on the block and there’s an option to add a comment, after that I moved them to cover up the random block they were attached to. It’s my attempt at recreating Javascript’s inline comments!

1 Like

Ah, so it WAS WIZARDRY!!! But still a neat trick. I should honestly use the comment feature more often myself

1 Like

you could just right click the code space and then drag it

thank you

1 Like