Free Self-study cocos2d-js2016 original video tutorial (episode 17)

Source: Internet
Author: User

Code: HTTP://WWW.H5EDU.CN/INDEX.PHP?C=INDEX&A=STEP&LESSONID=53

Video: Http://pan.baidu.com/s/1eQQo8AA Password: Please add QQ Group: 461039382

The 1th chapter adds the picture and the text
This chapter mainly explains Cocos2d-js add picture sprites and text, set their coordinates, and change the color of the font
2nd. Timing Scheduler and Action behavior
This chapter mainly explains the action:
Common actions: Move, Rotate, scale, Fade, Tint, etc. Combo action: Sequence, Spawn, Repeat, Reverse variable speed action: Exp, Sin, Cubic, Elastic, etc. Other actions: Callfunc, Orbitcamera, follow, Tween, and timing Scheduler schedule use
3rd. Planning tasks and action sequences
Common actions: Move, Rotate, scale, Fade, Tint, etc. Combo action: Sequence, Spawn, Repeat, reverse, and schedule,scheduleupdate, Use of Scheduleonce
4th Chapter Setlocalzorder Use and creation of menus
Setlocalzorder, Setzorder use and create menus
5th. Scene jump and create scene
Get a click on the menu to jump to the corresponding interface, two scenes between the mutual jump, will be able to achieve a jump between multiple scenes later
6th Chapter Add return
Add a return button and click the Back button to return to the main screen
7th chapter gesture Recognition and event handling
Gesture recognition and event handling, when you click on the screen afterwards, do the corresponding action, drag the event to do the post-processing
8th Pre-loading resources
Pre-load the image resources and other resources you want to use in memory, so you can increase the speed of running
The 9th chapter realizes the frame animation
Mainly explain the use of frame animation, CC. Animation (), CC. Animate (), CC. RepeatForever () and other knowledge
10th. Play/Pause music and sound effects
This chapter focuses on loading music and sound effects, playing/pausing music and the implementation of sound effects
Cocos-framwork API
11th Chapter Cocos2d-js calling Cocostudio exported files
Cocos2d-js call Cocostudio exported files, JSON file loading, Function button acquisition, click event Processing and other knowledge
12th. Get TextField Content
Cocos2d-js call Cocostudio exported files, JSON file loading, Function button acquisition, click event Processing, get TextField text content and other knowledge
13th Chapter Loading Particle effects
Use the particle editor such as particleeditor to export the desired particle effect and use JS to load
14th Chapter Eating Cake Games 1-adding sprites in arrays
Array of definitions, adding sprites to the array, removing sprites and other actions, adding multiple sprites
15th Chapter Eating Cake Game 2-random appearance of sprites and touch monitoring
Randomly generated sprites, randomly appearing in different places, then displaying collision detection between two sprites
16th Chapter Eating Cake Game 3-Collision detection
A collision test between a beautiful woman and a variety of ice creams
17th Chapter Eating Cake Game 4-adding fractions and randomly producing different ice cream
Add fractions and randomly produce different ice creams

Free Self-study cocos2d-js2016 original video tutorial (episode 17)

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.