defold / defold

Defold is a completely free to use game engine for development of desktop, mobile and web games.
https://www.defold.com
Other
3.75k stars 272 forks source link

Fix issue with gamepads in web. #8835

Closed ekharkunov closed 3 weeks ago

ekharkunov commented 3 weeks ago

glfw package wasn't updated after allocate function replacement. It leads to issue with gamepad in runtime

Screenshot 2024-04-23 at 14 25 02

Add -O3 option to vanilla engine compilation. Also added stringToNewUTF8 to EXPORTED_RUNTIME_METHODS to fix headless variant compilation.

PR checklist


Example of a well written PR description:

  1. Start with the user facing changes. This will end up in the release notes.
  2. Add one of the GitHub approved closing keywords
  3. Optionally also add the technical changes made. This is information that might help the reviewer. It will not show up in the release notes. Technical changes are identified by a line starting with one of these:
    1. ### Technical changes
    2. Technical changes:
    3. Technical notes:
There was a anomaly in the carbon chroniton propeller, introduced in version 8.10.2. This fix will make sure to reset the phaser collector on application startup.

Fixes #1234

### Technical changes
* Pay special attention to line 23 of phaser_collector.clj as it contains some interesting optimizations
* The propeller code was not taking into account a negative phase.