alastair's Recent Forum Activity

  • The first thing we need to know when discussing a gamepad is

    • What browser engine is being used? (Chrome)
    • What gamepad device are you using? (Is it a popular controller?)

    I have many controllers, for example cheap USB N64 controllers, and they have this same exact issue.

    It seems to be a very common problem for some controllers to have the DPAD acting as an axis with strange values.

    Solution 1

    Submit a bug report to the Chrome devs.

    Tell them the gamepad device ID string, and the exact inputs for each button and axis. Perhaps then suggest then which button should be what, like button 16 should be "A".

    This will allow them gamepad to be recognized and mapped properly for everyone officially.

    Solution 2

    Manually identify which controller the player is using. And make adjustments based on the gamepad ID string.

    This is good practice anyway, since you'll want to detect at a minimum wether the player is using Sony, Xbox, or Nintendo brand controller so that you can show the appropriate button prompts. While it use to just be Xbox style controllers that were common on PC, other brands have increasingly become popular in recent years.

    After detecting the type of controller which is connected, you can then make sure that these controllers use different gamepad inputs.

    For instance, when the axis = 0.714, then count that as the left Dpad as being held down.

  • In the mean time, if you need the additional flexibility, you can do the same things as booleans with a number variable.

    For instance, to toggle a variable you just set it to: 1-variable

    You can also have global variables, where No or Off = 0, and Yes or On = 1, that way you can type "off" in the expression editor.

  • You do not have permission to view this post

  • Do controls work when you add it as a non-steam game? (You can right click the game file and it shows "add to steam")

    Yeah I had this same problem when I first uploaded my game to steam as a depot. I was worried the controls would not work either.

    But for some reason, after the Steam staff checked the game build it worked fine after that. I think maybe they changed the default control setting or something.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
    • What export and version are you using?
    • Can you clarify which part isn't working? No input at all, no gamepad and no keyboard?
    • You can press the Steam button on the Deck to change the controls from keyboard to gamepad, or opposite
    • What process did you use to put the game on your deck? Was it uploaded as a depot? Or added as a non-steam game?

    Having the default setting be a percentage rather than DB sounds like a fantastic idea! I hope that's able to happen.

    Will be much more intuitive, and easy to work with.

  • C3 sometimes even goes down for everyone, for hours at a time.

    Subscriptions and not having freedom to use software offline is bad.

    I'm happy to keep giving money to them to support more updates, I just don't like this model.

  • Humans but without clothes on.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • thanks for explaining what it does.

    I tried talking to Steam about it, they got back to me, and I'm not sure if it helps but they said:

    You can check out our Steam Overlay documentation to troubleshoot these issues.

    Hopefully someone that knows what to do will eventually encounter this problem to help us fix it.

  • Okay I bought a Lenovo gaming laptop in order to test this.

    And the above comment is correct!

    • The tag "--force_high_performance_gpu" allows my game to use the nvidia GPU! It runs wonderfully smooth.
    • But if I also have the "export for steam" button checked, it will NOT use the nvidia GPU, and instead the weak one, and does not run as well.

    Ashley should we now update the NWJS "Export for Steam" option's "--in-process-gpu" with the new one: "--force_high_performance_gpu"? I'm not sure what the old tag did, but since it's blocking laptop's GPU's from being used maybe it should be changed so the games run better for more of our Steam players.

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