<?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; Topic: CCSprite Child Z-orders</title>
		<link>http://www.cocos2d-iphone.org/forum/topic/4352</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 02:10:52 +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/topic/4352" rel="self" type="application/rss+xml" />

		<item>
			<title>napierzaza on "CCSprite Child Z-orders"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4352#post-26006</link>
			<pubDate>Mon, 08 Feb 2010 21:34:52 +0000</pubDate>
			<dc:creator>napierzaza</dc:creator>
			<guid isPermaLink="false">26006@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Is it unreasonable to make all the sprites in a CCSpriteSheet have a z-order within the manager? I noticed that if you have a child on a CCSPrite, it's the same z-order as the sprite itself. However, it makes more sense (in most of my contexts) that the child have a higher z-order than other sprites on the screen. A possibly DIFFERENT z - order than its base.</p>
<p>So you have sprite A with top a. A is z=0 and a z=1. Then you have B where z=0 and z=1; </p>
<p>EDIT: the graphic is getting mangled. Sorry, can't fix.<br />
&#60;quote&#62;<br />
       -------      --------<br />
       &#124;              &#124;    &#124;                 &#124;<br />
---&#124;  child   &#124;--&#124;  child      &#124;<br />
&#124;     &#124;a_______&#124;     &#124;b_______ &#124;<br />
&#124;A            &#124;  &#124;B              &#124;<br />
&#124;parent   &#124;  &#124;parent     &#124;<br />
&#124;________&#124;  &#124;_________&#124;<br />
&#60;/quote&#62;<br />
Not possible?
</p></description>
		</item>

	</channel>
</rss>

