Cocos2d-js Mini Game Hungry-hero (Original is Flash starling)

Source: Internet
Author: User

Before looking at Starling data, found India a high man's hungry-hero, worship the sentiment arises spontaneously.

Now just take the material to make a cocos2d-js version. Temporarily running the flash on the phone, there is no time to see the specific reasons.

Running under Chrome, memory control is good, and Cocos2d-js's object pool and particle system recycling are good.

Demo Address: (No packaging compression, COCOS2D-JS has a problem with the compression, and the English website Builder Packaging version of the lack of cc.pool, lazy self-toss compression, directly all copy up, so open slower, please wait patiently)

Http://kenkozheng.github.io/cocos/hungry_hero/index.html

Code Address:

Https://github.com/kenkozheng/cocos2d-js/tree/master/hungry_hero

Used in the game:

1. Parallel background (self-implemented, unofficial version)

2. Object Pool (Cc.pool)

3, particle system (CC. Particlesystem)

4, Bitmap font (CC. Labelbmfont)

5, Batch rendering layer (CC. Spritebatchnode)

Game Introduction:

The Superman goal is to eat as much food as possible, mushrooms can give Superman the ability to absorb, the food is sucked over, coffee can let Superman accelerate, the acceleration of the state of madness can be knocked off the barrier.

Cocos2d-js Mini Game Hungry-hero (Original is Flash starling)

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.