Hey all, it's been a while since I've posted in one of these C3 things.
So some of you might be reading the title of this thread and are thinking: SMW in a web browser? What does that even mean?? Is this some new-fangled fancy shmancy emulator? Has Jimmy lost his mind yet again??
While I can assure you that yes, I have lost my mind again, it's not quite as crazy as you might be thinking.
.... So here we are now lol
Anyway, without further ado:
(Recommend Google Chrome for this.. Firefox performance is dreadful on 2/3 devices I've tested)
Here is a list of everything that's been implemented so far:
- Mario's movements (walking, running, sprinting, etc.)
- Jumping/floor collision
- Resizable display canvas
- Configurable controller input (keyboard + gamepad support)
Eventually I plan to add enemies, powerups, implement tile & entity collisions, add in an Overworld map, title screen... the whole shebang.
I'm not yet entirely sure what I plan to do with this...
Perhaps I'll release an HTML5 SMW engine that others can build game with.
Perhaps I'll revive one of my old Mario hacks and recreate it using this. :
Who knows. For now though, I just wanted to show a small demo of what I've got so far.
Anyway that's it. Feedback and suggestions are of course appreciated! Let me know of any bugs too
but I will not be happy about it
EDIT: Here is a short summary of the usability on each of the browsers:
- Chrome: Works perfectly
- Firefox: Works (Laggy on some devices)
- Opera GX: Works
- Brave: Works (Gamepads untested)
- Microsoft Edge: Works perfectly
- Chromium: Didn't load canvas for me, but perhaps it's one of the extensions I'm using.. more testing required.
- Chrome for Android: Works, but gamepad support is wonky (also slow)