Comments (7)
are you sure everything is set up right? Try 500: 375px
from emulator.
It automatically does the resizing by itself once the rom has been loaded. Before loading any rom, the size will be 640x480. If you'll load a snes/sega roms.. the size will be around 640px wide but for gbc/gba will be half of that. Or is there some customization that I'm missing?
from emulator.
var resizeOwnEmulator = function(width, height)
{
var emulator = $('#emulator');
emulator.css('width', width);
emulator.css('height', height);
}
On Sat, May 9, 2015 at 11:00 AM, jesthub [email protected] wrote:
It automatically does the resizing by itself once the rom has been loaded.
Before loading any rom, the size will be 640x480. If you'll load a
snes/sega roms.. the size will be around 640px wide but for gbc/gba will be
half of that. Or is there some customization that I'm missing?—
Reply to this email directly or view it on GitHub
#14 (comment).
from emulator.
does that help any?
On Sat, May 9, 2015 at 11:18 AM, Will Dudley [email protected]
wrote:
var resizeOwnEmulator = function(width, height)
{
var emulator = $('#emulator');
emulator.css('width', width);
emulator.css('height', height);
}On Sat, May 9, 2015 at 11:00 AM, jesthub [email protected] wrote:
It automatically does the resizing by itself once the rom has been
loaded. Before loading any rom, the size will be 640x480. If you'll load a
snes/sega roms.. the size will be around 640px wide but for gbc/gba will be
half of that. Or is there some customization that I'm missing?—
Reply to this email directly or view it on GitHub
#14 (comment).
from emulator.
It only changed the size of the container. The game still retains its original size (320x288) and the remaining space is all black.
from emulator.
The gba games are just smaller. Thats the way it was programed.
On May 11, 2015 1:19 AM, "jesthub" [email protected] wrote:
It only changed the size of the container. The game still retains its
original size (320x288) and the remaining space is all black.—
Reply to this email directly or view it on GitHub
#14 (comment).
from emulator.
To change the width and height of any of the systems, you will have to go to the Nesbox.as file and change the Scale X and Scale Y values. You will also have to change:
JSProxy.resizeOwnEmulator(Variables.Width x 2, Variables.Height x 2);
to what ever you want the multiplications to be. If you look at the code of the gb file the width is set to 160 and the height is set to 144. So if you take those two and multiply them by two like the above line of code does, then you will get the same values as 320 and 288. So if you change the 2s to 3s than the value would return 480 and 432, for example.
I think that if you change the values here than it will actually change all the systems, but if you just want to change gba and gb than all you have to do is use the src files to create a new project in Flash Develop. Than after you change the values to what you want, build the project and save it possibly as gbBox.swf. After that all you would have to do is change the embed code on the gb and gba pages to point toward gbBox.swf instead of Nesbox.swf
Hope this helps, because this actually took me about two days to figure this out and I felt really dumb after I found out this is how you are supposed to resize the systems.
from emulator.
Related Issues (20)
- [SOLVED]Stuck in loading emulator screen / Nesbox doesn't work on local html! HOT 5
- stops at 100% and requests flappy bird?
- black screen after loading how I fixed it
- Non-Flash version of NESBox?
- How To Add to Website Using Local ROMS
- Nesbox super Mario bros nes. Xbox controller problem HOT 1
- Issue with NESbox on Firefox
- Not working anymore
- 'Adult' Ad's pop up before play...
- Flash Player ended support HOT 1
- Javascript Version
- NesBox super fast
- Compile
- nesbox support neogeo roms
- Stuck @ 100% no playing game HOT 1
- black screen, and not even nes games will load HOT 1
- I Cannot emulate the game
- Black Screen, problem still not solved in any thread
- Black Screen after Loading HOT 1
- Code embed NESBOX
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emulator.