Complete noob alert!
I would like to have a sprite in the corner of the room change from a blank frame to a picture of a key when a key is collected in the game area of the room. As a form of simple inventory on screen.
My script for that sprite is:
on loop do
if keys==1 then
frame 1
else
frame 0
end
end
However, the sprite does not change when the key item is collected. Any ideas?
Thanks in advance.