Comments (15)
I tried downloading all of your files, uploading them to my git, and then trying to recreate your page (http://binji.github.io/binjgb/) thinking that if I had the source files it would work.
For some reason it is not working though. I just get a blank screen.
from binjgb.
Seems like that should be a good start, do you have the page up somewhere so I can see? Do you get any errors in the devtools console?
from binjgb.
Thank you so much for replying!
I finally figured out how to get it to load, but now I still need to figurfe out how to get it to pre-load my ROM and keep my current HTML.
Here are my links;
-This page is my current hosting page. I use a Flash Player to load my ROM.
https://cheffloyardee.github.io/pokefloyd
-I want to replace that player with yours, but keep everything else. Here is my attempt at doing so
https://github.com/ChefFloyardee/ChefFloyardee.github.io/blob/master/poke/floyd.html
Note that I renamed your "Demo" file to "Poke" to try and keep my "pokefloyd" url similar.
from binjgb.
I can get my page (https://cheffloyardee.github.io/poke/floyd) to look like yours (http://binji.github.io/binjgb/) and it will play my ROM.
But I want it to pre-load the ROM, and I want to keep the existing HTML title/picture that I had.
from binjgb.
As of my last commit on (https://cheffloyardee.github.io/poke/floyd) I removed your code in an attempt to first get my pages to match up with the original HTML, but for some reason my picture isn't even working.
from binjgb.
I really like your emulator by the way. It is much more crisp than my Flash one!
from binjgb.
I got the picture to work by adding it to the Poke aka Demo file!
Now I just need to figure out how to put in your emulator code and have it pre-load my ROM :D
from binjgb.
Any who, if I copy the source file from your page (http://binji.github.io/binjgb/) my page's current HTML is all messed up.
I also do not see where to link to a ROM to pre-load it.
from binjgb.
This is where I got the source file.
https://github.com/binji/binjgb/blob/master/demo/demo.html
from binjgb.
I am assuming my main issue is that I am copy and pasting the entire code, since I am unsure as to what to remove to get my desired result.
from binjgb.
So here is where I am currently at;
https://cheffloyardee.github.io/poke/floyd
I need to fix 3 glaring things;
-First, how can I center the box?
-Second, how can I set it to pre-load a ROM?
-Third, how can I get an Icon Image in my tab, similar to yours (http://binji.github.io/binjgb/)?
Please let me know if you can help me out :D
from binjgb.
Here is my current code ;D
https://github.com/ChefFloyardee/ChefFloyardee.github.io/blob/master/poke/floyd.html
from binjgb.
Seems like that should be a good start, do you have the page up somewhere so I can see? Do you get any errors in the devtools console?
Hi there! I am so close to getting your Emulator on my Page in the state that I want it :D
I still am having trouble figuring out how to get it to pre-load a ROM file. Can you please help me with this?
Thanks in advance!
from binjgb.
I pushed a simpler version of the demo that should be easier to embed here:
https://github.com/binji/binjgb/blob/master/demo/simple.html
https://github.com/binji/binjgb/blob/master/demo/simple.js
It loads a rom by default, and immediately starts playing. One problem is that audio doesn't work when you do this; a simple workaround is to pause/unpause (with the space bar).
Hope this helps!
from binjgb.
Thank you so much for replying! You have no idea how appreciative I am!
Do you have an HTML page that I can preview this at?
I see that you added a .html, .JS, and an example ROM to your folder.
I plan to do the same, but do I need to reference the ROM I want or does it automatically load?
from binjgb.
Related Issues (20)
- make fails because of the ImGui HOT 1
- Lost Save Files HOT 9
- Run Boot Rom HOT 2
- Joypad interrupt does not fire HOT 2
- Scaling is uneven HOT 2
- Vsync bug HOT 1
- Read sym file HOT 1
- Implement debug messages HOT 1
- Feature request: add a .sav import/export feature HOT 4
- Scanlines with the BG/Window disabled don't clear old sprite pixels HOT 2
- having trouble with embedding HOT 2
- Rejects ROMs as invalid HOT 4
- Skip audio frames while audio context is suspended HOT 2
- Huge RAM usage. HOT 5
- Integrate changes from daid/binjgb HOT 1
- Fatass Tracker doesn't work HOT 4
- Cube Raider doesn't work as expected HOT 3
- Unmatched malloc/free in `emulator_delete` HOT 6
- OAM priority calculation HOT 1
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 binjgb.