Auroriax / PuzzleScriptPlus

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

Add movement commands for mouse clicks #99

Open david-pfx opened 1 year ago

david-pfx commented 1 year ago

The new movements are simply LCLICK, RCLICK, MCLICK. The movement is applied to every object in the clicked cell.

eg to make a click on a crate turn it into a fire: [ lclick crate ] -> [ fire ]

Nothing wrong with the existing mouse stuff, but this way is often simpler to use.