Headbang Games's Recent Forum Activity

  • Problem Description

    ShadowLight object broken after loading (official save action), only if switching layouts in between.

    Attach a Capx

    http://badpadgame.com/shadowLightBug.capx

    Description of Capx

    2 layouts, using keyboard nums 1-3 to trigger events.

    key 1 - saves, on saved complete switching layout, on start of layout loading saved game.

    key 2 - saves, on saved complete loading saved game without layout switching.

    key 3 - restarts layout.

    Steps to Reproduce Bug

    • Press 1 on the keyboard to trigger the event, see that the shadows flips.
    • Press 3 on the keyboard to restart layout, shadow is displayed correctly.

    Observed Result

    The shadow flips, in my case it gets even more broken.

    Expected Result

    Shadows should render the same after loading, perhaps a 're-render shadows' action to run on load complete, or just do it automatically.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 10 Pro

    Construct 2 Version ID

    Stable Release (r259)

  • Ashley Great, thanks for the quick response!

  • Ashley What do you say about this, do we need --disable-software-rasterizer for anything?

    I don't mind waiting for the next nwJS release.

  • TheRealDannyyy I noticed that when I use v0.29.0 and C2 R256 adding this arg

    --disable-software-rasterizer

    Causes rendering problems and the steam overlay is not loading, I actually don't remember why I added this arg, it was from something I probably read here before, but I can't locate any reference to it in your original post.

    Do I need this for something?

  • Thanks, I'll wait.

  • Can anyone tell me which NWjs version is the most stable and functional to use at this time?

    I'm still using 0.24.0, every time I'm thinking of upgrading I'm seeing posts about things that got broken, I don't have any issues with 0.24.0, but I do want to keep it as up-to-date as possible.

    Should I even upgrade or wait for 0.30.0 to come around?

  • You'll need to make all your inventory ui items/texts and whatnot global too, but it is better to just store the inventory data in an array or dictionary and draw it again on start of layout.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Make sure you're using 'for each' on your killing event.

    Also you can get the object count simply with an expression, enemies.count, this works for objects and families.

  • The official PIN behavior already stores the UID, you can access it as an expression like this

    pinned-object.pin.PinnedUID

  • This plugin can diferentiate Left from Right shift, but I couldn't manage to detect if one is already down, when the other is pressed. Maybe you have more luck.

    Cheers!

    Thanks man, I'll check it out.

  • Anyone got any creative ideas on how to overcome the following?

    I'm trying to get either of the shift keys onPress to register while the other one is down.

    http://headbangames.com/keyregister.capx

  • Ashley Thanks for the clarification, I was sure it was relative to the layout scale.

    So just to make sure, the only solution for me is to set all layers to 100% scale-rate and then set the scale manually in the run-time (higher scale for lower scale-rate layers)?

    Basically I want the main layer to be 100%, and the background (layers) are ranging from 100% or 150% for different depths, I used lower scale-rate to achieve this when I used a fixed layout scale and canvas size.

Headbang Games's avatar

Headbang Games

Member since 5 Dec, 2012

Twitter
Headbang Games has 1 followers

Connect with Headbang Games

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies