Sokoban

Post gaming related scripts
abnuo
Posts: 4
Joined: 10 Aug 2023, 12:12

Sokoban

11 Aug 2023, 08:42

The classic game Sokoban, with tiny 8x8 graphics.
Attachments
AutoHotkey64_yQkKeEJ1vS.png
AutoHotkey64_yQkKeEJ1vS.png (3.23 KiB) Viewed 1214 times
sokoban.zip
Zip with all necessary files
(17.98 KiB) Downloaded 120 times
abnuo
Posts: 4
Joined: 10 Aug 2023, 12:12

Re: Sokoban

11 Aug 2023, 09:23

Oh, I forgot to say that you can press the S key to skip to any level, and the R key to reset.
abnuo
Posts: 4
Joined: 10 Aug 2023, 12:12

Re: Sokoban

11 Aug 2023, 09:29

And you also need the Gdip library for v2 from here https://github.com/mmikeww/AHKv2-Gdip
abnuo
Posts: 4
Joined: 10 Aug 2023, 12:12

Re: Sokoban

11 Aug 2023, 09:55

I forgot to reset the boxesrequired and boxesin variables in the loadLevel function. Updated sokoban.ahk below
Attachments
sokoban.ahk
(3.84 KiB) Downloaded 107 times

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 3 guests