Schism's Recent Forum Activity

  • Thank you for responding.

    The correct action is not forward. When I said "navigate back to the game", I didn't mean hit the back button. I've updated the original post to be clearer.

    I think those navigation features should definitely be removed if they don't work. They are misleading. What I ended up doing was having the browser navigate to a URL and directing it to Browser.Referrer. That's essentially the same thing.

  • Link to .capx file (required!):

    dropbox.com/s/7xnwut2nw0om4cq/no_back.capx

    Steps to reproduce:

    1. Preview game.

    2. Navigate to google.com (or any other site).

    3. Navigate to game (localhost:50000)

    4. Click on image

    Observed result:

    Error message indicating Object [object global] has no method 'back'

    Expected result:

    Should return to google.com (or whatever the previous site was)

    Browsers affected:

    Chrome: yes

    Firefox: no

    Internet Explorer: yes

    Operating system & service pack:

    Win 7 64 bit

    Construct 2 version:

    127 & 131 (tested in both)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey all,

    I'm wondering if there's a way to load a specific layout via a url or hash after exporting to HTML5.

    For example, say your game is at mygame.com. Browsing to mygame.com will bring up your default first layout but browsing to mygame.com#alternate or mygame.com?layout=alternate would bring up another layout.

    It would still load your whole application but the first layout would be determined in the url. It seems like there should be a way to do this since previewing the game starts on whichever layout your were last editing.

    Currently, I'm considering some kind of hack where I make the first layout invisible, set a variable to the browser's url, inspect that then load another layout. I'm not sure if this will actually work and was wondering if there's a simpler way of doing this.

    Anyone else run into this? Please let me know. Thanks.

Schism's avatar

Schism

Member since 10 Apr, 2013

None one is following Schism yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies