Nico Game Studio 1. Basic UI and map editing basic features

Source: Internet
Author: User

Completed the basic interface.

Originally wanted to draw the UI, but given the large amount of work and the limited aesthetics, as well as the use of the tool object is relatively junior players, at a cost-effective and original purpose, abandoned self-painting.

Although the individual prefers black, the tool is developed to be used for everyone, but also for the novice user, so it is easier to get started with a more simple interface.

And so it became.

The tree view here is still self-painted, the original + number is not applicable.

Progress is slow.

Always do a step to think of a lot, whether the latter will need to modify the place, how to do the best.

For beginners game developers, such an interface should be more accustomed to accept the fast.

Current completion content:

1. Basic UI Framework, map additions and deletions

2. Edit the grid plot of a single map, and you can't add textures or anything.

3. The lens control of the map edit viewport.

Talk about the design ideas that are used at the moment.

The large framework is the component pattern. The various controls are pieced together in a single main window, and each custom control completes a separate function as a component.
Also the view layer.

The model layer contains the data that all the project files need to be saved. Use the C # Self-serialization feature to save.

Because the logic code is relatively not very complex, it is placed under the view control, not a logical layer out of it.

As a,view-> event->view code for Business processing, update model-> send data Update notification, the recipient subscribes to the event and processes it.

Similar to active MVC mode.

There's a better place to share: I learned angular. Implements the two-way binding between the control's child control values and the model.

The principle is also simple, which is to traverse all child controls and reflection to create objects.

So a from in all fill in the content, a code to get the model object, and vice versa.

The meaning of this tool is:

Make it easy for someone who doesn't write code to develop a 2D desktop game.

All features are as easy to use as possible.

Nico Game Studio 1. Basic UI and map editing basic features

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.