canvasgamekit-dalil4
v2.5.3
Published
This repository contains a JavaScript game implemented using HTML5 canvas.
Downloads
7
Maintainers
Readme
CanvasGameKit
Description
This repository contains a JavaScript game implemented using HTML5 canvas. The game features player movement, enemy spawning, collision detection, keyboard controls, and power-ups.
Instructions
To run the game, simply open the index.html
file in a web browser. The game will start automatically.
Game Controls
- Use the arrow keys (up, down, left, right) to move the player.
- Avoid colliding with the red enemies while collecting yellow power-ups.
Features
- Player movement: The player can move around the canvas using the arrow keys.
- Enemy spawning: Enemies spawn randomly on the canvas at regular intervals.
- Collision detection: If the player collides with an enemy, the enemy is removed from the game.
- Keyboard controls: The player movement is controlled using keyboard inputs.
- Power-ups: Yellow power-ups spawn randomly on the canvas, providing additional game features when collected.
Future Improvements
- Add scoring system.
- Implement different levels with increasing difficulty.
- Add sound effects and background music.
- Include additional power-up types with unique effects.
Contribution
Contributions are welcome! Feel free to open an issue or submit a pull request with any improvements or bug fixes.
Acknowledgements
This game was inspired by various online tutorials and resources on HTML5 canvas game development.