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 ... )