alastair's Recent Forum Activity

    Ashley thanks it works well with that new method!

    The only issue I can see is the additional tedium of this process.

    For instance, I don't think this NWJS download will automatically check and install updates like C3 and other modern apps.

    Also, not having NWJS open when you click Remote Preview is a bit inefficient, but perhaps if the users just create a shortcut in the quick launch bar it will be okay. If it's possible, having a setting that allows opening NW.exe path after Remote Preview is selected would be fantastic.

    If there's a way to automatically paste the URL when you open NWJS to preview, that would be amazing too.

    Also would be handy is additional settings to make testing computer games faster, since remote preview would become the primary mode of testing the game ~30+ times a day, perhaps things like being able to change the default quick preview button to "remote preview" rather than "preview layout" would save time too, or at least having a hotkey for remote preview.

    Thanks

    Ashley thanks for explaining and providing a workable alternative! Though it seems a like a slower method? Currently previewing with the desktop build is like seconds to test my code/game, but when I tried to remote preview with Chrome it took me like 4+ minutes to load (I didn't wait till the end so I'm not sure how many more minutes).

    TheRealDannyyy thanks for your support! ❤️ Hopefully it keeps working in the coming years, seems pretty cool

    Ah dam, guess I'll have to stick with the desktop editor.

    Can I write files with the NWjs plugin in this? In the Desktop C3, I use the NWJS plugin to make text files at the NWjs.AppFolder. But when I run my game through Chrome, I can't even find where that file is saved, it's not found on my harddrive.

  • Chrome works great, only issues are that media buttons affect Chrome, so when you want to pause your music player it will pause the music in your game.

    Maybe you could try Brave browser? It uses Chrome's engine, but is apparently good for privacy.

  • thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The alignment isn't occuring in the center of the screen with the above equiation

  • I can't get that to work for me? At least when the layer is 30% parallax, here is the equation I used:

    X: (fore.x + (OriginalViewportWidth*0.5) ) *0.3

    Y: (fore.Y + (OriginalViewportHeight*0.5) ) *0.3

  • Asmodean that works great! I couldn't figure out why the OriginalViewport was divided by 4 though? I understand that halving it would get to the center of the viewport, but when I tried to use other parallax values (e.g. 30%) I couldn't figure out an equation that would work in that section.

    dop2000 Ah that seems to work, a great simple solution, appreciate the assistance! 💖

  • dop2000 Thanks for reply.

    I don't want them to always be aligned. In my original post, I tried to explain that I only want the created objects to align perfectly when the player/camera is right on top of them.

    My 2 objects are not aligned when the're the player is in center of the screen

  • Thanks eberyone!

    dop2000 I forgot about that expression! But I can't figure out how to get it to work for me.

    It's not even on the screen any more.

    drive.google.com/file/d/1v9a1p3ylHrEfc0vhmqbMYPPLLK8PG2GF/view

alastair's avatar

alastair

Early Adopter

Member since 14 Jul, 2007

Twitter
alastair has 5 followers

Connect with alastair

Trophy Case

  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • x2
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x7
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

26/44
How to earn trophies