puzzlescript 1.8!

136 views
Skip to first unread message

Stephen Lavelle

unread,
Mar 27, 2025, 5:37:29 PMMar 27
to PuzzleScript

New in PuzzleScript 1.8:


Wanting to take a break from my main project, I decided to do some spring cleaning on Puzzlescript - it ended up being a whole week-and-abit of fun, and a quite big update!  I closed over 50 issues, and changed a *lot* of code (uh, apologies to anyone maintaining a fork…).  Here are some highlights:


#1066 autocomplete of right-hand-side of rules:

If you look closely, you’ll see it’s slightly smart!



#1077 Object rotations autocomplete: if your object name ends with one of “Up”, “UP”, “_up”, “_u”, “_U”, autocomplete will be suggested, with rotated sprites:


#1055 Performance optimizations! Puzzlescript was already just as fast as it needed to be, but I wanted to see if I could improve it further. I also worked on making the games load more quickly - puzzlescript now shows the title-screen much more quickly when you load up the page, and continues to do a bit of compilation in the background - this is very good!  Taking one heavy-duty game as an example: ‘At the Hedges of time’. It previously took 0.3 seconds to load the title screen, and now gets there in 0.1 seconds.



#1076 Light-mode:


#1075 CJK character support:


#1074 allow right-click on canvas (to easily copy screenshots)


#917 autosaves:


#1097 gamepad support (thanks to Dario Zubovic for the pull-request!)


#986 title screen now rejigs itself to slightly better handle longer game- and author-names.


#1070 fixes bug where you could have code like “[ player no player ]” on the right-hand-side of a rule. Now forbidden!


#1071 improved error messages for “player no player” style stuff on the left-hand-side of a rule also.


#1063 drag+drop txt and exported html files on editor to load them


#1067 code like “[ player no wall ]” will generate a warning telling you “no wall” is superfluous because player already occupies that collision layer. (This was v. tricky!)


#1032 correct behaviour if you defined player as “X AND Y” (challenge: make a game using this ^^ )


And many many other things.  Because of the magnitude of the changes, there are almost certainly some bugs that are going to slip through the cracks.  I will be very attentive to any bug reports people make for the next few weeks - either reply to me here, or on github if you notice anything! https://github.com/increpare/PuzzleScript/issues/new


Thanks to everyone for making + sharing such lovely games with PuzzleScript, and helping out with development. <3



Chris Pickel

unread,
Mar 27, 2025, 9:08:15 PMMar 27
to Stephen Lavelle, PuzzleScript
Played through a couple of my games, no issues. Looks good to me. Did I notice some new animation on the title screen too?

--
You received this message because you are subscribed to the Google Groups "PuzzleScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puzzlescript...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/puzzlescript/CAHBjq7%3DVT_jUpTmAbVqs%3D8tAnXFOUOAeug4ASq4uUmW7fF4YWg%40mail.gmail.com.

Stephen Lavelle

unread,
Mar 27, 2025, 9:32:12 PMMar 27
to Chris Pickel, PuzzleScript
>Played through a couple of my games, no issues. Looks good to me. Did I notice some new animation on the title screen too?
Thanks a lot for testing :) 

> Did I notice some new animation on the title screen too?
Noo you must be imagining things.  ^^

S

Sévan Kazandjian

unread,
Mar 28, 2025, 8:03:33 PMMar 28
to PuzzleScript
Thanks for the autosaves ! Recently lost some work due to crashes, a safety is most welcome :-)

Fyi, even though the gallery seems to work fine, the puzzlescript.net home page no longer displays three random games, at least on my phone.

Cheers,
Sevan

Stephen Lavelle

unread,
Mar 29, 2025, 12:51:12 AMMar 29
to Sévan Kazandjian, PuzzleScript
>Fyi, even though the gallery seems to work fine, the puzzlescript.net home page no longer displays three random games, at least on my phone.

Good catch - fixed! Thanks :)

Zayd Mohammed

unread,
Mar 30, 2025, 8:23:37 AMMar 30
to PuzzleScript
This is a HUGE step forward. Good job!
Reply all
Reply to author
Forward
0 new messages