Quote from: Khris on Sun 21/08/2022 14:13:41
The short answer to the original problem is to handle the objects separately. Don't nest the checks for the two items. Just write one, then the other.
To easily solve both issues, change the game in the following way:
- make the open fridge part of the background, but without the door
- place objects inside the fridge
- place closed door object on top (it will have a lower baseline by default so it'll automatically cover the other objects
- when the fridge is opened / closed, simply change the graphic of the door object. Due to the different positions this requires adding blank space to the closed door
Hello,
Thank you Khris this is clearly a better way, without using variables i really like it and will try very soon with another room.
Thanks again and i will show my next room using your method
EDIT:
Ok i understand now but anyways you gave me new ideas to try
