Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411471 Posts in 69369 Topics- by 58423 Members - Latest Member: antkind

April 23, 2024, 09:47:02 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperDesignControl misuse of special feature/power..
Pages: [1]
Print
Author Topic: Control misuse of special feature/power..  (Read 607 times)
indie11
Level 2
**


View Profile
« on: September 25, 2015, 03:43:13 AM »

I am making a game with a slow motion feature/power that is time based. The player can use it for 2seconds, and fill rate is 5seconds. My issue is that the player might misuse this feature by quickly turning the feature ON-OFF, so it's ON-OFF-ON-OFF and it goes on.
My solution : The player cannot activate the feature if the timer percentage is less than 25% (this sucks right?)

How can I contain this? Do you people have any suggestions? Thanks!

Logged

starsrift
Level 10
*****


Apparently I am a ruiner of worlds. Ooops.


View Profile WWW
« Reply #1 on: September 25, 2015, 03:45:46 AM »

Make it only usable once every five seconds instead of fiddling around with fill rates.
Logged

"Vigorous writing is concise." - William Strunk, Jr.
As is coding.

I take life with a grain of salt.
And a slice of lime, plus a shot of tequila.
Mariofan0
Level 0
***


Your Local Nintendo Fanatic


View Profile
« Reply #2 on: September 25, 2015, 03:49:20 AM »

Have the timer need to recharge, and add a delay after each use before the timer starts recharging.
Logged

You wanted a signature? Boy I bet you're dissapointed.
indie11
Level 2
**


View Profile
« Reply #3 on: September 25, 2015, 03:55:19 AM »

Make it only usable once every five seconds instead of fiddling around with fill rates.

Have the timer need to recharge, and add a delay after each use before the timer starts recharging.

Thanks a lot for the quick suggestions. The delay after each use will work perfectly  Smiley
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic