-
Notifications
You must be signed in to change notification settings - Fork 21
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
Turn raylib usage into interfaces #7
Comments
Sounds interesting! Could you please give more details on what exactly you are trying to achieve? Getting rid of raylib should be pretty easy, and you don't actually need to abstract it. The emulation itself does not depend on raylib, so in theory, you can "go get" this package and only use its core components to access the frame buffer and input devices but implement your own rendering and input handling on top of that. That's basically means re-implementing cmd/dendy/offline.go for a different rendering backend. A very simplified version of this might be:
|
I've actually had this in mind for a very long time for the wasm renderer, but never got to work on it |
Yep, runs fine in a browser https://maxpoletaev.github.io/dendy/ |
Awesome thanks!! |
Is like to use to make examples for my project, https://data-star.dev and NATS. Basically a live twitch play like thing but without websockets or any user js. Was going to fork but would you be interested in a PR if successful?
The text was updated successfully, but these errors were encountered: