一个使用 JavaScript ES6、Canvas 开发的飞船射击类游戏
一个使用 JavaScript ES6、Canvas 开发的飞船射击类游戏
JavaScript 游戏开发
共158Star
详细介绍
English | 简体中文
Star Battle
A spaceship shooting game developed using JavaScript ES6, Canvas.
Topics in the 2017 Abu Dhabi World Skills Competition.
Demo Preview
Online view:link
Start interface
Game interface
End interface
Rank interface
Game Rules
- Press
W
、A
、S
、D
control spacecraft,PressSpace
fire. - The initial fuel value is 15. Decrement by 1 point per second. When the fuel value is 0, the game is over.
- The fuel bottle that touches it can be increased by 15 points and the maximum value is 30 points.
- Hit the enemy spacecraft to increase by 5 points. The planet needs to hit twice, increasing by 10 points. Hit the friend to deduct 10 points.
- Collision enemy loses 15 points of fuel, and the friendly party deducts 10 points.
- Game allows negative points.
- Press
P
Pause game. PressM
mute。
Author
Conclusion
If you think my project is good