Skip to content

Matto58/Moaicode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Moaicode

Moaicode is an unofficial interpreted programming language for https://thirtydollar.website.

Commands

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 between LoopPoint and Loop are gonna play
  • LoopPoint
    • Makes a loop point for the Loop command.
  • 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 speed
      • BPM 2 x will double the speed
      • BPM 120 = will set the BPM to 120

Introduced in 1.1:

  • <=>
    • Combines two sounds together.

Introduced in 1.2:

  • LoopOnce
    • Plays everything between a looppoint and this instruction.
  • Background <color> <fadetime>
    • Fades to #<color> in <fadetime> seconds.
  • Transpose <pitch> <direction +/->
    • Shifts all following sounds by <direction><pitch> semitones.
  • Pulse <amt> <every>
    • Pulses the screen every <every> beats <amt> times.
  • Divider
    • Adds a divider that separates two sound parts.
  • Target <id>
    • Creates a target with ID <id>.
  • GotoTarget <id>
    • Jumps to target with ID <id>.
  • StopSounds
    • Stops all sounds.
  • Flash
    • Flashes the screen.

About

Moaicode is an unofficial interpreted programming language for https://thirtydollar.website.

Resources

License

Stars

Watchers

Forks

Packages

No packages published