Skip to content

[Feature Request] More script types #1

@level0dev

Description

@level0dev

First of all, really like mosi and I hope it will be developed more. Now that I have some free time I will start adding feature requests here :)

Currently there is only "say" script. To make mosi accessible, I can see other script types being blocks that you can add (instead of injecting code into dialogue). The blocks can be organized like code (so top one fires first)
The scripts I would like to see are:

  • DO: This is a big one that I would like to see. It would allow for changing attributes of other sprites. So this could be used to open doors or move a guard out of the way etc. This could be done by allowing removing sprites and adding sprites to a map, so a door1 (closed) becomes a door2 (open) or guard1 is removed from x,y and put on x,y-2. It would be also cool if we could change color palette, enabling, disabling wall, this kind of stuff. We could do that easily by allowing naming of spawned sprites, or by letting a player choose a sprite by clicking on it.
  • IF/ELSE - this would be followed by a condition of checking a var. You can move other code blocks under it.
  • GO (working like stepping on exit in Bitsy)
  • Create or update variable. Would be awesome if we could also create string variables
  • Play sound (for adding music, sfx)
  • also implementing bitsy like say list or shuffle would be nice.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions