indoneko wrote:I think you need to direct the user interaction to the seashell screen (perhaps by using modal or other method?) at some point, otherwise the game will just ignore your screen as the player can click anywhere else to continue the game...
That's what I want XD To let the players continue the game normally WHILE the shell lying right there in the background, available to be clicked anytime without players' awareness. Here, it's like this:
renpic wrote:I supposed picking the seashell was optional in the game, but then I saw your reference to a hidden object game, so maybe you wanna wait in that scene until the player picks it. I suppose that there are easier ways to do that, but... Oh well
This one should work too.
Omg, thank you so much for your help, that's so kind of you fren
Ah, it's my fault I didn't say it clear enough, like I said above to indoneko, players should be able to
continue the game completely normally (unlike hidden game where people have to wait till they found all the items), the shell will just be there in the background silently and
disappear after clicked or scene changed. I can use the code
to hide the shell after scene changed but to hide it whenever the player picked up the shell really is a challenge. There won't be any warning to inform that the shell is there at all, players can only know that they have to obtain a shell through the game story. So I don't think it needs
loop or tooltip. But your suggestions really opened another door for me! I've stuck with
imagemap, but then I searched
imagebutton as well and found
THIS, quite similar to what you wrote in the 2nd post.
Unfortunately, I tried various ways and still saw the error
, I tried to add the default code after the screen code (and tried to add ahead it as well) and it's still the same
this is my code fren, Idk what's wrong with it anymore
Code: Select all
screen seashell:
if gotshell == True: #in the link it only wrote "if gotshell:", tried that too and the error still popped out
imagebutton:
idle "seashell"
clicked [ Jump("seafound", locked = False), SetVariable("gotshell", False)]
xpos 14 ypos 641
xanchor 39 yanchor 34
#default gotshell == True