increpare / PuzzleScript

Open Source HTML5 Puzzle Game Engine
MIT License
903 stars 160 forks source link

Checkpoints don't work if there's an object named "checkpoint" #288

Closed quat1024 closed 7 years ago

quat1024 commented 9 years ago

The "Checkpoint" command doesn't work if there is any object named "Checkpoint", even if it's not used.

Here's a version of the example block pushing game that's supposed to make a checkpoint every time you move the box, but the transparent object named "checkpoint" prevents that from happening... http://www.puzzlescript.net/editor.html?hack=225a6d4dd732f5dbd554

Can be an issue in flick/zoomscreen games where having a physical "checkpoint" object allows the player to press r and not start from square 1 (like in http://auntiepixelante.com/mansion/ for example)

increpare commented 9 years ago

thanks! good catch! :P