Cocos code ide + Lua shanzhai pixel dungeon (1)

Source: Internet
Author: User

Preface:

Recently in the study of Cocos2d-x, although previously using vs2012 + C ++ to write a few very small and boring games, but Cocos code ide + Lua was just recently started to learn. I was the first to come into contact with the Lua language, because I was too lazy to learn its syntax structure, so I could learn and use other people's source code directly. Cocos code IDE is developed based on Eclipse. Since we have been developing Android before, eclipse is easy to use. I personally think eclipse is better than... But since Cocos code IDE was just released a few months ago, there are still many imperfections, and I believe there will be improvements in the future.

Recently, I have been addicted to the pixel dungeon game, which has been abused for hundreds of times. So I decided to use this game as a programming exercise.

Preparation:
    • First of all, a Cocos code IDE is required. For detailed development environment configuration, click here.
    • Download and install tiled to draw a map ..
    • Obtain game images and music resources. First download the APK file of the game "pixel underground city" and decompress it to open the file. There is an assets folder in which the game pictures and music are all in it.

 

Not complete...

 

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.