Tshirbooths Menu Video

crapscraps Member Posts: 353
edited November -1 in Working with GS (Mac)
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?

Comments

  • ApplaudAppsApplaudApps Member Posts: 308
    Yes, you can use a number of rules together such as

    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.
Sign In or Register to comment.