A browser-based shooting game built with vanilla JavaScript where players defend against waves of enemies and challenging boss battles. This is more developed game from the previoudsly py plane game that i post and this is stil WIP! https://github.com/Kokorody/simple-python-mini-game.git
-
Player Controls:
- WASD keys for movement
- Spacebar to shoot
- ESC to pause
- 'I' key to toggle invincibility (debug mode)
-
Gameplay Elements:
- Regular enemies with shooting capabilities
- Boss battles every 200 points (first boss at 100 points)
- Time-based scoring system
- Kill enemies to extend play time (+2 seconds per kill)
- Start screen with instructions
- Pause functionality
- Game over screen with restart option
-
Boss Mechanics:
- 50 HP health system
- Multiple shooting patterns
- Dynamic movement patterns
- Rewards 50 points when defeated
- Clone the repository:
git clone https://github.com/Kokorody/InWeb-game.git- Navigate to the project directory:
cd InWeb-game- Start a local server (using VS Code Live Server or similar)
- Open
src/index.htmlin your browser
- Click "Start Game" to begin
- Move your ship using WASD keys
- Shoot enemies with spacebar
- Press ESC to pause the game
- Avoid enemy bullets and collisions
- Collect points by destroying enemies
- Face boss battles at score milestones
- Survive as long as possible!
shooting-game/
├── src/
│ ├── index.html
│ ├── styles/
│ │ └── style.css
│ ├── scripts/
│ │ ├── game.js
│ │ ├── player.js
│ │ ├── enemy.js
│ │ ├── boss.js
│ │ └── bullet.js
│ └── assets/
│ ├── player.png
│ ├── enemy.png
│ ├── boss.png
│ └── background.jpg
└── README.md
- HTML5 Canvas
- Vanilla JavaScript
- CSS3
To modify or enhance the game:
- Fork the repository
- Make your changes
- Test using a local server
- Submit a pull request
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Boss bullets may occasionally have irregular patterns
- Background image might take a moment to load
- the game is too hard XD, you can adjust it easily btw
- long ahh loading after game over
