Editing
Comment
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Advanced === Comments can affect a level's behavior if supplied with certain text. These are known as '''comment commands''', and take the form <code>()=>command(arguments)</code>. They function similarly to custom methods, and some comment commands also have equivalent custom methods. <code>()=>create(CustomParticles/HitExplosion, X, Y)</code> Creates a hit explosion. Only supported on room 1. <br>'''X''': x-position of the explosion, expressed as a percentage. (float) <br>'''Y''': y-position of the explosion, expressed as a percentage. (float) <code>()=>create(CustomParticles/leveleventexplosion, X, Y)</code> Creates an explosion of level editor events. Only supported on room 1. <br>'''X''': x-position of the explosion, expressed as a percentage. (float) <br>'''Y''': y-position of the explosion, expressed as a percentage. (float) <code>()=>shockwave(size, X)</code> Sets the size of heartbeat shockwaves. <br>'''X''': Size of the shockwaves. Default is 1. (float) <br>The equivalent custom method is <code>shockwaveSizeMultiplier = X</code>. <code>()=>shockwave(distortion, X)</code> Sets the amplitude of the distortion of heartbeat shockwaves. <br>'''X''': Amplitude of the distortion. Default is 1. (float) <br>The equivalent custom method is <code>shockwaveDistortionMultiplier = X</code>. <code>()=>shockwave(duration, X)</code> Sets the duration of heartbeat shockwaves. Note that each row can only have one active shockwave at a time. <br>'''X''': length of the shockwaves. Default is 1. (float) <br>The equivalent custom method is <code>shockwaveDurationMultiplier = X</code>. <code>()=>trueCameraMove(RoomID, X, Y, Duration, Ease)</code> Moves the "in-world" camera. This camera is used to pan around themes that extend beyond the edges of the screen (Train, Basement, Roller Disco, Hospital). <br>'''RoomID''': Affected room, from 0-3. On-top is not supported. (int) <br>'''X''': x-position of the camera, in pixels. (float) <br>'''Y''': y-position of the camera, in pixels. (float) <br>'''Duration''': duration of the animation. (float) <br>'''Ease''': easing used for the animation. (enum) <code>()=>wavyRowsAmplitude(RoomID, Amplitude, Duration)</code> Sets the amplitude of displacement for the Wavy Rows vfx preset. <br>'''RoomID''': Affected room, from 0-3. On-top is not supported. (int) <br>'''Amplitude''': Amplitude of the row displacement. Default is 15. (float) <br>'''Duration''': Duration in which the amplitude gradually changes from the old to new value. (float) <br>The equivalent custom method is <code>room[RoomID].wavyRowsAmplitude = Amplitude</code>. However, the custom method lacks a Duration argument and cannot be used for gradual changes.
Summary:
Please note that all contributions to Rhythm Doctor Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
RDWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
Canadian English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information