Swift game Combat-Parkour Panda (i) Introduction (with source code)

Source: Internet
Author: User

Original: Swift game combat-Parkour Panda (i) Introduction (with source code)

Youku View Address: http://v.youku.com/v_show/id_XNzM2Nzc2MTIw.html

Through this little game we are able to access the physical system (Skphysicsbody,physicsworld), Action (skaction), sound footage playback, text label (Sklabelnode)

The features we implement are

Panda action Switch, run, jump, roll

Generation of landing platform, moving

The generation and movement of bamboo that pandas eat

How long did the panda run and how many bamboo was eaten?

Some details

Jumping to a high place to fall fast, the platform will have to sink up the action, because the panda is a fat.

The bamboo will have an aperture.

When the pandas take off and roll, there is dust behind them.

The shortcomings

The readability and quality of the code is not good because it is written casually. Over the next period of time, I will gradually refactor and write some corresponding tutorials. Please expect

Project file Address

Http://pan.baidu.com/s/1gd03gRL

Special Acknowledgement

Hangzhou June Road Network Technology Co., Ltd. allow me to use their game "parkour Panda" inside the material.

Swift game Combat-Parkour Panda (i) Introduction (with source code)

Related Article

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.