Bridge: Timers Extension
MBS Reborn
$38.50
$41.25
7%OFF
(no ratings)
Date |
Price |
---|---|
日時 |
価格($) |
02/23(2022) |
82.5 |
02/23(2022) |
41.25 |
05/02(2022) |
38.5 |
11/22(2024) |
38.5 |
Jump AssetStore
If your game uses timers for how long items take to grow; how long before construction completes; how long to get a new life... this kit is for you! Prevent cheating by tracking time on the server endOnce the WordPress plugin is installed on your website, all your current and future games are ready to implement uncheatable timers. You can either configure your timers in the inspector for 0 code setup or do so in 5 lines of code and you are done.Simply give your timer a:name ("Sample_name")a duration (say 1 minute per point)number of points to go through (sprout, grow, ready = 3 points)where to start from (0)...and your timer is ready. That easy. If the timer already exists then the value will be returned. If it doesn't exist it will be created and then returned with your initial values.Time is tracked on the server so players can change their system date as much as they want without it affecting your game. In the case of the example timer above, it will return 1,2 or 3 after 1,2 or 3 minutes since being created or reset irrespective of what the actual date or time is thus making it impossible to cheat.You have full control over the current and max values of each timer so you can even use it as a health system whereby players can be "upgraded" and receive and extra X number of max HP points and if they take damage you restore 1 HP every few minutes/seconds.The possibilities are endless. Anything that uses a timer across game plays can benefit from uncheatable timers. You can even link up to events that trigger each time the value changes.In my case, I like to write a local timer that updates itself every second and when it reaches 0 I contact the server again. the server always returns the correct number of seconds before the next point is reached so setting my local timer accordingly makes sure it never goes out of sync.Super simple to use: Can even configure timers in the inspectorCan be used for anything that uses a timerMakes cheating impossible since timers are maintained server sideTimers are created by "number of seconds till done" not via time, meaning changing the local time on devices will not have any impact on how long the timers will take to count downThe server is polled as little as possible, thus keeping your bandwdth cost down. I.e. if you create a 60 second timer you only need to contact it every 60 seconds. When you do, the server will respond with an accurate amount of time leftServer side data is updated passively meaning no constant/wasted server side processing resulting in excessive costsSince the timer returns how long it will take to complete the count down, you can display time as either a countdown or count up timer