SpeedChange - cwtickle/danoniplus-docs GitHub Wiki

English | Japanese

| < Audio Specification | Velocity change & Motions | Judgment specification > |

Velocity change & Motions

  • There are three main types of arrow velocity changes in Dancing☆Onigiri (CW Edition).
No Name Usage Overview
1 Overall gear shift speed_data Change the velocity of the arrow and freeze arrow on the screen. Setting the speed to zero will cause it to stop, and setting it to a negative value will cause it to run in reverse.
2 Individual acceleration boost_data Change the speed from the arrow and freeze arrow that is judged after the specified frame. The speed of arrows before that time remains the same. It is also known as overtaking acceleration, since an arrow coming from behind may overtake the arrow in front.
3 Motion option(Boost/Hi-Boost/Brake) Motionfrom Settings The entire trajectory of the arrow and freeze arrow is subjected to a motion of acceleration and deceleration.
  • The overall speed change and individual acceleration status can be checked on the velocity change graph.

Formula to move in 1 frame

  • ((initial speed from Settings) x (1: Overall gear shift) x (2: Individual acceleration) + (3: Motion from Settings (size)) x (3: Motion from Settings (direction))

Relationship between the amount of frames specified in the chart and the amount of frames generated by arrows and freeze arrows

  • The number of pixels advanced in each frame is held internally, and the total goes back as many frames as the first time the distance between the off-screen and step zones is reached.
  • If the number of pixels exceeds the distance between the outside of the frame and the step zone, the display is shifted by that number of pixels.

How to calculate the start position of drawing in individual acceleration

  • Arrows and freeze arrows are judged in the order in which they are generated.
  • This is to align the order of generation even in cases where arrows are overtaken by individual acceleration,
    Individual acceleration is achieved by expanding and contracting the travel distance of arrows and freeze arrows.

Specification of velocity addition in Motion option from Settings

  • When the Motion option is enabled, a uniform anomalous speed is added to the arrow flow speed according to its setting.
    Internally, g_workObj.motionOnFrames manages the amount of movement per frame.
  • When Motion "Hi-Boost" is set, the speed range to be added changes in proportion to the speed set by the Speed option.

Y-coordinate addition graph by Motion option

  • Boost has the same additive graph as Hi-Boost (1.5x).

Changelog

Version Change details
v38.1.0 - Added "Compress" and "Fountain" setting to Motion option from Settings.
v28.4.0 - Changed the formula for orbit addition in Motion option from Settings.- Added "Hi-Boost" setting to Motion option from Settings.
v23.1.1 - Changed the formula for orbit addition in "Boost" of Motion option from Settings.
v8.0.0 - Eliminate distinction between “speed_data” and “speed_change".
v1.0.0 - initial implementation

| < Audio Specification | Velocity change & Motions | Judgment specification > |