10 Java game source code (including Android)

Source: Internet
Author: User

Currently, the game source package included in this blog post is composed of eleven applet games (well, I admit that everyone has been cheated by the title, I just found that I put one more source code into the compressed package (-_-) Compressed ).

It is worth mentioning that these games are not released on javagametome or java4k, nor are they original games, instead, I gradually discovered and accumulated the "unpopular" Source code from some technical blogs in the United States and Japan (more accurately, it is a collection of "secondhand goods" compiled by some Applet programs, of course, the source code is called and configured as an Eclipse project ).

In fact, Because Java Development and Android development are only slightly different, any Java game can be easily transferred to the Android platform-the examples provided by younger brother are naturally no exception. For example, I have simplified three of them, and the game originally implemented for the applet has been converted to the Android version.

The following figure shows how the game runs:

I don't know if the source code is helpful to everyone. If the source code is helpful, the younger brother will issue several batches of source code in this way, but after the Java game source code is released, only C/C ++ can be implemented (the number of non-commercial JAVA games is too small ).

1: http://download.csdn.net/source/3553825

2 (expired): http://u.115.com/file/bhi30br3

----------

Younger brother recently divided the JAVA Implementation of lgame into two versions. One is to continue the standard version of lgame 0.3.1 and be developed with OpenGL (ES); the other is to continue the simple version of the 0.3 architecture, two jar packages, Lae (canvas implementation) and LSE (AWT implementation), are made according to the running environment. The version number is calculated independently from 1.0. The specific method of development should be determined based on actual needs (for example, the android game porting in the source code above uses the Lae package, which is closer to the standard Java interface and easier to transplant, the defect is that the speed is slow and the image stretching distortion is large ).

The latest lgame test package is as follows:

Http://loon-simple.googlecode.com/files/LGame-0.3.2-Test.7z

In addition to the STG development extension package, the core code of 0.3.2 is about this (the other difference with the official version is that the command class is not reconstructed, and there are still several functions not implemented in glex and glcolor, and Documentation completion), is expected to be officially released in early September, these days to study the Japanese version of RANS 8 ......

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.