Treadmill

From Ukikipedia
Revision as of 03:17, 31 May 2020 by Macrepeh (talk | contribs) (Created page with "{{Object_infobox |image=STROOP- TTC Treadmill.png |hitbox_type=surface |damage= |tangibility_radius=750 |interaction_type=none |surfaces= |related= Cog, Spinner, Pen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Treadmill
STROOP- TTC Treadmill.png
Hitbox Info
Hitbox

Collision involves triangles instead of a cylindrical hitbox

Tangibility radius 750
Interaction type none
Related
Cog, Spinner, Pendulum
Found In
Tick Tock Clock


The Treadmill is an obstacle found in Tick Tock Clock. When the Treadmill is active, it moves the floor under Mario, causing him to move with it. It comes in two sizes and, like other obstacles in Tick Tock Clock, its behavior is dependent on which setting the course is on.

Behavior

The first treadmill in processing order is responsible for playing sounds and calling RNG for the treadmills on the random setting. On the still setting, the treadmill does not move. On the fast setting, the treadmill has a speed of 100, which is then converted to a forward velocity of 8.4 units/frame. On the slow setting, the treadmill has a speed of 50, which is converted to a forward velocity of 4.2 units/frame. On the random setting, the treadmill will stay still for 5 frames and then accelerate to a chosen speed. When the time to switch has been passed, the treadmill's velocity goes towards 0 and a new time until the speed will change is chosen randomly from 10 to 130 frames. Then, the game chooses a sign and the treadmill's speed approaches either 50 or -50.