Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gamepad Extension Not Working #7438

Open
1 task done
iD-Eevee opened this issue Feb 28, 2025 · 2 comments
Open
1 task done

Gamepad Extension Not Working #7438

iD-Eevee opened this issue Feb 28, 2025 · 2 comments

Comments

@iD-Eevee
Copy link

Is there an existing issue for this?

Describe the bug

The Gamepad extension doesn't work out of the box and all controls must be hardcoded to work. The version of the extension in the project linked in that project online works (version 0.6.3) but if you add the extension to a project currently, it adds version 0.7.0, which no longer works without event implementation.

Upon looking through the Behavior settings, there are variables missing in version 0.7.0, which were previously set up in version 0.6.3.

This is the Behavior in version 0.6.3, which is visible in the web editor example that's linked:
Image

And this is the Behavior in version 0.7.0 when it's freshly added to a project:

Image

As seen above, the new structure references variables that aren't defined vs. the old method of using properties. This causes the built-in controller commands to not work, so they must be coded in events to work as intended.

Steps to reproduce

  1. Create a player object.
  2. Open the player object's properties and select the Behaviors tab.
  3. Click + Add a behavior.
  4. Select Platformer gamepad mapper.
  5. Click Apply.
  6. Click Preview and test the project.

To find the Gamepad extension:

  1. Click the Project Manager.
  2. Under Extensions, click Gamepads.
  3. Click Open in Editor.
  4. Under Behaviors > PlatformerGamepadMapper, select doStepPreEvents.
  5. View the events.

GDevelop platform

Desktop

GDevelop version

5.5.221

Platform info

OS

Windows

OS Version

Windows 10

Gamepad

Xbox 360 Controller

Additional context

No response

@D8H
Copy link
Collaborator

D8H commented Mar 2, 2025

Most extensions now need GDevelop 5.5.222+. You should upgrade to the last version of GDevelop.

@iD-Eevee
Copy link
Author

iD-Eevee commented Mar 3, 2025

Most extensions now need GDevelop 5.5.222+. You should upgrade to the last version of GDevelop.

I unfortunately can't update for this project I'm currently working on, but I will try that in the future for my next projects. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants