Skip to content

[py-game] config not resolving files #2309

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

Closed
WebReflection opened this issue Mar 9, 2025 · 1 comment · Fixed by #2310
Closed

[py-game] config not resolving files #2309

WebReflection opened this issue Mar 9, 2025 · 1 comment · Fixed by #2310
Labels
needs-triage Issue needs triage type: bug Something isn't working

Comments

@WebReflection
Copy link
Contributor

WebReflection commented Mar 9, 2025

What happened?

The current config resolution for py-game is not fully aligned with what PyScript or py scripts can do and [files] is one one of those things that are not resolved.

We should provide a closer expectation for that special type and this issue is all about it.

@WebReflection WebReflection added needs-triage Issue needs triage type: bug Something isn't working labels Mar 9, 2025
@Neon22
Copy link
Contributor

Neon22 commented Mar 10, 2025

The most obvious use case is an image file that needs to be loaded for a game.
Second is a py file that contains game logic or subclasses split off for efficient programming style.

(Just including this for completeness)

WebReflection added a commit to WebReflection/pyscript that referenced this issue Mar 10, 2025
WebReflection added a commit to WebReflection/pyscript that referenced this issue Mar 10, 2025
WebReflection added a commit to WebReflection/pyscript that referenced this issue Mar 10, 2025
WebReflection added a commit to WebReflection/pyscript that referenced this issue Mar 10, 2025
WebReflection added a commit that referenced this issue Mar 10, 2025
* Fix #2309 - Use all config options

* dropped websocket test as it takes forever even locally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issue needs triage type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants