@torch timer/cooldown
One idea you could consider is having the torchlight slowly fade to off. When the torch is fully extinguished it gets stowed and you implement your "cooldown" as a recharge. You could get fancy with very little effort.
You could have summin like 100% to 10% charge is full power. Less than 10 and it becomes something like [brightness = fullBright*(currentBatteryLevel/beginDimBatteryLevel)].
I could be wrong but, Player(Pre/Post)Think is probably a good spot for the battery code. It doesn't seem like you are using any physics, so it probably doesn't matter which one.
After you do all that, all you have to do is make an entire map with long completely black corridors. The object of the game will be to see how long you can stay alive in pitch black waiting for batteries to charge. You could create your own genre of game. FPW - first person waiting.
# - "Why is the level pitch black?"
+ - "Just wait."
# - "Wait for what?"
+ - "For your flashlight batteries to charge."
# - "How long does that take?
+ - "Well, this is the first time you have played so, you really should let the battery charge uninterrupted for 12 hours. You know, to break it in properly."
One idea you could consider is having the torchlight slowly fade to off. When the torch is fully extinguished it gets stowed and you implement your "cooldown" as a recharge. You could get fancy with very little effort.
You could have summin like 100% to 10% charge is full power. Less than 10 and it becomes something like [brightness = fullBright*(currentBatteryLevel/beginDimBatteryLevel)].
I could be wrong but, Player(Pre/Post)Think is probably a good spot for the battery code. It doesn't seem like you are using any physics, so it probably doesn't matter which one.
After you do all that, all you have to do is make an entire map with long completely black corridors. The object of the game will be to see how long you can stay alive in pitch black waiting for batteries to charge. You could create your own genre of game. FPW - first person waiting.
# - "Why is the level pitch black?"
+ - "Just wait."
# - "Wait for what?"
+ - "For your flashlight batteries to charge."
# - "How long does that take?
+ - "Well, this is the first time you have played so, you really should let the battery charge uninterrupted for 12 hours. You know, to break it in properly."
Comment