Skip to content

Puzzlescript Plus: Open Source HTML5 Puzzle Game Engine (with lots of extra functionality)

Notifications You must be signed in to change notification settings

Auroriax/PuzzleScriptPlus

 
 

Repository files navigation

Puzzlescript Plus is a fork of Puzzlescript by Increpare that attempts to gather a number of forks I often use for my own games, while extending the editor adding new features. NOTE that it is still in active development, and things might be buggy.

Access the editor here, or see the updated documentation on the new features. See the releases for a changelog.

This repo takes Puzzlescript v1.7 and mouse controls, custom sprite size, level select, a level solver, and a whole lot more! You should be able to import any game from vanilla PuzzleScript, or any of the forks below, and it should work out of the box (otherwise, please file a bug report)!

Here is the full list of merged forks and their authors:

Allows you to create objects on tiles the mouse interacts with. See README here.

Adds a solver that will automatically attempt to beat levels and report the solution. See README here.

Adds in variable sprite size, level selection, ability to use a base64-encoded font, and a few more things (including the smoothscreen patch by sftrabbit). More info here.

This adds a single feature that is especially useful for worlds that take place on gigantic maps. You can specify the radius around the player in which rules need to be checked. You generally don't need to use this unless you have a really big level, a ton of rules, and your game would otherwise run slowly.


Many more people have directly & indirectly contributed to PS+, so here's a list of everyone deserving special thanks:

  • TilmannR for contributing the goto command
  • minotalen for reporting bugs & helping write documentation
  • Cel-iki/BoredMatt for helping me make code examples
  • jcmiller11 for writing psUtil (that I adapted for the PS+ sprite upscaler tool)
  • ClementSparrow who is making their own cool Puzzlescript fork, from which I used the alternate Github authentication method!
  • MinoMe/Kalixtan for contributing sprite tweening!
  • And everyone that has made cool games using the tool! You can see a list of PS+ games in the Gallery.

Branches

master is the current state of the engine as is currently live. While develop is where new features & fixes are being worked on before they go live.

Contributing, Bug reports & Pull Requests

Want to help with reporting issues extending Puzzlescript Plus? Please note that I made this fork to help me with making cool games—although working on the engine is also fun, it's not my main focus. I'll pick up any bugs reported, but likely won't work on big feature requests, for the sake of my free time and engine stability.

Bug reports

If you find a bug, please report it! I'll resolve most of the bug reports, depending on the impact and severity. Please do note that the more info you can provide on the bug, the sooner you can expect it to be fixed! If the bug actually originated from any of the merged forks, I'll make sure the correct developer gets notified, so don't worry too much about that.

Feature requests

Generally for feature requests, I look at how useful a given feature is going to be and how much time it will cost to fully implement. Generally, I won't work on features that would take too long to implement, or are useful in only a limited number of use cases. If you are not sure about the scope, suggest it anyway! I might not pick up big features, but I might pick up bugs & smaller features that come out of such reports.

Pull Requests

PRs are a bit of a double edged sword for me— they are super fun to receive, but they always require a lot of work from me to QA before merging it in. So you are expected to adhere to the feature request rules for PRs too. Consider adding a feature request to the tracker, stating that you want to start working on a PR to implement it, so I can give you feedback & a green light before you start working on it. Otherwise, your PR might get closed without merging.

Help, I already have a fork of vanilla PS!

To make a PR when you already have a fork of vanilla PS:

  • Locally, add PuzzleScript Plus as an origin in your PuzzleScript repository.
  • Fetch and check out a branch from PuzzleScript Plus (likely develop unless instructed otherwise).
  • Now you can commit there, push it, and use that branch for PRs!

The original Puzzlescript project, and the code that I added on top of it, are both available under the MIT license. See the license text below. For features from other forks, please check their individual project page links in the list above to see their licensing information.


The MIT License (MIT)

Copyright (c) 2013 increpare, 2021-2022 Tom Hermans

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Puzzlescript Plus: Open Source HTML5 Puzzle Game Engine (with lots of extra functionality)

Topics

Resources

Stars

Watchers

Forks

Languages

  • JavaScript 92.8%
  • HTML 4.4%
  • CSS 2.4%
  • Other 0.4%