Chuckya: Difference between revisions

Jump to navigation Jump to search
636 bytes added ,  10 December 2022
Added exact values to the Chuckya movement behavior and rephrasing
(Added rough movement behavior, awaiting precise measurement)
(Added exact values to the Chuckya movement behavior and rephrasing)
Line 20: Line 20:
== Behavior ==
== Behavior ==
=== Moving ===
=== Moving ===
Through all movement, Chuckya accelerates at a rate of 4 units/f up to a maximum of 30 units/f and slows down at the same rate
Chuckya's movement is composed of three different steps, which loop over and over again :
Chuckya's movement is composed of three different steps, which loop over and over again :
# Chuckya will turn to roughly face Mario
# Chuckya turns towards Mario in increment of maximum 1024 angular units until he is less than 4096 horizontal angular units in front of him or for 41 frames, whichever happens first
#* If Chuckya is already facing Mario and the angle to Mario is greater than 1024 units, it will rotate in by an increment of 1024 units towards him.
#* Even if Mario is already within 4096 angular units, Chuckya will turn for at least one frame toward Mario and will stop early if it reaches exactly 0 angular units
#* If the angle to Mario is less than or equal to 1024 units, it will turn until it faces Mario directly
# If Mario is in less than 2000 units laterally from Chuckya's home, Chuckya will chase forwards until Mario is behind a line perpendicular to Chuckya's forward direction
# Chuckya will chase towards Mario until the latter is behind a line perpendicular to Chuckya's forward direction, the chase will only happen if Mario is close enough to Chuckya
#* If Mario is more than 2000 units away from the home, Chuckya will turn back and move toward its home, modifying its speed until it reaches 10 speed, until it is within 500 units laterally, afterwhich it will instantly stop and wait for Mario to be within 1900 units of the home to turn again
# Chuckya will stop for a moment
# Chuckya will stop for 48 frames
 
Due to the way the engine functions, Chuckya's position will not be updated if Mario is more than 4000 units away from it, but its angle and speed will still update


This behavior is exploited in the [[A Button Challenge]] to have Chuckya drop at the start of the stage in Bowser in the Sky<ref>[https://www.youtube.com/watch?v=opnLYxrVWMc "The Chuckya Drop" by UncommentatedPannen]</ref>
This behavior is exploited in the [[A Button Challenge]] to have Chuckya drop at the start of the stage in Bowser in the Sky<ref>[https://www.youtube.com/watch?v=opnLYxrVWMc "The Chuckya Drop" by UncommentatedPannen]</ref>
Line 35: Line 38:
* The timer reaches -17
* The timer reaches -17


Once one of those conditions is met, Chuckya will throw Mario at its anchor point (Similar to Mario's [[HOLP]]). This anchor point is only updated when Chuckya is rendered, which open itself to [[Chuckya Wrong Throw]].
Once one of those conditions is met, Chuckya will throw Mario at its anchor point (Similar to Mario's [[HOLP]]). This anchor point is only updated when Chuckya is rendered, which opens itself to [[Chuckya Wrong Throw]].
== References ==
== References ==
<references />
<references />
577

edits

Navigation menu