Sokoban

Post your R'n'D mini puzzle levels using LevelSketch here!

Moderators: Flumminator, Zomis

Post Reply
User avatar
Manuel
Posts: 2
Joined: Tue Mar 14, 2006 2:39 pm
Location: Germany

Sokoban

Post by Manuel »

fang q
Posts: 21
Joined: Fri May 23, 2008 8:02 pm

Post by fang q »

I thought I had it, but it is not quite so easy.

EDIT: Does anyone have the solution???
User avatar
AndrY
Posts: 4
Joined: Wed Oct 21, 2020 4:03 pm
Location: Russia
Contact:

Re:

Post by AndrY »

are these topics about finishing levels in mind?

fang q wrote: Wed Jun 04, 2008 6:31 am EDIT: Does anyone have the solution???
this puzzl is possible
User avatar
Holger
Site Admin
Posts: 4071
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Sokoban

Post by Holger »

are these topics about finishing levels in mind?
You can play them in mind (if possible), or you can copy them to R'n'D:

- click at the "reply with quote" button of the post that contains a level sketch
- copy the text representation of the level sketch to the clipboard using "Ctrl-C"
- click "back" to return to the post without replying
- open R'n'D and go to the level editor
- paste the level sketch by pressing "Ctrl-V"

In this case, you have to fix the player element (which was an old element code). I should fix this in the code...
this puzzl is possible
Yes, indeed. :-)
filbo
Posts: 647
Joined: Fri Jun 20, 2014 10:06 am

Re: Sokoban

Post by filbo »

I had forgotten about the paste-a-level feature.

Pasted this into the editor, it was nonfunctional -- everything turned to yellow emeralds as soon as I started play.

Pulled down the menu, set it to RnD rather than EMC engine. Started: the player character was a '?'.

So I switched to an RnD levelset, did the same -- still a '?'. At least I can play the level if I edit '?' to Rockford...

On paste, is there any possibility you could 'smell' the data and automatically recognize which engine it belongs to? It would probably be pretty heuristic, with some cases easily determined (e.g. only when interpreted for this engine is there a player character) and some cases impossible...
filbo
Posts: 647
Joined: Fri Jun 20, 2014 10:06 am

Re: Sokoban

Post by filbo »

Oh duh you said that :)

But still, auto-detect...?
User avatar
AndrY
Posts: 4
Joined: Wed Oct 21, 2020 4:03 pm
Location: Russia
Contact:

Re: Sokoban

Post by AndrY »

Holger wrote: Thu Oct 22, 2020 9:52 pm You can play them in mind (if possible), or you can copy them to R'n'D:

- click at the "reply with quote" button of the post that contains a level sketch
- copy the text representation of the level sketch to the clipboard using "Ctrl-C"
- click "back" to return to the post without replying
- open R'n'D and go to the level editor
- paste the level sketch by pressing "Ctrl-V"
wow, thx.
but really it need to install RnD firstly then:)
User avatar
Holger
Site Admin
Posts: 4071
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Sokoban

Post by Holger »

Regarding auto-detect on pasting a level sketch: Yes, that sounds sensible.

And should be fairly easy: Just check for all elements in the level sketch if they match a certain engine, and set the engine accordingly. (And map obsolete elements before doing that, just like it is already done when loading historic R'n'D level files.)
User avatar
Holger
Site Admin
Posts: 4071
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Sokoban

Post by Holger »

Just check for all elements in the level sketch if they match a certain engine, and set the engine accordingly. (And map obsolete elements before doing that, just like it is already done when loading historic R'n'D level files.)
Done! :)
filbo
Posts: 647
Joined: Fri Jun 20, 2014 10:06 am

Re: Sokoban

Post by filbo »

Yes, saw the comment elsewhere :)
Post Reply