For some unknown reason when my character clicks on a hotspot which is then meant to make an object visible, the object shows but some of the background still shows over it. How can I prevent this from happening?
Did you set the baselines of the object and the background's walkbehind areas properly ?
I'm pretty sure I did, but even so would that let the BG show through?
Yes. The walkabehind areas and baselines are used to determine whether a character or an object whould be in front of, or behind certain portions of the background.
If you want your object be always shown in full, set that object's baseline as low as possible.
Or set the object to ignore walkbehinds
Quote from: SSH on Thu 20/10/2005 13:19:14
Or set the object to ignore walkbehinds
That might fix it. I still don't know but I'll try.
I have a bed that I want to have always shown in full but have walkbehind on one side.
I'm still open for suggestions.
If the bed is an object, just don't draw a walkbehind! Clear it and then try moving behind. Yes, you did just see your character automatically walk behind it. Objects auto-determine where to walkbehind.
Elliott is right: walkbehinds are for where things walk behind backgrounds. If you have used an object sprite for the bed, don't bother with a walkbehind for it at all.
I have it so that there is a bed in the background but when you interact the object turns on. I couldn't find any problems with the code but it goes weird still.