Changes

Jump to: navigation, search

An iOS 7 Sprite Kit Game Tutorial

42 bytes added, 19:59, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
The method then sets the position of the archer sprite so that it appears near the left hand edge of the scene before adding it as a child to the SKScene parent.
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
== Adding the Texture Atlas ==
}
</pre>
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
A new SKAction object is created, this time specifying a block of code to be executed. This run block calls the createArrowNode method, adds the new node to the scene and then applies an impulse force of 35.0 on the X axis of the scene. An SKAction sequence is then created comprising the previously created animation action and the new run block action. This sequence is then run on the archer node.
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">

Navigation menu