How do I add popup- screen on game

  • i just want to add the popup screen on the game.

    MEAN, if player hit any obstacle(enemy) OR went out from the layout...then small layout comes upon the same screen(same location) where player hit the obstacle

    just like : PAUSE SCREEN

    THIS SMALL PAUSE MENU APPPEAR ON THE SCREEN

  • On collision with enemy OR Inverse Player is on layout - Create PopupObject at x/y

  • Litetween behaviour may help you in this part

    I have used this in my game and made popup

    on start of the layout stay popup and their buttons out of screen

    when player died or collision with enemy > start (litween position)

    when click any button > reverse (litween position)

    something like this you can do

    popup will go smoothly to out of screen and come in smoothly to

    you can do some other thing in this behaviour

    like first popup come then after button appear

    do experiment and you can do some amazing things

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • On collision with enemy OR Inverse Player is on layout - Create PopupObject at x/y

    thank you very much for you valuable revert back,

    could you please provide me any example, i am not ale to find create popup object..

    so i want a example so that i can create popup object

  • > On collision with enemy OR Inverse Player is on layout - Create PopupObject at x/y

    >

    thank you very much for you valuable revert back,

    could you please provide me any example, i am not ale to find create popup object..

    so i want a example so that i can create popup object

    PopupObject is just the name he gave for the example. It can be any object, however you want to name it.

    Make a sprite and call it "PopupObject" then do System->create object "PopupObject" (or whatever name you chose to give the object in question).

    Making a menu appear on the screen is no different to making anything else appear. Usually you would use sprites or maybe tiled background objects to make a menu... the same way you would make an enemy appear or a "power-up" or whatever.

    ~Sol

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)