Skip to content
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

Consider using optcarot video and input drivers #12

Open
chesterbr opened this issue Dec 31, 2016 · 0 comments
Open

Consider using optcarot video and input drivers #12

chesterbr opened this issue Dec 31, 2016 · 0 comments

Comments

@chesterbr
Copy link
Owner

chesterbr commented Dec 31, 2016

Optcarot has nicely wrapped a few Gosu alternatives (such as SDL2 and sfml as "video drivers".

It would be nice to provide at least one alternative to Gosu. It would be trivial to implement the equivalent of those as a ruby2600 boot script (like we do for JRuby - AWT/Swing?), but a more interesting alternative would be to include optcarrot as a dependency and reuse the drivers for video and input (we don't implement audio yet).

It depends on how NES-specific the interfaces are, of course. The video one, for example, seems to receive a single-dimension array of pixels (not sure if NES palette or RGB), to which we could quickly convert a frame.

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

No branches or pull requests

1 participant