Tshirbooths Menu Video
I reproduced Tshirtbooths MultiScreen Menu and the clickable icon part 2.
http://www.youtube.com/user/GameSaladCookbook/#p/u/5/DzaA0gachYM
I did the same to a 960 x 320 scene image.
I made two actors (previous and next scene) that do not move with the sliding image and this works fine.
Is there a way to make clickable "hotspots" within the image based on their x,y coordinates?
http://www.youtube.com/user/GameSaladCookbook/#p/u/5/DzaA0gachYM
I did the same to a 960 x 320 scene image.
I made two actors (previous and next scene) that do not move with the sliding image and this works fine.
Is there a way to make clickable "hotspots" within the image based on their x,y coordinates?
Comments
mouse button is down
mouse position is inside
game.Mouse.Position.X > 90
game.Mouse.Position.X < 100
game.Mouse.Position.Y > 90
game.Mouse.Position.Y < 100
etc... which will work when touching the hotspot in square position from co-ordinates 90,100 to 100,90 (x,y)
Or alternatively and more easilt you can overlay a smaller transparent actor into the area (larger image) you want clickable and set the rules in that.