11. spritekit journey-node carnival at the end, 11. spritekit journey

Source: Internet
Author: User
Tags spritekit

11. spritekit journey-node carnival at the end, 11. spritekit journey
11. spriteKit journey-node carnival at the end

This article isSprite kit journeyOf course, this is just the beginning. In addition, I have completed onesprite KitTeaching Software. We hope to provide more support.

Section directory:
01. About sprite_kit
02. SpriteKit Prospective View scenario
03. node tree of sprite_kit foresight
04. sprite_kit prospective texture
05. sprite_kit preview node Animation
06. sprite_kit: creating a "real" World
07. spritekit journey-create the first scenario
08. spritekit journey-scene animation
09. spritekit journey-scenario Switching
10. spritkit journey-use nodes to add content
11. spriteKit journey-node carnival at the end

In addition, my SpriteKit Note App has been available in the store, free of charge, no in-house purchase, no advertisement, real-time update of document content and Code, etc. Welcome to download, link: https://itunes.apple.com/cn/app/spritekit-note/id973093466? Mt = 8
The entry is complete, followed by the genie advanced article. It is expected to start in a month, but the app will be placed in advance. I hope you will receive a high praise after the download.

Question:

Based on our current knowledge, we can create multiple scenarios, multiple elements, and execute actions on each node. This looks great. At least we can take the lead. However, in actual game development, a large number of nodes must interact with each other in order to make a splendid spark. The following example shows how to add a new node (nodesAt present, I believe that many comrades from the beginning should understand the meaning of nodes.) in the scene, we will then use physical systems to simulate their running and execution collision effects. Something really cool!

ActionAndPhysic World.
Sprite KitThe framework provides a complete set of physical engines to simulate a near-real world. After you have configured the physical attributes of a node, it can be automatically executed! Of course, we also talked about it before.ActionBy designing a set of actions for the node to execute, of course it is good. Now we havePhysic WorldThe workload is greatly reduced. For example, you only need to configure the node quality, initial speed, and other attributes (associated with real life). After the attributes are put into the physical world, they will be automatically executed, if a collision occurs between the node and the node, the physical system can automatically calculate and execute the result after detecting it. Very awesome!

Practical demonstration: add physical simulation in Spaceship scenarios

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.