In recent years, Java, as a new programming language, has been widely used for its simplicity, portability and platform independence. J2SE is called the Java Standard Edition or Java Standard Platform. J2SE provides a standard SDK development platform. The platform can be used to develop Java desktop applications and low-end server applications, as well as Java applets.
Super Mario Bros is a classic game that is popular because it is easy to play and entertaining. This game through the summary and analysis of JAVA game development process and code function design, the use of object-oriented design mode, all objects in the game to give the concept of objects and attributes. Developed a Super Mary game, the game is mainly divided into forms, scenes, Mario, enemies, obstacles and other categories. In the main program’s running thread, the user-controlled Super Mario moves with the d-pad and can perform some basic Functions in Mario games, such as stepping on enemies or toppling blocks. This game adopts double cache technology to solve the problem of flash screen during the game. Through the development of the game, to learn Java technology and familiar with the purpose of software development process.
* * * *
Project Structure:
* * * *
Project screenshots:
* * * *
Conclusion:
The program worked fine, with no major errors found. This system has basically realized the basic functions of Super Mario Games. Through the game design, my programming ability has been improved and I have developed good programming habits. This system has realized the basic functions of Super Mario Games. I am just at the beginning of such software development. I don’t know much about it, and my time and ability are limited. Therefore, it is not very good, the scene design and layout of the game is relatively simple, some modules and functions are not so perfect, there is no outstanding features, which may be the shortcomings of my program. Of course, this design has also made me deeply aware of the broad and profound Java language. I hope I can continue to learn and make progress in my work in the future, gradually learn and integrate this language through my own accumulation, and strive to become a Java technology development talent who can take the lead as soon as possible. Note: The source code can be downloaded at CSDN: Sun Call beast – Resources module
\