I Made a Mario-Inspired Platformer with HTML5 – Check it Out! (Open Source)
Posted by Wonderful-Piglet-138@reddit | programming | View on Reddit | 1 comments
I'm excited to share a project I've been working on: a Mario-inspired 2D platformer game built entirely with HTML5, CSS, and JavaScript. I've just pushed the code to GitHub and wanted to get some feedback from the community.
It's been a really fun learning experience, especially digging into:
- Canvas API: For rendering the game world and sprites.
- Game Loop Implementation: Managing updates and rendering frames efficiently.
- Collision Detection: Handling interactions between the player, enemies, and environment.
- State Management: Keeping track of game states (e.g., playing, game over, level complete).
- Asset Loading: Managing images and sounds.
The game features basic movement, enemy interactions, collectible items, and multiple levels. I've tried to keep the code as clean and commented as possible, making it (hopefully!) easy to understand and contribute to.
Here's the link to the GitHub repository: [https://github.com/ZeyadM77/a-Mario-inspired-2D-platformer]
I'd love for you to check it out, play around with it, and let me know what you think. Any feedback on the code, game design, or potential improvements would be greatly appreciated. Feel free to open issues or pull requests if you have ideas!
Thanks for your time, and happy coding!
programming-ModTeam@reddit
This is a demo of a product or project that isn't on-topic for r/programming. r/programming is a technical subreddit and isn't a place to show off your project or to solicit feedback.
If this is an ad for a product, it's simply not welcome here.
If it is a project that you made, the submission must focus on what makes it technically interesting and not simply what the project does or that you are the author. Simply linking to a github repo is not sufficient