VDP-noclip / noclip

NOCLIP is an experimental game in which you “noclip” the environment to solve puzzles.
3 stars 1 forks source link

Impose time limits and respawn when you loose #125

Closed spig95 closed 1 year ago

spig95 commented 1 year ago

Changes

How to use this feature??

The time limit can be changed as a serialize field in the AnchorCheckpointController, as shown in the screenshot below. If the time is 0, the puzzle will have no time boundaries. image

First timer GUI

image

spig95 commented 1 year ago

There is a bug still, the time is reset after switching from noclip to reality, need to work on it!

bottolo commented 1 year ago

I'm biased, but this is the best PR ever made.

TizioMaurizio commented 1 year ago

ahhhh a dumb proof explanation, exactly as i like them

TizioMaurizio commented 1 year ago

I hope the minor change I made is appreciated and didn't break anything, since the timer is quite important I made it quite bigger and moved away the speed meter that was indeed in the middle of the balls

TizioMaurizio commented 1 year ago

An important note, it would make sense for the timer to reset everytime we touch a checkpoint platform, otherwise everytime you fall you will have less time to complete the puzzle until you are respawned because out of time

bottolo commented 1 year ago

I hope the minor change I made is appreciated and didn't break anything, since the timer is quite important I made it quite bigger and moved away the speed meter that was indeed in the middle of the balls

Out of the balls updates are the best updates ever made.

An important note, it would make sense for the timer to reset everytime we touch a checkpoint platform, otherwise everytime you fall you will have less time to complete the puzzle until you are respawned because out of time

Haven't thought about that, I'll check in with Nicola to ensure this is the behaviour to be expected.

spig95 commented 1 year ago

I hope the minor change I made is appreciated and didn't break anything, since the timer is quite important I made it quite bigger and moved away the speed meter that was indeed in the middle of the balls

Out of the balls updates are the best updates ever made.

An important note, it would make sense for the timer to reset everytime we touch a checkpoint platform, otherwise everytime you fall you will have less time to complete the puzzle until you are respawned because out of time

Haven't thought about that, I'll check in with Nicola to ensure this is the behaviour to be expected.

I can implement that, shall I do it?

spig95 commented 1 year ago

I have implemented the requested changes by @TizioMaurizio and @AleDeNic, can you please check that is works as expected and, if so, close the PR?

TizioMaurizio commented 1 year ago

I have implemented the requested changes by @TizioMaurizio and @AleDeNic, can you please check that is works as expected and, if so, close the PR?

Good for me, it works also with time equal to 0 by giving you unlimited time, I'll approve and let Ale check it too