Android Game development Example--play screen + battle Chess

Source: Internet
Author: User

Download address (source code and complete Project project): http://loon-simple.googlecode.com/files/barrage%2Bslg.7z

There has been a period of time did not update the blog, so the younger brother deliberately prepared two games samples issued.

1. Example of the bomb screen:

This is a very simple example of the play screen game, using touch-screen control, but the basic algorithm is common, in order to expand into a complete barrage should not be difficult, in the Android2.2 of the real machine environment, you can run to FPS60 or above. (Moreover, Lgame itself provides an AVG module, natural Fit to do the barrage)

2, the game of chess example:

This is a long time ago for the lgame-j2se version of the old example, I have just transplanted it to the Android environment, the source code is not too much change (of course, adjusted to touch screen), is the most basic SLG implementation, mobile mode for the shortest distance path. Interested friends can see (since Lgame will soon be built into the SLG development module, so skip the look also does not matter ~).

On the specific implementation of the explanation, I have joined the source code, here no longer repeat, in short, are very very simple to achieve, a look at the understanding.

Download address (source code and complete Project project): http://loon-simple.googlecode.com/files/barrage%2Bslg.7z

____________________

in fact, the first thing I wanted to do was to send a tower defense example, and I did actually prepare an example of a tower defense on Singles Day 11th. However, the little brother made a small mistake, that is, too many SLG modules have been used earlier in the example, and if the example is emitted , a version number (* ^_^ *) will be missing for future versions of Lgame.

Weigh the pros and cons, the younger brother decided not to release the tower defense example (left to release LGame-0.2.9 update together release, by the way look for a map, saying the earliest use of material is difficult to see, a bit of waste that example ... )。

In addition, the previous paragraph in Google promised a user to do a card class game example, so the next time the example will write a card-like game of a small example (million wisdom card. Game King. The Three Kingdoms kill. Think again ... )

Related Article

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.