Only first player is being drawn once in "Draw Single Items" mode

Found a bug in R'n'D? Report it here!

Moderators: Zomis, Flumminator

Post Reply
Eizzoux
Posts: 307
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Only first player is being drawn once in "Draw Single Items" mode

Post by Eizzoux » Sun Feb 17, 2019 9:40 am

You probably know this little feature when you can draw Player 1 one as single element with "Draw Single Items", so when there already exists one Player 1, he gets replaced by empty space after drawing new one. But that only works with Player 1. I just think this feature should be fairly shared with all 3 other players (Murphy isn't counting since all other Murphys except playable one are getting replaced by Murphy clones). Also I think there could be same feature for Sokoban Field with player but replacing old one with Empty Sokoban field instead. Maybe that feature isn't really neccessary since all Sokoban Fields with players are getting replaced by Empty Sokoban Fields, not sure.
Honeycam 2019-02-17 17-10-23.gif
Honeycam 2019-02-17 17-10-23.gif (258.45 KiB) Viewed 511 times
Nothing in here...*

User avatar
Holger
Site Admin
Posts: 3225
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Only first player is being drawn once in "Draw Single Items" mode

Post by Holger » Sun Feb 17, 2019 6:42 pm

Oh well, this is indeed inconsistent behaviour that should have been fixed a long time ago.

Finally fixed now! Thank you for reminding me of this bug!

jkkk
Posts: 5
Joined: Fri Mar 01, 2019 8:33 am

Re: Only first player is being drawn once in "Draw Single Items" mode

Post by jkkk » Fri Mar 01, 2019 9:07 am

I have a bad message for you, Holger... It has been fixed only for 'Draw single items' tool. If you choose the other, the bug will appear again (it affects the yellow player as well - both normal and sokoban).

Checked on Android

User avatar
Holger
Site Admin
Posts: 3225
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Only first player is being drawn once in "Draw Single Items" mode

Post by Holger » Sat Mar 02, 2019 11:31 am

"The bug" in this bug report was the different treatment of the yellow player when using "draw single items" drawing mode when compared to the other three players.

All other modes just do not have this special treatment of making sure that there is only one player element in the level, and they are not intended to have it. So if you use "flood fill" mode, for example, the whole area will be filled with that player element (and I don't know exactly what would be the "right" behaviour in this case when trying to add some similar behaviour like in "draw single items" mode).

So, if you want to make sure there is only one player in the level, choose "single item" mode and draw the player element, and all other occurences of the player element in the level playfield will be removed.

Post Reply