<?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: drawLine issue</title>
		<link>http://www.cocos2d-iphone.org/forum/topic/1276</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 01:35:24 +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/1276" rel="self" type="application/rss+xml" />

		<item>
			<title>dropthat on "drawLine issue"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1276#post-7830</link>
			<pubDate>Thu, 13 Aug 2009 07:17:58 +0000</pubDate>
			<dc:creator>dropthat</dc:creator>
			<guid isPermaLink="false">7830@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>As far as I know, draw method is called from the visit method. Also, AtlasSprites can not have child nodes.
</p></description>
		</item>
		<item>
			<title>TD on "drawLine issue"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1276#post-7822</link>
			<pubDate>Thu, 13 Aug 2009 06:15:30 +0000</pubDate>
			<dc:creator>TD</dc:creator>
			<guid isPermaLink="false">7822@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I thought Child nodes are drawn with their visit method? Which will called after the draw method?
</p></description>
		</item>
		<item>
			<title>dropthat on "drawLine issue"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1276#post-7762</link>
			<pubDate>Wed, 12 Aug 2009 21:01:32 +0000</pubDate>
			<dc:creator>dropthat</dc:creator>
			<guid isPermaLink="false">7762@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I'm currently drawing before [super draw] and result is over sprites :(<br />
I will try to make 2 layers (need to fix some problems with layers' communications for this).<br />
How can I draw lines with z that farther than the sprites?
</p></description>
		</item>
		<item>
			<title>Codemattic on "drawLine issue"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1276#post-7756</link>
			<pubDate>Wed, 12 Aug 2009 19:43:41 +0000</pubDate>
			<dc:creator>Codemattic</dc:creator>
			<guid isPermaLink="false">7756@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Some ideas to try:  You could draw the lines in a different Layer thats below your sprite Layer.  Or maybe draw your lines in -draw before calling [super draw].  You could draw the lines with a z thats farther away than the Sprites.
</p></description>
		</item>
		<item>
			<title>dropthat on "drawLine issue"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/1276#post-7731</link>
			<pubDate>Wed, 12 Aug 2009 14:02:47 +0000</pubDate>
			<dc:creator>dropthat</dc:creator>
			<guid isPermaLink="false">7731@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I have AtlasSpriteManager and some sprites. Also, I need to draw some lines UNDER sprites.<br />
I'm trying to draw using drawLine in overrided layer's draw method. But my lines are drwan OVER sprites :(</p>
<p>What can I do to fix that? I can't use sprites for lines.
</p></description>
		</item>

	</channel>
</rss>

