<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>cocos2d for iPhone &#187; Tag: deprecated - Recent Posts</title>
		<link>http://www.cocos2d-iphone.org/forum/tags/deprecated</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 03:34:05 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.cocos2d-iphone.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.cocos2d-iphone.org/forum/rss/tags/deprecated" rel="self" type="application/rss+xml" />

		<item>
			<title>clarus on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126240</link>
			<pubDate>Tue, 15 Nov 2011 22:57:24 +0000</pubDate>
			<dc:creator>clarus</dc:creator>
			<guid isPermaLink="false">126240@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Yes. Again, you shouldn't need to do that, but if you do for some reason, just add the (NSDictionary *) where I show. You'll need to drill down on those warnings again to find the lines causing them (which are the lines you're changing).</p>
<p>Note that these warnings won't stop your build from running, unless you have the "treat warnings as errors" build setting set. So, if your build isn't running in the simulator for example, there's still some other problem. If that's the case, fix that problem first because it might solve this one.
</p></description>
		</item>
		<item>
			<title>MaartenWinkels on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126231</link>
			<pubDate>Tue, 15 Nov 2011 20:51:22 +0000</pubDate>
			<dc:creator>MaartenWinkels</dc:creator>
			<guid isPermaLink="false">126231@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>how could i change this just copy and paste in that file?
</p></description>
		</item>
		<item>
			<title>clarus on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126226</link>
			<pubDate>Tue, 15 Nov 2011 20:30:04 +0000</pubDate>
			<dc:creator>clarus</dc:creator>
			<guid isPermaLink="false">126226@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Strange. I don't know why you're getting those warnings. Did you get any warnings about header files that couldn't be found or anything like that?</p>
<p>This will make the compiler happy without really changing anything, but it's odd that you're even seeing those--I haven't. The compiler is confused about which attributes method is being called.</p>
<p>Edit ZAttributedString.m:</p>
<p>For the first one, change:</p>
<p>ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range) attributes:[[_attributes lastObject] attributes]];</p>
<p>to:</p>
<p>ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range) attributes: (NSDictionary *) [[_attributes lastObject] attributes]];</p>
<p>For the second one, change:</p>
<p>ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range) attributes:[[_attributes objectAtIndex:firstAfter-1] attributes]];</p>
<p>to:</p>
<p>ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range) attributes: (NSDictionary *) [[_attributes objectAtIndex:firstAfter-1] attributes]];
</p></description>
		</item>
		<item>
			<title>MaartenWinkels on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126224</link>
			<pubDate>Tue, 15 Nov 2011 20:14:04 +0000</pubDate>
			<dc:creator>MaartenWinkels</dc:creator>
			<guid isPermaLink="false">126224@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>if (((ZAttributeRun *)[_attributes lastObject]).index &#60; NSMaxRange(range)) {<br />
		NSRange subrange = NSMakeRange(first, [_attributes count] - first);<br />
		if (NSMaxRange(range) &#60; [_buffer length]) {<br />
			ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range) attributes:[[_attributes lastObject] attributes]];<br />
			[_attributes addObject:newRun];<br />
			[newRun release];<br />
		}<br />
		return subrange;</p>
<p>and this one around the other one }<br />
		if ([[_attributes objectAtIndex:firstAfter] index] &#62; NSMaxRange(range)) {<br />
			// the first after is too far after, insert another run!<br />
			ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range)<br />
															  attributes:[[_attributes objectAtIndex:firstAfter-1] attributes]];<br />
			[_attributes insertObject:newRun atIndex:firstAfter];<br />
			[newRun release];<br />
		}<br />
		return NSMakeRange(lastIn, firstAfter - lastIn);
</p></description>
		</item>
		<item>
			<title>clarus on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126222</link>
			<pubDate>Tue, 15 Nov 2011 20:11:06 +0000</pubDate>
			<dc:creator>clarus</dc:creator>
			<guid isPermaLink="false">126222@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>&#62;&#62; Can you post some of the code around the warning (click on the warning to see that)?
</p></description>
		</item>
		<item>
			<title>MaartenWinkels on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126221</link>
			<pubDate>Tue, 15 Nov 2011 20:02:52 +0000</pubDate>
			<dc:creator>MaartenWinkels</dc:creator>
			<guid isPermaLink="false">126221@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>fixed all the CLScoreServerRequest.m erros and  CLScoreServerPost.m<br />
But i dunno how to fix the errors about  ZAttributedString.m</p>
<p>gr maarten
</p></description>
		</item>
		<item>
			<title>clarus on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126199</link>
			<pubDate>Tue, 15 Nov 2011 16:40:12 +0000</pubDate>
			<dc:creator>clarus</dc:creator>
			<guid isPermaLink="false">126199@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>&#62;&#62; Deprecations: 'uniqueIdentifier' is deprecated</p>
<p>This is because, in iOS 5, Apple is encouraging us to use a different approach, outlined in their documentation for uniqueIdentifier. The uniqueIdentifier method is still available, but you'll get a warning because at some time in the future (likely a ways away) Apple may drop it in a future iOS release. By the way, the fact that you're seeing this indicates that your project is only set up to run on iOS 5 devices. If that's not what you wanted, go to your project settings (click the blue project file icon at the top of your file list), then the summary panel for the target you're building. Change the Deployment Target to 4.0 or the like.</p>
<p>Xcode 4.2 tends to default to a 5.0 deployment target for new projects. Because of that, it also defaults to only supporting armv7, which will make your app fail on earlier iPod Touches. So, if iOS 5.0 is not your minimum operating system, also go to the Build Settings tab and change the build architectures at the top by adding armv6. You can either add that to what's there or just replace that with two items, armv6 and armv7</p>
<p>&#62;&#62; warning: incompatible Objective-C types 'struct NSArray *', expected 'struct NSDictionary *' when passing argument 2 of 'initWithIndex:attributes:' from distinct Objective-C type</p>
<p>This sounds like a bug in the sample code. Can you post some of the code around the warning (click on the warning to see that)? It indicates that an array object is being passed instead of a dictionary object as the 'initWithIndex:attributes'  method expects.
</p></description>
		</item>
		<item>
			<title>MaartenWinkels on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126146</link>
			<pubDate>Tue, 15 Nov 2011 08:40:20 +0000</pubDate>
			<dc:creator>MaartenWinkels</dc:creator>
			<guid isPermaLink="false">126146@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hello Clarus,</p>
<p>Ty for your reply, i've resolved the problems with giving the maps permission with sudo. Coco2d is now compiled, and works fine even its buildable but when i build i get  8 warmings </p>
<p>CLScoreServerPost.m</p>
<p>/Users/Maarten/Desktop/IphoneAppDevelopment/projecten/CocosExpampleApp/CocosExpampleApp/libs/cocoslive/CLScoreServerPost.m:129: warning: 'uniqueIdentifier' is deprecated (declared at /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:64)</p>
<p>file://localhost/Users/Maarten/Desktop/IphoneAppDevelopment/projecten/CocosExpampleApp/CocosExpampleApp/libs/cocoslive/CLScoreServerPost.m: warning: Deprecations: 'uniqueIdentifier' is deprecated</p>
<p>CLScoreServerRequest.m</p>
<p>/Users/Maarten/Desktop/IphoneAppDevelopment/projecten/CocosExpampleApp/CocosExpampleApp/libs/cocoslive/CLScoreServerRequest.m:80: warning: 'uniqueIdentifier' is deprecated (declared at /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:64)</p>
<p>file://localhost/Users/Maarten/Desktop/IphoneAppDevelopment/projecten/CocosExpampleApp/CocosExpampleApp/libs/cocoslive/CLScoreServerRequest.m: warning: Deprecations: 'uniqueIdentifier' is deprecated</p>
<p>And</p>
<p>ZAttributedString.m</p>
<p>/Users/Maarten/Desktop/IphoneAppDevelopment/projecten/CocosExpampleApp/CocosExpampleApp/libs/FontLabel/ZAttributedString.m:462: warning: incompatible Objective-C types 'struct NSArray *', expected 'struct NSDictionary *' when passing argument 2 of 'initWithIndex:attributes:' from distinct Objective-C type</p>
<p>/Users/Maarten/Desktop/IphoneAppDevelopment/projecten/CocosExpampleApp/CocosExpampleApp/libs/FontLabel/ZAttributedString.m:486: warning: incompatible Objective-C types 'struct NSArray *', expected 'struct NSDictionary *' when passing argument 2 of 'initWithIndex:attributes:' from distinct Objective-C type</p>
<p>file://localhost/Users/Maarten/Desktop/IphoneAppDevelopment/projecten/CocosExpampleApp/CocosExpampleApp/libs/FontLabel/ZAttributedString.m: warning: Semantic Issue: Incompatible pointer types sending 'NSArray *' to parameter of type 'NSDictionary *'</p>
<p>file://localhost/Users/Maarten/Desktop/IphoneAppDevelopment/projecten/CocosExpampleApp/CocosExpampleApp/libs/FontLabel/ZAttributedString.m: warning: Semantic Issue: Incompatible pointer types sending 'NSArray *' to parameter of type 'NSDictionary *'</p>
<p>How to fix this?</p>
<p>Gr Maarten
</p></description>
		</item>
		<item>
			<title>clarus on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126071</link>
			<pubDate>Tue, 15 Nov 2011 00:41:24 +0000</pubDate>
			<dc:creator>clarus</dc:creator>
			<guid isPermaLink="false">126071@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>You need to post the errors you're getting for anyone to help.</p>
<p>As for the examples in their video, it sounds like they were showing you the demos that are in the cocos2d projects if you look in the cocos2d source folder.
</p></description>
		</item>
		<item>
			<title>MaartenWinkels on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126046</link>
			<pubDate>Mon, 14 Nov 2011 22:35:56 +0000</pubDate>
			<dc:creator>MaartenWinkels</dc:creator>
			<guid isPermaLink="false">126046@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hello ty for your reply i"ve just read that i had installed the wrong cocos version so i download he one for xcode 4.2 but when i just compiled the helloworld app i got 16errors 2 of them wih acces denied and the other 14 about unabls to create something . </p>
<p>Could anyone help me out this problem i can you if you want.
</p></description>
		</item>
		<item>
			<title>actinism on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126045</link>
			<pubDate>Mon, 14 Nov 2011 22:26:27 +0000</pubDate>
			<dc:creator>actinism</dc:creator>
			<guid isPermaLink="false">126045@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>excuse me, but the editor-colors (syntax highlighting, theming) you can personal change in the settings/options in xcode.</p>
<p>if you really think you could doubleclick on xcode and see the same "libraries" on your screen like in the movies you've told, you really need to do some groundwork from the beginning.</p>
<p>1) understand an IDE (xcode + corresponding tools and source files, frameworks)<br />
2) how to setup an IDE<br />
3) how to use an IDE</p>
<p>i hope not to drag you off the line, but as long as i understand your posting, you're not even familiar with the basic concepts of programming.
</p></description>
		</item>
		<item>
			<title>MaartenWinkels on "Cocos2d Wont work."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/22756#post-126007</link>
			<pubDate>Mon, 14 Nov 2011 18:29:26 +0000</pubDate>
			<dc:creator>MaartenWinkels</dc:creator>
			<guid isPermaLink="false">126007@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hello everybody,</p>
<p>My name is Maarten Winkels, I am a dutch Lawstudent with an hobby of developing and designing games. I've worked in the past with gamesalad but that bugged too much. So one of my friends told me about Xcode and Cocos2d, so i've download it and installed it. I've watched some tutorials about it from bobueland.com And there was the mistake. When bobueland is developing in his movies he write CC and than a libery open up with a load of examples and stuff when i write it in a cocos2d application in xcode 4.2 it doesnt appear at all. Even the colors are diffrent in his movies CCcodes and stuff have colors like gray or red in my xcode its only black and red. </p>
<p>Could anyone please help me with this.</p>
<p>Gr Maarten Winkels<br />
xfire: maartenwinkels<br />
msn: <a href="mailto:maarten_holland_11@hotmail.com">maarten_holland_11@hotmail.com</a>
</p></description>
		</item>
		<item>
			<title>lindon-fox on "CCColorLayer is also deprecated in .99.5"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/11957#post-109785</link>
			<pubDate>Wed, 10 Aug 2011 03:46:44 +0000</pubDate>
			<dc:creator>lindon-fox</dc:creator>
			<guid isPermaLink="false">109785@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Thank you!
</p></description>
		</item>
		<item>
			<title>NOG on "Starting to lose my patience in just making particles"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17638#post-99070</link>
			<pubDate>Tue, 14 Jun 2011 21:52:14 +0000</pubDate>
			<dc:creator>NOG</dc:creator>
			<guid isPermaLink="false">99070@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>It seems when I scroll my map the particles move with me a little, instead of going off screen. Know anything about this?</p>
<p>I saw a thread here that looks like it relates to my problem:<br />
<a href="http://www.cocos2d-iphone.org/forum/topic/2954" rel="nofollow">http://www.cocos2d-iphone.org/forum/topic/2954</a></p>
<p>But my Cocos2d version doesn't seem to know what centerofgravity is.
</p></description>
		</item>
		<item>
			<title>NOG on "Starting to lose my patience in just making particles"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17638#post-99038</link>
			<pubDate>Tue, 14 Jun 2011 18:37:28 +0000</pubDate>
			<dc:creator>NOG</dc:creator>
			<guid isPermaLink="false">99038@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Thank you so much actinism!
</p></description>
		</item>
		<item>
			<title>actinism on "Starting to lose my patience in just making particles"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17638#post-99032</link>
			<pubDate>Tue, 14 Jun 2011 18:17:57 +0000</pubDate>
			<dc:creator>actinism</dc:creator>
			<guid isPermaLink="false">99032@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>if you have a gamelayer node or something like this, do the following:</p>
<pre><code>// particle emitter test
CCParticleSystem	 *emitter = [CCParticleSystemQuad particleWithFile:@&#34;peffect_roofsmoke.plist&#34;];
[emitter setPosition:ccp(72.0f,224.0f)];
[self addChild:emitter z:10];</code></pre>
<p>change the plist file with one of yours... oh, i forgot to mentioned to place this fragment to your node init() or in onEnter()</p>
<p>i used this code fragment to test particle emitter onto my tilemap node... worked fine from 0.99.5 to 1.0.0-rc3
</p></description>
		</item>
		<item>
			<title>NOG on "Starting to lose my patience in just making particles"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17638#post-99030</link>
			<pubDate>Tue, 14 Jun 2011 18:09:22 +0000</pubDate>
			<dc:creator>NOG</dc:creator>
			<guid isPermaLink="false">99030@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>For the past couple of hours I've attempted to create a particle system to show up on my game... anything to start off with then I can tweak it to my liking. The problem is that everything I find is out of date, even on the Cocos2D website, i.e.:</p>
<p><a href="http://code.google.com/p/cocos2d-iphone/source/browse/trunk/cocos2d/ParticleExamples.h?r=1040&#38;spec=svn1324">ParticleExamples.h</a><br />
&#60;a href="http://code.google.com/p/cocos2d-iphone/source/browse/trunk/cocos2d/ParticleExamples.m?r=857&#38;spec=svn901<br />
"&#62;ParticleExamples.m</p>
<p>^^ can't edit that link to include the ending tag for some reason</p>
<p>I don't want to sound like I'm complaining, and I also may be wrong about it entirely, but errors say TextureMgr.h, Director.h, PointParticleSystem and QuadParticleSystem have no such file or directory.  I think they have just been renamed, but that doesn't clarify if they will still work if they are renamed or that there's any working examples out there.</p>
<p>Please, if anyone could just paste a simple example that works in v0.99.5 of what should be in a header and main of the CCLayer that I'm seeing my game in would be much appreciated.  It doesn't even have to be subclassed. Thanks
</p></description>
		</item>
		<item>
			<title>xixidaguai on "CCColorLayer is also deprecated in .99.5"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/11957#post-95616</link>
			<pubDate>Thu, 26 May 2011 09:49:45 +0000</pubDate>
			<dc:creator>xixidaguai</dc:creator>
			<guid isPermaLink="false">95616@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>thank you very much, you help me out!
</p></description>
		</item>
		<item>
			<title>PAj on "Fixing previous vrope code"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/15243#post-86470</link>
			<pubDate>Mon, 04 Apr 2011 07:26:58 +0000</pubDate>
			<dc:creator>PAj</dc:creator>
			<guid isPermaLink="false">86470@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>This worked ... </p>
<p>Replace:</p>
<p><code>CCSprite *tmpSprite = [CCSprite spriteWithSpriteSheet:spriteSheet rect:CGRectMake(0,0,multiplier,[[[spriteSheet textureAtlas] texture] pixelsHigh])];</code></p>
<p>With:</p>
<p><code>CCSprite *tmpSprite = [CCSprite spriteWithBatchNode:spriteSheet rect:CGRectMake(0,0,multiplier,[[[spriteSheet textureAtlas] texture] pixelsHigh])];</code></p>
<p>Sorry for the clutter.
</p></description>
		</item>
		<item>
			<title>PAj on "Fixing previous vrope code"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/15243#post-86462</link>
			<pubDate>Mon, 04 Apr 2011 07:13:22 +0000</pubDate>
			<dc:creator>PAj</dc:creator>
			<guid isPermaLink="false">86462@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Had some code for verlot rope and it worked fine. Upgraded to 0.99.5 and discovered CCSpriteSheet replaced with CCSpriteBatchNode. Got most of it working except this line:</p>
<p><code>CCSprite *tmpSprite = [CCSprite spriteWithSpriteSheet:spriteSheet rect:CGRectMake(0,0,multiplier,[[[spriteSheet textureAtlas] texture] pixelsHigh])];</code></p>
<p>Found that spriteWithSpriteSheet could be replaced with createSpriteWithRect ... </p>
<p>Replaced it with this:<br />
<code>CCSprite *tmpSprite = [CCSprite createSpriteWithRect:CGRectMake(0,0,multiplier,[[[spriteSheet textureAtlas] texture] pixelsHigh])];</code></p>
<p>but crashing out with:</p>
<blockquote><p>[CCSprite createSpriteWithRect:]: unrecognized selector sent to class 0x147450
</p></blockquote>
<p>Obviously not liking the rect I'm defining.</p>
<p>Any suggestions or hints?</p>
<p>Thanks!
</p></description>
		</item>
		<item>
			<title>juliusdays on "CCColorLayer is also deprecated in .99.5"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/11957#post-82608</link>
			<pubDate>Wed, 16 Mar 2011 08:12:03 +0000</pubDate>
			<dc:creator>juliusdays</dc:creator>
			<guid isPermaLink="false">82608@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>thanks.. it help me out :D
</p></description>
		</item>
		<item>
			<title>zstaiji on "CCColorLayer is also deprecated in .99.5"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/11957#post-70219</link>
			<pubDate>Mon, 10 Jan 2011 12:16:45 +0000</pubDate>
			<dc:creator>zstaiji</dc:creator>
			<guid isPermaLink="false">70219@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>It was explained in CCLayer.h</p>
<p>/** CCColorLayer<br />
 It is the same as CCLayerColor.</p>
<p> @deprecated Use CCLayerColor instead. This class will be removed in v1.0.1<br />
 */<br />
DEPRECATED_ATTRIBUTE @interface CCColorLayer : CCLayerColor<br />
@end</p>
<p>Use CCLayerColor    : )
</p></description>
		</item>
		<item>
			<title>favog on "CCColorLayer is also deprecated in .99.5"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/11957#post-67490</link>
			<pubDate>Sat, 18 Dec 2010 00:23:11 +0000</pubDate>
			<dc:creator>favog</dc:creator>
			<guid isPermaLink="false">67490@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Just giving everyone a heads-up.  CCColorLayer has been deprecated in .99.5 and has been replaced with CCLayerColor.  Kinda surprised going from an rc to stable.  Took me forever to figure out.  </p>
<p>I'm sure there are other things out there.  Pay close attention to the release notes. <a href="http://www.cocos2d-iphone.org/wiki/doku.php/release_notes:0_99_5" rel="nofollow">http://www.cocos2d-iphone.org/wiki/doku.php/release_notes:0_99_5</a></p>
<p>Hope this may help someone.
</p></description>
		</item>
		<item>
			<title>crmagicxxx on "CCAnimation animationWithName: is deprecated in .99.5"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/11956#post-67486</link>
			<pubDate>Fri, 17 Dec 2010 23:46:06 +0000</pubDate>
			<dc:creator>crmagicxxx</dc:creator>
			<guid isPermaLink="false">67486@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p><a href="https://github.com/cocos2d/cocos2d-iphone/blob/release-0.99.5-rc0/tests/SpriteTest.m#L3202" rel="nofollow">https://github.com/cocos2d/cocos2d-iphone/blob/release-0.99.5-rc0/tests/SpriteTest.m#L3202</a>
</p></description>
		</item>
		<item>
			<title>Bosstone on "CCAnimation animationWithName: is deprecated in .99.5"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/11956#post-67484</link>
			<pubDate>Fri, 17 Dec 2010 23:24:52 +0000</pubDate>
			<dc:creator>Bosstone</dc:creator>
			<guid isPermaLink="false">67484@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi Folks,</p>
<p>currently I am using: <code>CCAnimation* animation = [CCAnimation animationWithName:@&#34;dance&#34;];</code></p>
<p>Now in 0.99.5 this part is "Deprecated" and the docu says: use animation instead. But CCAnimation is<br />
not responding to "animation"</p>
<p>Thanks for any feedback and advice!</p>
<p>BR,</p>
<p>Stefan
</p></description>
		</item>
		<item>
			<title>sfj on "Need help with Joystick implementation"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1154/page/2#post-28880</link>
			<pubDate>Fri, 05 Mar 2010 15:47:07 +0000</pubDate>
			<dc:creator>sfj</dc:creator>
			<guid isPermaLink="false">28880@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>The functionality of the joystick when using staticCenter was incomplete; the velocity upon initialization was not (0,0) and the joystick did not reset after touchesEnded.  To fix this I changed -(void)setStaticCenter to:<br />
<pre><code>-(void)setStaticCenter:(float)x y:(float)y
{
	staticCenterPoint = CGPointMake(x, y);
	center = staticCenterPoint;
	curPosition = staticCenterPoint;
	staticCenter = YES;
}</code></pre>
<p>And also -(bool)touchesEnded to:<br />
<pre><code>-(bool)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
	if (!active) return NO;
	NSArray *allTouches = [touches allObjects];
	for (UITouch* t in allTouches) {
		if ((int)t == touchAddress) {
			active = NO;
			if (!staticCenter) {
				center = CGPointMake(0,0);
				curPosition = CGPointMake(0,0);
			}
			else if (staticCenter) {
				center = staticCenterPoint;
				curPosition = staticCenterPoint;
			}
			return YES;
		}
	}
	return NO;
}</code></pre>
<p>Also, must add this in the interface declarations<br />
<code>CGPoint staticCenterPoint;</code>
</p></description>
		</item>
		<item>
			<title>nozzer007 on "Need help with Joystick implementation"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1154/page/2#post-21623</link>
			<pubDate>Wed, 23 Dec 2009 12:55:14 +0000</pubDate>
			<dc:creator>nozzer007</dc:creator>
			<guid isPermaLink="false">21623@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi Thanks, I now get the following warning's when I try to compile.</p>
<p>mStickLeft = [[[Joystick alloc] init:0 y:0 w:320 h:480] retain]; WARNING - No '-init:y:w:h:' method found</p>
<p>[layer addChild:mStickLeft z:3]; - WARNING 'Incompatible Objective-C types 'struct Joystick *' expect 'struct CocosNode *' when passing argument 1 of addChild:z' from distinct Objective-C type.</p>
<p>Can anyone help?
</p></description>
		</item>
		<item>
			<title>jd on "Need help with Joystick implementation"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1154/page/2#post-21066</link>
			<pubDate>Tue, 15 Dec 2009 18:16:23 +0000</pubDate>
			<dc:creator>jd</dc:creator>
			<guid isPermaLink="false">21066@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Just like Java, you have to declare the type of variable.  Therefore, Joystick *mStick = [[[Joystick alloc] init:0 y:0 w:320 h:480] retain]; unless you previously declared Joystick *mStick.
</p></description>
		</item>
		<item>
			<title>nozzer007 on "Need help with Joystick implementation"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1154/page/2#post-21065</link>
			<pubDate>Tue, 15 Dec 2009 17:52:10 +0000</pubDate>
			<dc:creator>nozzer007</dc:creator>
			<guid isPermaLink="false">21065@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi,</p>
<p>I'm too an ultra noob and would like a little bit of help implementing the joystick controls.  I have got the latest code from the SVN repository for Joystick and have successfully built it.  However i'm having problems initialising the Joystick.  I have only one joystick in the game to control a Ball.  I found some code on a forum relating to this that initialises the mStick like this :</p>
<p>mStick = [[[Joystick alloc] init:0 y:0 w:320 h:480] retain];</p>
<p>If I put this in the (id)init{... I get 'mStick' undeclared.</p>
<p>I'm having trouble as to where I should put this in the code, Should it be in the Ball Layer? and whereabouts in the code.</p>
<p>The code I used following this to detect touches is in the BallLayer.m code as follows but each of the mStick references give compilation errors 'mstick' undeclared.</p>
<p>-(bool)ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event<br />
{<br />
  [mStick touchesBegan:touches withEvent:event];<br />
  return kEventHandled;<br />
}</p>
<p>-(bool)ccTouchesMoved:(NSSet *)touches withEvent:(UIEvent *)event<br />
{<br />
  [mStick touchesMoved:touches withEvent:event];<br />
  return kEventHandled;<br />
}</p>
<p>-(bool)ccTouchesEnded:(NSSet *)touches withEvent:(UIEvent *)event<br />
{<br />
 [mStick touchesEnded:touches withEvent:event];<br />
 return kEventHandled;<br />
}</p>
<p>Think im finding the transition form Java to XCode harder than anticipated.</p>
<p>Any help much appreciated.
</p></description>
		</item>
		<item>
			<title>jd on "Need help with Joystick implementation"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1154/page/2#post-20621</link>
			<pubDate>Wed, 09 Dec 2009 20:41:31 +0000</pubDate>
			<dc:creator>jd</dc:creator>
			<guid isPermaLink="false">20621@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p><a href="http://www.cocos2d-iphone.org/forum/topic/2551#post-15896" rel="nofollow">http://www.cocos2d-iphone.org/forum/topic/2551#post-15896</a>
</p></description>
		</item>

	</channel>
</rss>

