Cocos2d-x elementary school (13)-> tiled map editor

Source: Internet
Author: User

Reprinted! Please indicate the source when reprint: http://blog.csdn.net/aa4790139/article/details/8135831

I only developed the first game and didn't use the map editor. When I first entered the company, our department boss asked the planners to help me plan a racing game, I don't have much time to help me with the editor because of other colleagues in the small natural department, but the games behind me basically used the map editor. This is very convenient for our planners to configure a level, if you are a professional game, you will have your own editor. We must learn the editor ~ I will not talk much about it. Go to tiled map editor.

I spent a lot of time yesterday looking for materials, because it is related to our next game production ~ Look forward to it!

Tiled map editor: http://www.mapeditor.org/

1. Interface Recognition:

For the Chinese version, I will not introduce it much... let's talk about how to create a map, and then we canProgramHow to use it...

Step 1: Click Create

Step 2: Map-> Create a block

Step 3: Create a layer. Here I have created three layers... you can also use the default layer without creating a graph, and then fill the graph block in the graph block area with the map on your left ..

Step 4: Fill... add the corresponding item to the corresponding layer...

Step 5: export the. tmx file-Save As: Name confirmation OK...

Step 6: Program Implementation... Put .tmx and graph element .png under the project directory you created

Step 7: Run ~ Haha

Haha ~ Pretty pretty ~ I like it... last night, I also made a special PC bubble hall, so I felt very comfortable and saw the cute little guy...

Thank you for reading my blog and hope you can see your footprints!
If something is wrong or incorrect,I also hope you can point it out!

 

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.