Moaicode is an unofficial interpreted programming language for https://thirtydollar.website.
Make sure to put a semicolon after every command! Before every command and after every semicolon, there must be either no space, a linebreak or a tab.
Sound [ID] [Pitch]
[ID]
is the ID of the sound to be played[Pitch]
is the amount of semitones of pitch of the sound to be played (this is now optional since version 1.0.1)
Loop [Amount]
[Amount]
is the number of times that the commands betweenLoopPoint
andLoop
are gonna play
LoopPoint
- Makes a loop point for the
Loop
command.
- Makes a loop point for the
BPM [Amount] [Action]
- This is fairly hard to describe with my not-so-good English, so I'll show you an example and I'll hope you understand:
BPM 50 +
will add 50 BPM to the current speedBPM 2 x
will double the speedBPM 120 =
will set the BPM to 120
- This is fairly hard to describe with my not-so-good English, so I'll show you an example and I'll hope you understand:
<=>
- Combines two sounds together.
LoopOnce
- Plays everything between a looppoint and this instruction.
Background <color> <fadetime>
- Fades to #
<color>
in<fadetime>
seconds.
- Fades to #
Transpose <pitch> <direction +/->
- Shifts all following sounds by
<direction><pitch>
semitones.
- Shifts all following sounds by
Pulse <amt> <every>
- Pulses the screen every
<every>
beats<amt>
times.
- Pulses the screen every
Divider
- Adds a divider that separates two sound parts.
Target <id>
- Creates a target with ID
<id>
.
- Creates a target with ID
GotoTarget <id>
- Jumps to target with ID
<id>
.
- Jumps to target with ID
StopSounds
- Stops all sounds.
Flash
- Flashes the screen.