Skip to content

Add cross-platform MonoGame-based emulator surface#1

Open
nilllzz wants to merge 7 commits intodavidwhitney:masterfrom
nilllzz:monogame
Open

Add cross-platform MonoGame-based emulator surface#1
nilllzz wants to merge 7 commits intodavidwhitney:masterfrom
nilllzz:monogame

Conversation

@nilllzz
Copy link

@nilllzz nilllzz commented Apr 23, 2020

  • Adds a new project that uses MonoGame (DesktopGL) to allow for a cross-platform compatible emulator surface.
  • Parameters of that project can be configured using the Config.json file.
  • Games are loaded from the Games/ directory in the execution direction.
  • Removes WinForms references from the main lib project to allow building on non-Windows platforms
  • Disables WinSound on non-Windows platforms for now since it can only be built on Windows. Alternative sound options have to be explored.

CoreBoy running on Ubuntu 19.04 using MonoGame:
tetris-ubuntu

CoreBoy running on Windows 10 1909 using MonoGame:
win

Currently only keyboard input is supported, but can easily be extended to work with controllers with the MonoGame.Input api.

@davidwhitney
Copy link
Owner

This is amazing, I'll have a play and try get these in over the weekend. Thanks for the effort! 🖤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants