Skip to content

edgardozoppi/GameBoy-Online

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript GameBoy Color Emulator

Fork of the JavaScript GameBoy Color Emulator made to improve the user experience in mobile devices.

This version supports the following features:

  • Progressive Web Application (PWA) for desktop/tablet/mobile devices
  • Allow to load and play local ROMs
  • Open ROMS by double click in desktop devices
  • Open ROMS by pinning them to the home screen of your tablet/mobile device
  • Support both portrait and landscape layouts
  • Screen fills most of the window while keeping aspect ratio
  • Use css image-rendering: pixelated rather than bilinear filtering
  • Support for keyboard, mouse and touch controls
  • Dpad controls using mouse/touch movements with a deadzone
  • Allow to pause and resume the game
  • Auto save/load game state to resume previously played games
  • Keyboard fix for iPad keyboard case that doesn't report keyup event keycode
  • Keep screen awake while playing

Usage

Keyboard Controls

Up - Up Arrow / W Down - Down Arrow / S Left - Left Arrow / A Right - Right Arrow / D A - Alt / X / K B - Ctrl / Z / J Start - Enter Select - Shift Pause - Space

Edit by changing bindKeyboard in js/other/controls.js.

License

Copyright (C) 2010 - 2016 Grant Galitz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.0%
  • CSS 1.4%
  • HTML 0.6%