This project is all about learning basic 2D Game development in javascript and having fun, and improving this game everyday!
A simple 2D top-down pixel-style game made with HTML, CSS, and JavaScript.
- Player controlled movement with WASD or arrow keys
- Shift key to run faster
- Display player coordinates toggleable in settings
- Obstacles you cannot walk through
- Pixel art style with custom pixel font
- Simple menu with Play, Settings, and Credits screens
- Open
entrypoint.htmlin your browser. - Click PLAY to start the game.
- Use WASD or Arrow keys to move the red player square.
- Hold Shift to run faster.
- In Settings, toggle "Display Coordinates" to show/hide your player position.
- Avoid obstacles on the map.
entrypoint.html- Main menu and settings screenentrypoint.js- Settings logic and UI handlingindex.html- The game itself with canvas and game loopcredits.html- Credits pagepixel.jpg- Background image for menu and gamepixel_square/- Folder containing custom font filesassets/- Images used for UI (like arrow icons)README.md
- Just open
entrypoint.htmlin any modern web browser (Chrome, Firefox, Edge). - No server or installation required.
- Add enemies and AI
- Add levels and scoring system
- Add sound effects and music
- Add animations and better graphics
Made by Arush Diwakar
Feel free to modify and expand the game!