How do I make my sprite show after restart?

0 favourites
  • 7 posts
From the Asset Store
A small template showing how to build a firebase ranking
  • Hey.

    So in my game there is a layout with questions on it. You check the choices (they are check-boxes) and then press submit(button). I also have another button called restart that'll go to the layout called 'StartGame'. In the StartGame layout there is a button called 'start'. When you press that it'll go to the layout with questions on it(that one i had said before.) The 'Text' object (where the question is written)' is visible. The Answer choices are visible, but not the submit button. Please help.

  • Not really sure if im right with what u want, but did u told the layout to "create" objects on start of the layout ?

    like

    your can easily create the object on the X and Y position of your screen.

  • Not really sure if im right with what u want, but did u told the layout to "create" objects on start of the layout ?

    like

    your can easily create the object on the X and Y position of your screen.

    Oh no. Thanks you! I'm pretty sure, this'll work. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not really sure if im right with what u want, but did u told the layout to "create" objects on start of the layout ?

    like

    your can easily create the object on the X and Y position of your screen.

    What does, ot=riginal, viewport width mean?

  • your welcome,

    try to use the OriginalViewpoint to let them Centered for all Display Sizes, like 1920x1080 and 1280x720 and so on.

    just add for example + 200 on X or Y after

    for X: OriginalViewpointWidth / 2

    for Y: OriginalViewpointHeight / 2

    like

    for X: OriginalViewpointWidth / 2 + 300

    to get your position u want it to be.

    Edit: it means it takes the current Viewpoint Size and devide it by 2 = center the Object on screen, than u can move it with +/- for what position u want

  • your welcome,

    try to use the OriginalViewpoint to let them Centered for all Display Sizes, like 1920x1080 and 1280x720 and so on.

    just add for example + 200 on X or Y after

    for X: OriginalViewpointWidth / 2

    for Y: OriginalViewpointHeight / 2

    like

    for X: OriginalViewpointWidth / 2 + 300

    to get your position u want it to be.

    I dont' understand (i'm a noob) My layout is 1920x1080

  • > your welcome,

    >

    > try to use the OriginalViewpoint to let them Centered for all Display Sizes, like 1920x1080 and 1280x720 and so on.

    >

    > just add for example + 200 on X or Y after

    > for X: OriginalViewpointWidth / 2

    > for Y: OriginalViewpointHeight / 2

    >

    > like

    > for X: OriginalViewpointWidth / 2 + 300

    >

    > to get your position u want it to be.

    I dont' understand (i'm a noob) My layout is 1920x1080

    yea but mostly, if u create a game, u want to take care of all display sizes. (resolution), because not every gamer has a 1920x1080 Display, some only has 1280x720 or even smaller or bigger. with "OriginalViewpoint" your take the display size of his screen. so your Objects will fit to all display sizes, not only to 1920x1080.

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