waterbearlang / moonshine

A programming language that maps nicely to blocks
2 stars 0 forks source link

Support sounds and costumes #10

Open dethe opened 2 years ago

dethe commented 2 years ago

Sounds can have at least two forms: SoundRef which contains a URL, and Sound, which is encoded directly into the file. We may also support things like Midi and ABC at some point.

Costumes can take CostumeRef and Costume which work like sounds, but there should also be a sprite-sheet interaction to bring multiple costumes in directly from a sprite sheet, either by reference or direct encoding.

Direct encoding should be preferred and there should be a way to convert from Ref to encoded.

Support for costumes that are embedded SVG should also be supported, and should be easy to connect to Shimmy.