dop2000's Forum Posts

  • You are doing something wrong. And it's impossible to tell what you are doing wrong, because you didn't provide a capx file.

  • You have a wrong event sheet selected for MenuLayout - "Overlay sheet 1".

    Which, coincidentally also has "pressStart Flash" event, that's why your Press Start button was flashing.

    One other thing - I suggest you change "Gamepad Is button down" to "Gamepad On button pressed".

    "Is" condition is continuous, while it's true, the event is repeated about 60 times a second.

    "On" is a triggered event, executed only once. Which is what you need in this case.

    • Post link icon

    I tried all the caps of the other threads, slow fast and that of 1000sprite and C2 works well on Windows10 build 15063 (i5 quadcore and 8gb of ram).

    NN81 Build 15063 is quite old. Do you have windows update enabled and do you install all updates?

    It's likely that these performance issues are somehow related to recent (from the last few months) updates.

  • This doesn't make sense..

    A few other possible causes I can think of:

    1. your "Control parameters" group is deactivated by some other event. Try moving events out from this group to test.

    2. Layout actually changes to "GameLayout" and then some event immediately changes it back to main menu.

    If none of this helps, could you share your capx?

  • Problem Description

    In Chrome gamepad.axis(0, 3) expression always returns 0.

    "Gamepad Compare axis" event for Right analog Y axis always returns 0.

    Attach a Capx

    https://www.dropbox.com/s/qm7fwttsb5eef ... .capx?dl=0

    Description of Capx

    caxp displays values for all 4 axes. Also displays words Left, Right, Up, Down when right stick is moved.

    Steps to Reproduce Bug

    Move left and right sticks.

    Observed Result

    In Firefox all axes are working, all 4 values and all 4 words (Left, Right, Up, Down) are displayed.

    In Chrome the value for right Y axis is always 0. Words Up and Down never appear.

    Expected Result

    gamepad.axis(0, 3) to return correct value

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (NO)
    • Internet Explorer: n/a
    • NW.js: (YES)

    Operating System and Service Pack

    Tested on two PCs: Windows 8.1, Windows 10

    Tested with two gamepads: Logitech Rumblepad 2, Philips gamepad

    Construct 2 Version ID

    r251

  • Is the "Press start" button flashing? (this will tell you if this event sheet is active or not)

  • You can do all this a bit easier:

    https://www.dropbox.com/s/fpfpwv7io4v6r ... .capx?dl=0

    Edit: oddly, it works perfectly in Firefox, however in Chrome the right X axis is always 0. Not sure why, maybe it's just my gamepad.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not a fan of using "Or" with triggered events. Try splitting your event #7 into two - one On keyboard key pressed and one On gamepad key pressed, without "Or".

    • Post link icon

    , none of the settings on Compatibility tab helped in my case.

  • Basically you do this:

    On every tick: Set Layout scale to lerp(LayoutScale, newScale , dt*6)

    LayoutScale is a system expression for current scale.

    newScale is a variable.

    change "6" to other number if you want to zoom faster or slower.

    • Post link icon

    KeeghanM

    Not all Windows 10 users are affected, which, I guess, makes it very difficult to found the cause of this problem.

    Are you rebooting your laptop daily? Do you install all windows updates as they become available?

  • Did you set it in C2 preferences, or in project properties?

  • AbusiveChAoS In your capx sprite2 scales, but it doesn't adjust its position.

    gibbon , Is this what you wanted?

    https://www.dropbox.com/s/foxidpba23dli ... .capx?dl=0

  • Try changing your events to something like this (screenshot from someone else's game):