<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Talk Binary &#187; Cocos2D</title>
	<atom:link href="http://talkbinary.com/category/cocos2d-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://talkbinary.com</link>
	<description>Programming Resources, Technology, Computers</description>
	<lastBuildDate>Wed, 15 Feb 2012 16:01:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>How to Fix Strange Lines in Cocos2D by using Extrude in Zwoptex</title>
		<link>http://talkbinary.com/cocos2d-2/how-to-fix-strange-lines-in-cocos2d-by-using-extrude-in-zwoptex/</link>
		<comments>http://talkbinary.com/cocos2d-2/how-to-fix-strange-lines-in-cocos2d-by-using-extrude-in-zwoptex/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 19:45:57 +0000</pubDate>
		<dc:creator>Diego</dc:creator>
				<category><![CDATA[Cocos2D]]></category>
		<category><![CDATA[cocos2d]]></category>
		<category><![CDATA[extrude]]></category>
		<category><![CDATA[strangle lines]]></category>
		<category><![CDATA[texture packer]]></category>
		<category><![CDATA[zwoptex]]></category>

		<guid isPermaLink="false">http://talkbinary.com/?p=4233</guid>
		<description><![CDATA[Ever since I started using Zwoptex, a sprite sheet packing tool, I started noticing these strange lines between my sprites in Cocos2D during gameplay. I had no idea why they would appear if the sprites had no immediate cut off on the boundaries. I found an awesome tip in the following post, Strange lines appears<a class="moretag" href="http://talkbinary.com/cocos2d-2/how-to-fix-strange-lines-in-cocos2d-by-using-extrude-in-zwoptex/">&#160;&#160;Full Article&#8230;</a>
]]></description>
				<content:encoded><![CDATA[<p><img src="http://talkbinary.com/wp-content/uploads/2012/02/brokenPhoto.png" alt="" title="stranglelines" width="314" height="158" class="alignleft size-full wp-image-4234" />Ever since I started using <a href="http://zwoptexapp.com/">Zwoptex</a>, a sprite sheet packing tool, I started noticing these strange lines between my sprites in Cocos2D during gameplay. I had no idea why they would appear if the sprites had no immediate cut off on the boundaries. </p>
<p>I found an awesome tip in the following post, <a href="http://www.cocos2d-iphone.org/forum/topic/10853" title="Strange lines appears during sprite movement">Strange lines appears during sprite movement</a>, in the Cocos2D forums. Depending if the problem occurs due to the background or foreground, you either have to extrude or add padding to your sprites. </p>
<p>When you extrude, you simply repeat the same pixels around the tiles without adding them directly to the sprite. Extruding actually helped me fix my problem. Padding seems to just separate the sprites from each other. If you notice sprites leaking nearby sprites on the sprite sheet, padding should solve this problem.   </p>
<p>After learning about this, I fired up Zwoptex, selected all my sprites, and added about 1px to the <i>Extrude</i> option. </p>
<p><img src="http://talkbinary.com/wp-content/uploads/2012/02/extrudeInZwoptex.png" alt="" title="extrudeInZwoptex" width="241" height="162" class="aligncenter size-full wp-image-4235" /></p>
<p>After that, I started my game and was able to see that strange line effect gone! </p>
<p><img src="http://talkbinary.com/wp-content/uploads/2012/02/fixedPhoto.png" alt="" title="fixedPhoto" width="247" height="200" class="aligncenter size-full wp-image-4236" /></p>
<p>If you use <a href="http://www.texturepacker.com/">Texture Packer</a> you have the same option. </p>
<p>Resource &#8211; <a href="http://www.cocos2d-iphone.org/forum/topic/10853" title="Strange lines appears during sprite movement">Strange lines appears during sprite movement</a></p>
]]></content:encoded>
			<wfw:commentRss>http://talkbinary.com/cocos2d-2/how-to-fix-strange-lines-in-cocos2d-by-using-extrude-in-zwoptex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The beginning of my Game Development journey with Cocos2D for iOS</title>
		<link>http://talkbinary.com/cocos2d-2/the-beginning-of-my-game-development-journey-with-cocos2d-for-ios/</link>
		<comments>http://talkbinary.com/cocos2d-2/the-beginning-of-my-game-development-journey-with-cocos2d-for-ios/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 22:20:14 +0000</pubDate>
		<dc:creator>Diego</dc:creator>
				<category><![CDATA[Cocos2D]]></category>
		<category><![CDATA[cocos2d]]></category>
		<category><![CDATA[Game Development]]></category>

		<guid isPermaLink="false">http://talkbinary.com/?p=4184</guid>
		<description><![CDATA[I&#8217;m going to start sharing my game development journey using Cocos2D with you. For those that don&#8217;t know, Cocos2D is a fast, free, easy to use, and community driven framework for building 2D games for iOS. Cocos2D has over 3000 games in the Cocos2D Game Library and some have made it to the Top 25<a class="moretag" href="http://talkbinary.com/cocos2d-2/the-beginning-of-my-game-development-journey-with-cocos2d-for-ios/">&#160;&#160;Full Article&#8230;</a>
]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m going to start sharing my game development journey using <a href="http://www.cocos2d-iphone.org/">Cocos2D</a> with you. For those that don&#8217;t know, Cocos2D is a fast, free, easy to use, and community driven framework for building 2D games for iOS. Cocos2D has over 3000 games in the <a href="http://www.cocos2d-iphone.org/games/">Cocos2D Game Library</a> and some have made it to the Top 25 in the App Store such as <a href="http://itunes.apple.com/us/app/air-penguin/id425609130?mt=8">Air Penguin</a>. I really didn&#8217;t want to start with an empty project in XCode (I tried and was miserable due to the time spent on just making the engine for the game), and didn&#8217;t have the money to shell out for a <a href="http://unity3d.com/">Unity 3D</a> license. I checked out other alternatives and ended up falling in love with Cocos2D.</p>
<p>I started by simply grabbing a book. The following are some good ones: <a href="http://www.amazon.com/gp/product/B006MGDIAA/ref=as_li_ss_tl?ie=UTF8&#038;tag=talbin-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B006MGDIAA">Cocos2d for iPhone 1 Game Development Cookbook</a><img src="http://www.assoc-amazon.com/e/ir?t=talbin-20&#038;l=as2&#038;o=1&#038;a=B006MGDIAA" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><br />
  (Official), <a href="http://www.amazon.com/gp/product/B005BOMFIU/ref=as_li_ss_tl?ie=UTF8&#038;tag=talbin-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B005BOMFIU">Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk</a><img src="http://www.assoc-amazon.com/e/ir?t=talbin-20&#038;l=as2&#038;o=1&#038;a=B005BOMFIU" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />, and <a href="http://www.amazon.com/gp/product/B006CO7ZQ0/ref=as_li_ss_tl?ie=UTF8&#038;tag=talbin-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B006CO7ZQ0">Learn cocos2d Game Development with iOS 5</a><img src="http://www.assoc-amazon.com/e/ir?t=talbin-20&#038;l=as2&#038;o=1&#038;a=B006CO7ZQ0" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> (one I started with). If you don&#8217;t mind spending money on a good resource, try it out and you could have your first game within reading the first few chapters (1-3hours!). You could even start with <a href="http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:index">Cocos2D Programming Guide</a> if you aren&#8217;t convinced and don&#8217;t want to spend money yet. </p>
<p>The thing is, the books only cover so much and really don&#8217;t go in depth with other things that might arise in your game development journey. A lot of unprecedented things occurred in mine such as how to find the right team, idea for a game, community to give opinions about my project, how to set up deadlines and complete them, amongst other topics. </p>
<p>That is why I decided to share with you all the things I&#8217;ve learned along the way in making my game such as all the things I&#8217;ve hated, loved, and even code samples for how I got things done within a game such as level creation/editing, collision detection, how to make a hero, etc. If there is anything in particular you want me to cover, please let me know and I&#8217;ll do my best to either answer in the comments or even make a post about it. </p>
<p>If you are interested in following my current marketing efforts become a fan of <a href="http://facebook.com/feedthedragons">Feed the Dragons</a> on Facebook. It was barely set up a few days ago so be patient for now. If you want to know the gist of my game, it&#8217;s simply Multiplayer Snake for iPad (up to 4 players). If you ever played <a href="http://live.gnome.org/Nibbles">Nibbles</a>, then you have an idea of where I got my inspiration. I&#8217;m basing the gameplay off that game by having a couple of friends either cooperatively or competitively playing a game on one device. It may sound difficult, but trust me, it&#8217;s  a blast and we hope you believe the same when we decide to publish our game in the next few months. </p>
<p>Our next post will probably be something like &#8220;So can I start making video games, and how?&#8221;. I&#8217;ll be covering how much you really need to know, the things you should consider, and how to start! </p>
]]></content:encoded>
			<wfw:commentRss>http://talkbinary.com/cocos2d-2/the-beginning-of-my-game-development-journey-with-cocos2d-for-ios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

 Served from: talkbinary.com @ 2013-05-21 07:16:41 by W3 Total Cache -->