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

Add Split Screen Demo showing input handling #1023

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sauermann
Copy link
Contributor

@Sauermann Sauermann commented Mar 24, 2024

This demo shows:

  • Single World2D, that is shared among many Viewports
  • Simplified Input Map, that uses the same Actions for all Split Screens
  • Input event routing to different viewports based on joypad device id and dedicated keyboard keys
  • Dynamic keybinding adjustment for each Split Screen

Works with 4.2.1+.

  • Would appreciate advisement regarding the renderer: Which renderer should be used?

grafik

@Calinou
Copy link
Member

Calinou commented Mar 25, 2024

Would appreciate advisement regarding the renderer: Which renderer should be used?

I'd say projects should always use the most conservative rendering method they can, so they work on the highest amount of devices possible out of the box. This means using Compatibility unless you need another rendering method.

@Sauermann Sauermann force-pushed the add-split-scren-input-demo branch from 8591349 to 93dc327 Compare March 26, 2024 20:11
@Sauermann
Copy link
Contributor Author

I have updated:

  • Use compatibility renderer
  • set deadzone to 0.2
  • adjust an elif

When running with 4.2.1, now I get the warning:

WARNING: Glow is not supported when using the GL Compatibility backend yet. Support will be added in a future release.

How can I get rid of this warning or should I ignore it?

@Calinou
Copy link
Member

Calinou commented Mar 26, 2024

When running with 4.2.1, now I get the warning:

You can ignore this warning, it's showing up only because of the 3D editor's preview environment (you won't see it when running the project). This will also not be an issue anymore in 4.3 as glow is implemented in the Compatibility rendering method there.

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

Successfully merging this pull request may close these issues.

2 participants