Using UML to build the frame of shooting game

Source: Internet
Author: User

When you meet the system design, you can analyze it, the system involves the key modules, how the modules are related, and then through the UML to draw the relationship between these modules, and finally start programming. Do not start programming at a glance, so late will be very troublesome, now shooting games, through the UML modeling example:

first of all, 3D shooting games generally The system is divided into three sub-modules: Shooting module, interface module and scene module. The shooting module includes the particle module, the interface module includes the initial interface, the control Panel, the user management and the level setting, the scene module includes the Solar Halo module, the tree module, the building module and the ground rendering module. The organic combination of these three subsystems constitutes a 3D shooting game.

650) this.width=650; "title=" 1111.png "src=" http://s3.51cto.com/wyfs02/M00/57/84/wKiom1ScuVKC8JfYAACsQ_K_ Pbw757.jpg "alt=" Wkiom1scuvkc8jfyaacsq_k_pbw757.jpg "/>

The game scene class diagram We are designed as follows:

650) this.width=650; "title=" 222.png "src=" http://s3.51cto.com/wyfs02/M00/57/84/ Wkiom1scubzqyowtaaecyezuujc104.jpg "alt=" Wkiom1scubzqyowtaaecyezuujc104.jpg "/>

The architecture package diagram of the game architecture is designed as follows:

650) this.width=650; "title=" 333.png "src=" Http://s3.51cto.com/wyfs02/M02/57/82/wKioL1ScutLxe50PAAFuZvEl_ Gc008.jpg "alt=" Wkiol1scutlxe50paafuzvel_gc008.jpg "/>

Game shooting of the Swimlane design diagram:

650) this.width=650; "title=" 444.png "src=" http://s3.51cto.com/wyfs02/M02/57/84/ Wkiom1scunpcv7b3aaiq00hnqnw387.jpg "alt=" Wkiom1scunpcv7b3aaiq00hnqnw387.jpg "/>

The overall architecture of the 3D shooting game, and use rational rose modeling tools to design the game's various module class views.

By designing the results we achieve:

650) this.width=650; "title=" 555.jpg "src=" http://s3.51cto.com/wyfs02/M00/57/82/ Wkiol1scvcwcerxyaacz0jr1hys224.jpg "alt=" Wkiol1scvcwcerxyaacz0jr1hys224.jpg "/>

Everyone in the design of the use of UML modeling tools, so that the early work, although more, the later effect will be better.

This article is from the "Kaiyukan mobile" blog, so be sure to keep this source http://jxwgame.blog.51cto.com/943299/1596121

Using UML to build the frame of shooting game

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.