Auroriax / PuzzleScriptPlus

Puzzlescript Plus: Open Source HTML5 Puzzle Game Engine (with lots of extra functionality)
https://auroriax.github.io/PuzzleScript/
34 stars 5 forks source link

Add new examples for all the merged forks #4

Closed Auroriax closed 3 years ago

Auroriax commented 3 years ago

I've recently added some examples to the editor for PS+ exclusive functionality, but someone on Discord requested more examples for the functionality of the other forks, and I agree because it can make PS+ much more accessible for people coming from vanilla Puzzlescript. However, most of my own projects are too complex to use as samples, so it might be nice to make some new projects especially for this. I'm adding it as an issue so people can contribute examples (if nobody jumps in that's fine, but it can take a while before I can get around to make all of these myself).

Ideally we'd have at least one example for each merged fork, probably more for complex forks. Here are my ideas:

In general examples should be around 300 lines max and generally fit the rest of the puzzlescript examples. These are not strict guidelines, but ideally I'd want something similar to these.

If you want to submit pull requests that's fine, but is is probably better for my workflow of adding stuff to the engine if you just put a share link in the comments here.

Cel-iki commented 3 years ago

Here is a very basic nonogram: https://auroriax.github.io/PuzzleScript/play.html?p=244caf239517397aedc31eaae4594e7f It uses the 6 mouse events (even if mouse up was not really needed). The sprites are 8x8 to keep it simple and not too ugly, so it's not pure PuzzleClick. Also used nosave but it might make sense to remove it and put a noundo instead.

Auroriax commented 3 years ago

Here is a very basic nonogram: https://auroriax.github.io/PuzzleScript/play.html?p=244caf239517397aedc31eaae4594e7f It uses the 6 mouse events (even if mouse up was not really needed). The sprites are 8x8 to keep it simple and not too ugly, so it's not pure PuzzleClick. Also used nosave but it might make sense to remove it and put a noundo instead.

Very nice! I've followed your suggestion to replace nosave with noundo as I noticed a couple of weird edge cases there. I've added it to the editor, thanks for your contribution! I think this suffices for the examples for Puzzleclick, since this example basically demonstrates all functionality already.

Auroriax commented 3 years ago

Just added new examples for the level select & local radius.

Cel-iki commented 3 years ago

I was wondering what would be a good idea for the local radius. It's quite smart to use limit the number of crates you can push with it.

Le mer. 2 juin 2021 à 22:25, Tom H. @.***> a écrit :

Just added new examples for the level select & local radius.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Auroriax/PuzzleScript/issues/4#issuecomment-853359722, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNYKIKTSIYGNLOVRA5ITSLTQ2HUVANCNFSM45PZ2PYQ .

Auroriax commented 3 years ago

Alright, I'm satisfied with the examples, and since there's been no activity lately I'm closing this issue.

@Cel-iki Thank you once again for contributing your example!