I see what you are writing but it still will not let me do this with my code. I still have to add my image and rectangle.
What I’m basically trying to do it a simple point and click game (super simple version of Myst)
When the player clicks on the rectangle (door) s/he is taken to the next room and gains points. If the player clicks anything else in the image some points are taken away.
I’ve designed my background images, created transparent touch points that go with my images. I have coded going to the next room (I have 11 total) I’m still stuck trying to add/subtract the score and have the score pass to the next room (I’d like to only display the score when the game is over.)
I’m going through your code again, but still getting errors whenever I try to add any form of it to my game. I notce my recent error ws with the lines:
sceneGroup:insert( image2 )
Whenever I add my background image. So I removed it and then only my scene one image was visible throughout the game. I found by placing this line after the rectangle creation it seemed to work.