Android game development example-bullet screen + game

Source: Internet
Author: User

(Contains the source code and complete project ):
Http://loon-simple.googlecode.com/files/barrage%2Bslg.7z

Some time has not updated the blog, so the younger brother specially prepared two game examples at a time.

1. Bullet screen example:

This is a very simple bullet screen game example, using Touch Screen Control, but basicAlgorithmIt is common. It is not difficult to expand the bullet screen as a whole. In the real machine environment of android2.2, it can run to fps60 or above. (In addition, lgame itself provides AVG modules, which are naturally suitable for bullet screens)

 

 

2. Example of a game:

This is a long time ago for the LGame-J2SE version of the old example, I just transplanted it to the android environment, the source code does not change much (of course, adjusted to the touch screen ), it is the most basic SLG implementation, and the moving method is the shortest path. If you are interested, you can check it out (because the lgame will soon be built into the SLG development module, it doesn't matter if you skip it ~).

 

For specific implementation instructions, I have already added the source code. I will not describe it here. In short, it is a very simple implementation and I will understand it at a glance.

(Contains the source code and complete project ):
Http://loon-simple.googlecode.com/files/barrage%2Bslg.7z

____________________

The younger brother first wanted to launch a tower guard example. In fact, on Singles Day 11th, I did prepare an example of tower guard. However, the younger brother made a small mistake, that is, in this example, too many unreleased SLG modules were used early. If this example is issued, the lgame of the future version will be missing.


A


Version Number
(* ^_^ *)

Weigh the pros and cons, the younger brother decided not to release tower defense example (stay to be released together with the release of LGame-0.2.9 updates, By the way look for the figure, said the earliest materials used is very ugly, a little waste that example ......).

In addition, the previous section promised a netizen an example of a card game on Google, so I will write a small example of a card game (hichina card? Game king? Three Kingdoms Kill? Think about it ......)

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.