Treadmill: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(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...")
 
mNo edit summary
Line 9: Line 9:
|found_in= [[Tick Tock Clock]]  
|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.
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==
==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.
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.

Revision as of 06:40, 31 May 2020

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.