My plane game by javascript

Here is my demo, currently the demo is very simple. user could control a plane and fire bullets. All the control is achieved by using javascript and css.


in this demo, I achieved :

1. scroll the background, let the plane has a fly effects

2. observer the event, make the plane could move up, down, left and right.

3. when plane move, using css to control the its image, make it has fly gesture.

4. observer events of firing bullets.

5. fly the bullets.

I will elaborate those steps in detail.

This entry was posted in programming and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s