ErekT's Recent Forum Activity

  • It happens to me too. Massive slowdown that goes back up to normal speed again if I select any object in the debug rollout.

  • Mm okay. I guess I can move it the way it's done in auto-runner.

    Thanks for the help

  • As in offsetting the sprite's texture and have it wrap around itself? I want to do an infinitely scrolling background effect with stars and stuff. I suppose I could move the entire sprite object but that seems like a massive hassle. Couldn't see anything in the manual on how to do it. Maybe it can't be done?

  • Didn't help either unfortunately :/ Ah well, I'll just let it be for now I think.

  • I can't download it for some reason (download button greyed out). Can you post a screenshot of the event sheet instead?

  • Mm, I tried it and there's no difference. So weird.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I completely misunderstood what you were trying to do, lol.

    Colludium:

    Hehe, A for effort brudde

    zenox98:

    That worked. But I don't understand why my example doesn't?

    Okay. To clarify, I'm trying to run an executable that changes OS resolution to something lower on game start, then switches back to the original resolution when the game quits, gets suspended, or goes into window mode. Does it have to be an 'on clicked' event maybe?

  • zenox98:

    Oops, forgot to set it for the example capx. Anyways, I meant to say 'export project' in steps to reproduce.

    Colludium:

    Ah, doing 'run file' on dxwebsetup.exe was just for testing actually The problem is I can't get the nwjs 'run file' command to run *any* executable files.

  • Code?

  • Problem Description

    The nwjs command 'run file' doesn't do anything.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/705 ... e_bug.capx

    Description of Capx

    Bare-bones capx that tries to execute dxwebsetup.exe from within its build folder on start of layout.

    Steps to Reproduce Bug

      Export the project then run it.

    Observed Result

    Nothing.

    Expected Result

    dxwebsetup.exe gets executed on layout start.

    Affected Browsers

      nw.js

    Operating System and Service Pack

    Windows 7 Home Premium Service Pack 1

    Construct 2 Version ID

    210

    -----

    I guess I could just be using it wrong, but I don't see how from reading the manual.

  • Try to put the condition "player is overlapping background" directly into the "while" event instead of a sub-event. Right now the while loop doesn't have any conditions associated with it.

  • I've tried doing it like this:

    On start of layout            |  System            |Set OrgScreenWidth to Browser.ScreenWidth
                                     System           | Set OrgScreenHeight to Browser.ScreenHeight
                                     NodeWebkit       | run "qres_launcher.exe"
    [/code:he4y11st]
    ... and nothing gets run. Am I misunderstanding something here?
ErekT's avatar

ErekT

Member since 17 Dec, 2012

Twitter
ErekT has 1 followers

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies