Discover simple java 2d game source code, include the articles, news, trends, analysis and practical advice about simple java 2d game source code on alibabacloud.com
Write by nine days Yan Ling (jtianling) -- blog.csdn.net/vagrxie
Discuss newsgroups and documentsPreface
If you do not know about orx at all, refer to the orx library I wrote.And the official homepage.
I have been learning orx for a long time, but I have only learned some basic usage and have not studied the source code. When I use orx to write a game, I am often
the efficiency and implementation issues. In addition, for C ++, you can also reload the standard library container distributor. For the above method and the method of reloading the container distributor, refer to the sgi stl implementation. (Detailed description in Hou Jie STL source code analysis)In fact, memory management is not only for efficiency considerations in C/C ++, but also for Memory leakage d
Unity 2D Game Development QuickStart 1th creating a simple 2D gameEven now, many novice game developers, when it comes to unity, still think unity can only be used to make 3D games. In fact, when Unity released its 4.3 release in 2013, it started offering support for
A simple game source codeAuthor: Chen yuefeng from: http://blog.csdn.net/mailbomb to achieve a simple flop game, each open up to two numbers, if the number is the same then disappear, otherwise the two numbers are not displayed, you can continue the
explained after the entire example is written ......
Slgsimple (SLG game development Entry Example ):
This demo case should be the most complete of the sample programs currently provided. However, if blog posts only write three times, they will be interrupted due to a problem. If they are okay, they will not bother to write blog posts ......
Etcsimple (ETC game development example ):
Early trainer
encoded in each chapter and use them to improve the game and your 2D game development skills!What you will learn from this bookCreate a 2D game using unity 4.3's native 2D TechnologiesControl collisions using layered collision ma
Hongye Qingcheng one-click webpage game server + client (no need to install Java) source code, no need to install java
Qingcheng's one-click installation version server (including the client), without the need to install Java, yo
Idle and boring,I wrote three games. The basic knowledge points are as follows:Three elimination games:The principle is a two-dimensional array,Parkour games:Collision between tiledmap, Sprite, animation layer, and map layerAnti-tower games:Cocostudio UI Editor, animation Editor, scenario editor, and dynamic scenario acquisitionUi editor AnimationTiledmap, Action animation, automatic Node DeletionLevel Data configuration file, level switchAsynchronously load Resources----------------------------
Recommended for learning unity scripts: index on the unity3d Official Website
We recommend that you use the fingergestures plug-in for mouse gestures :.
You can also write scripts by yourself.
The source code of a simple demo script is as follows:
// Bind the reference object var target: transform; // The scaling factor var distance = 10.0; // The left and righ
The parent of each object in the gamePackage Cn.littlepage.game;import Java.awt.graphics;import Java.awt.image;import java.awt.Rectangle;PublicClassGameobject {/** Any 2D game must have pictures, coordinates, speed, size, rectangle (Collision detection) * So this can be made into a 2D game of the parent class*/PublicIm
);}}-----------------------------------------------------------------------------------------------Summary: The small game on the packaging of the code is better, easy to expand the program, embodies the powerful object-oriented, different functions encapsulated in different classes and methods, the common parts of the class encapsulated in the parent class, improve cod
Java Solar System Small game analysis and source code-20150809Recently looked at some object-oriented knowledge. Then follow the teacher's commentary made a solar system of the planets around the sun to the game, to practice consolidating the knowledge of recent studies:Know
The one-click installation version of the service side (including the client), no need to install Java, directly start the server to enter the game!!!New open to add the first GM method:Register your account and log into the game after creating a role name, enter the Gmgrade player role name in the server console 255That is, the role is successfully upgraded to G
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.