Project Heartbeat

Project Heartbeat

Not enough ratings
Editor Script Runner Documentation
By EIREXE
   
Award
Favorite
Favorited
Unfavorite
Script runner
0.9 Introduced the ability to run your own scripts inside the editor, this is a much more advanced alternative to the Expression Runner.

Basics of scripting are included in the file that gets created when you add a new script, class reference is available below.

Please also read the GDScript Documentation:

https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_basics.html

Additionally, any GDScript built-in is available to use:

https://docs.godotengine.org/en/stable/classes/[email protected]

Keep in mind, all timing points inherit from HBTimingPoint, and all notes inherit from HBBaseNote

HBTimingPoint

Property name
Description
Type
time
Timing point timestamp, in milliseconds
int

HBBaseNote

Property name
Description
Type
position
Position of the note on screen (from 0,0 to 1920,1080)
Vector2
time_out
Time that passes since the note spawns to time, not used if auto_time_out is false
int
auto_time_out
If enabled, makes time_out be calculated automatically from BPM
bool
entry_angle
Angle the note comes from, 0 is right.
float
oscillation_amplitude
Amplitude of the sine wave the note follows.
float
oscillation_frequency
Frequency of the sine wave the note follows.
float
distance
Distance the note travels from spawning to target.
float
note_type
Note type of the note, see the NOTE_TYPE enum.
int (NOTE_TYPE)

HBNoteData

Property name
Description
Type
hold
Whether or not the note is an arcade style hold
bool

HBSustainNote

Property name
Description
Type
end_time
End time of the sustain
int
1 Comments
An Idol in Teal 13 Nov @ 7:39pm 
Oh boy, when you see what you can REALLY do in there...