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 Kit
Teaching 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 (nodes
At 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