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

HTML 5 - Show Picture // Spritesheet #2526

Closed
PoppyWorks opened this issue May 10, 2021 · 1 comment · Fixed by #2520
Closed

HTML 5 - Show Picture // Spritesheet #2526

PoppyWorks opened this issue May 10, 2021 · 1 comment · Fixed by #2520
Labels
Emscripten WebAssembly/JavaScript port for web browsers Patch available
Milestone

Comments

@PoppyWorks
Copy link

Please fill in the following fields before submitting an issue:

Name of the game: MJ2

Player platform:

HTML5

Attach files (as a .zip archive or link them)

1
2
3

Describe the issue in detail and how to reproduce it:

"show picture" has an issue in HTML5 when using the spritesheet setting. It will show the entire image file and not crop. This feature works correctly in the desktop executable.

This issue can be replicated across Firefox, Edge and Chrome. https://easyrpg.org/player/guide/webplayer/

Thank you

@PoppyWorks PoppyWorks changed the title HTML 5 HTML 5 - Show Picture // Spritesheet May 10, 2021
@Ghabry
Copy link
Member

Ghabry commented May 10, 2021

You must pass "?engine=rpg2k3e" in the address bar. There is currently no way to hardcode this.

The patch in #2520 (will be merged soon) will fix the broken autodetection logic.

Without: https://easyrpg.org/play/master/?game=frozen_triggers
With: https://easyrpg.org/play/master/?game=frozen_triggers&engine=rpg2k3e

@Ghabry Ghabry added Patch available Emscripten WebAssembly/JavaScript port for web browsers labels May 10, 2021
@Ghabry Ghabry added this to the 0.7.0 milestone May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Emscripten WebAssembly/JavaScript port for web browsers Patch available
Development

Successfully merging a pull request may close this issue.

2 participants