-
Notifications
You must be signed in to change notification settings - Fork 12
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
Video/Canvas Display Size Issue #13
Comments
the core object "Moudule" Moudule.setCanvans(width,height) You must understand the aspect ratio of the game. //you can see in log gba is 240x160 Moudule.setCanvans(240,160) how to full ? keep aspect; canvan{ width:calc(100vh * 240 / 160 );height:100vh;} |
The amiga core resolution appear in the log as: But the content appears in resolution of: I guess i need to edit the amiga core: retroarch.js in order to change the canvas resolution. (you wrote canvan, but i guess it was misspelling issue). Thank you. |
mobile write have so err you search code "callMain" under line add Module.setCanvans(360,288); or search Module = in func print print(log) get video size Module.setCanvans(360,288); at last delete other "Module.setCanvans" |
emulatorjs default set 640 480, so you cant wait few time use setCanvans() setCanvans is set Actual pixels output css is set Display size |
If the black edge is not displayed, the output pixels must conform to the aspect ratio of the game. If you want to fill the screen, force it to stretch through css. |
Hi,
First of all, I would like to say thank you again for this amazing project, I've been looking for a long time for a decoded dversion of emulatorjs.com.
I would appreciate some help regarding 2 issues i've encountered when running the script:
When I run the script without iframe, the window does not open in full size. Is there anyway i can add some html/css code so the script will open the window at full size? (The emulator script window gap appears in red background)
When running the Amiga emulator, the video resolution is not displayed on the entire screen (there is a black part below and on the sides).
In the latest core version of emulatorjs, there is an option to select ZOOM VIDEO, which allows the video to open on the entire screen.
Is it possible to change the code of the emulator.js in order to support the display of the video window on full screen?
Thank you.
The text was updated successfully, but these errors were encountered: