Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] More script types #1

Open
Level0gamedev opened this issue Dec 7, 2018 · 8 comments
Open

[Feature Request] More script types #1

Level0gamedev opened this issue Dec 7, 2018 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@Level0gamedev
Copy link

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.
@zenzoa zenzoa self-assigned this Dec 7, 2018
@zenzoa
Copy link
Owner

zenzoa commented Dec 7, 2018

I am actually neck deep in a big refactor, one of the big reasons being... I want to support more scripts! A few of the ones you mentioned will supported in the next release, and a bunch more in future releases. (Though sounds is going to be hard because WebAudio support is a mess right now.)

@Level0gamedev
Copy link
Author

Awesome, can't wait to see the new version!
Audio would be nice, but not super crucial.

Would you rather have me to wait until the new version before submitting more feature requests?

@zenzoa
Copy link
Owner

zenzoa commented Dec 8, 2018

Feel free to keep requesting things if you're inspired! It's great to hear feedback.

@zenzoa zenzoa added the enhancement New feature or request label Dec 9, 2018
@zenzoa zenzoa closed this as completed Dec 10, 2018
@hacknorris-code
Copy link

i would add a string comparison and logic gates (or, xor, and, nand, not, nor...)
AND functions for getting list of items in one place when transparent sprites are on (for example its not possible to get if player is in air to transform it into ufo or smth...)

@hacknorris-code
Copy link

and also lists ofcourse... not only variables...

@hacknorris-code
Copy link

@zenzoa ;p

@zenzoa zenzoa reopened this Jul 18, 2022
@hacknorris-code
Copy link

okeh -w-

@maxoakland
Copy link

i would add a string comparison and logic gates (or, xor, and, nand, not, nor...)
AND functions for getting list of items in one place when transparent sprites are on (for example its not possible to get if player is in air to transform it into ufo or smth...)

That would be useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants