Sharp Swiper is a swiping game modeled after Fruit Ninja with a few tweaks.
Sharp Swiper is a fun and interactive way to improve the speed and accuracy of a player with a mouse input. Rocks will fall at random intervals that decrease in time and increase in speed as the game continues. As the asteroids fall to the bottom of the screen swipe your cursor over the asteroids to destroy them. When 3 asteroids hit the ground, the game is over.
- Highscores are stored via local storage
- Smooth animations with both the position of the asteroids refreshing as well as the sprite rotation animation
- Collision detection with mousePos function detects when a collision occurs and fires a sound via the saberon.mp3. Likewise if a collision isn't detected and move is detected the light saber hum sound fires (as long as a hum sound isn't already playing)
- As game progresses the asteroids that fall past the bottom of the screen or as the asteroids are destroyed, the asteroids are recycled to the top of the screen allowing for improved efficiency
- The speed of the falling asteroids increases by 0.5 % each time an asteroid is destroyed
This project utilizes
- JavaScript
- HTML5
- CSS3
- Asteroid SpriteSheet:
- Krasi Wasilev
- https://opengameart.org/content/big-explosion
- Explosion SpriteSheet:
- Music:
- John Williams