I apologize to you for my english
I did not find tutorials for this type of games and I thought it might be interesting.
I will be very short, I have developed games of this type and some successfully.
AB is excellent for this type of games
In this example I use 3 images on canvas and interact with them depending on where I touch
To do this we will use the x and y coordinates, the main obstacle is the different size of the displays.
We overcome this obstacle with a simple mathematical proportion
We use 2 variables having value of the height and width of the canvas under development
the TouchUp block set up in this way will be used during development, and will give us information on the x y coordinates, will be disabled when build app
I then create the blocks that allow me to verify when I touch at a certain point
In our case the event is generated when the image is 1.jpg and if all the conditions are verified(Xmin - Xmax - Ymin - Ymax)
Thanks to the mathematical proportion, the coordinates will be exact on each screen
The procedure to follow is this, you just have to add your imagination
In the example I repeated the procedure at the touch of the door, the other plant, the tablet and the recycle bin. The background changes if you touch some items. I used the back button to go back to the main background
If you want to insert ImagineSprite in a specific point, you can rely on a similar proportion
Remember that if you change the values of the variables, all points x and y must be changed by checking them on your display
tutorialEscapeGame.aia (116.0 KB)