<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.2" -->
<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; User Favorites: pankak</title>
		<link>http://www.cocos2d-iphone.org/forum/profile/79589</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 10:52:32 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.2</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/profile/79589" rel="self" type="application/rss+xml" />

		<item>
			<title>cliveminni on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-531978</link>
			<pubDate>Wed, 15 May 2013 22:29:53 +0000</pubDate>
			<dc:creator>cliveminni</dc:creator>
			<guid isPermaLink="false">531978@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi, i've just tried out the HKTMXTiledMap Cocos2D v2.1 code on Cocos2D v2.0 (needed a few minor fixes to get it working) with a tmx file containing tiles with dimensions of 64 x 64 pixels and with my project running in retina mode. </p>
<p>The code is compiling successfully but when I run the app the tiles appear to be twice as large as they should be and also some have dark lines seperating them. Does anyone have any ideas why this happens and a solution for this issue?</p>
<p>My tileset is 1280 x 1280 - would this cause a problem as I know square textures with sizes as powers of 2 are recommended?</p>
<p>Also cc_vertexz doesn't seem to be working and I cannot see my player sprite.</p>
<p>Please help someone as I was really hoping this extension would work for me!!</p>
<p>Thanks
</p></description>
		</item>
		<item>
			<title>cliveminni on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-526842</link>
			<pubDate>Mon, 13 May 2013 22:32:33 +0000</pubDate>
			<dc:creator>cliveminni</dc:creator>
			<guid isPermaLink="false">526842@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Thanks Skyhawk, does cc_vertexz also work correctly and allow sprite interleaving between tiles? cheers :)
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-525932</link>
			<pubDate>Mon, 13 May 2013 16:15:44 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">525932@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>tileAt is included in the "experimental features" code file (doing essentially what you described).
</p></description>
		</item>
		<item>
			<title>cliveminni on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-525888</link>
			<pubDate>Mon, 13 May 2013 15:55:33 +0000</pubDate>
			<dc:creator>cliveminni</dc:creator>
			<guid isPermaLink="false">525888@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi, this extension sounds awesome and also much needed for the retina implementation of my project. I have a few questions though: firstly does anyone know whether HKTMXTiledMap supports the cc_vertexz property for othogonal maps? This is essential for my project so hope so! Also I have heard that there is no tileAt: method, is this the case, and if so has anyone implemented a workaround eg getting a reference to the tileset texture then using the tile gid to calculate a rect to copy into a ccsprite? Thanks :)
</p></description>
		</item>
		<item>
			<title>clayh on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-521955</link>
			<pubDate>Sun, 12 May 2013 01:22:45 +0000</pubDate>
			<dc:creator>clayh</dc:creator>
			<guid isPermaLink="false">521955@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Nevermind... I read back through the thread and found <a href="http://www.cocos2d-iphone.org/forum/topic/17945/page/5#post-147246">this post</a> which describes how to set <code>HKTMX_LAYER_SCALE_LIMIT</code> to fix my scaling problem. </p>
<p>RTFM, indeed.
</p></description>
		</item>
		<item>
			<title>clayh on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-521329</link>
			<pubDate>Sat, 11 May 2013 18:47:54 +0000</pubDate>
			<dc:creator>clayh</dc:creator>
			<guid isPermaLink="false">521329@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/11236'>skyhawk</a> I would like to use HKTMXTiledMap in conjunction with CCPanZoomController. When I zoom out, I only see the tiles that HKTMXTiledMap draws (versus all of the tiles, as CCTMXTiledMap would show). I'd like to preserve the optimization when at zoom level 1 (running HKTMXTiledMap). Is there a way to tell my HKTMXTiledMap to draw more tiles than those displayed by default? I'd like to tell it to draw more if the user zooms out.
</p></description>
		</item>
		<item>
			<title>tskarthik on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-505109</link>
			<pubDate>Fri, 03 May 2013 21:04:39 +0000</pubDate>
			<dc:creator>tskarthik</dc:creator>
			<guid isPermaLink="false">505109@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi Skyhawk,</p>
<p>I have been using HKTMXTiledMap for my iOS platform game. I am using Box2D to control the player movement and the layer scrolling.  With cocos2d 1.1 version, it works perfectly fine. When I recently ported to cocos2d 2.0, I get black bars in my map. I am suspecting it is the way OpenGLES 2.0 deals with floating points, I am not 100% sure. If I round off the layer position,  the black bars disappear, but the smoothness of scrolling is affected very badly. </p>
<p>I have uploaded two separate XCode projects to demonstrate the problem:<br />
Cocos2d 1.1 based version (Works fine):<br />
<a href="https://dl.dropboxusercontent.com/u/10673160/hktmxmap-test/LargeMapTest_cocos2dv11.zip" rel="nofollow">https://dl.dropboxusercontent.com/u/10673160/hktmxmap-test/LargeMapTest_cocos2dv11.zip</a></p>
<p>Cocos2d 2.1 based version (Black bars issue):<br />
<a href="https://dl.dropboxusercontent.com/u/10673160/hktmxmap-test/LargeMapTest_cocos2dv21.zip" rel="nofollow">https://dl.dropboxusercontent.com/u/10673160/hktmxmap-test/LargeMapTest_cocos2dv21.zip</a></p>
<p>Please note that I have picked up HKTMXTiledMap from these links. Just made a one-line fix for Retina display (contentSizeInPixels to contentSize in 2.1 version of HKTMXLayer.m)<br />
 <a href="http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d2.1/HKTMXTiledMap.zip" rel="nofollow">http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d2.1/HKTMXTiledMap.zip</a><br />
 <a href="http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d1.1/HKTMXTiledMap.zip" rel="nofollow">http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d1.1/HKTMXTiledMap.zip</a></p>
<p>Can you please help me in fixing the black bars with the same level of smoothness as that of 1.1 version ?
</p></description>
		</item>
		<item>
			<title>Dr Robert on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-461741</link>
			<pubDate>Sat, 06 Apr 2013 18:24:54 +0000</pubDate>
			<dc:creator>Dr Robert</dc:creator>
			<guid isPermaLink="false">461741@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Thank you!<br />
The new version works great!<br />
(It works with kobold 2d to)
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-461652</link>
			<pubDate>Sat, 06 Apr 2013 17:07:02 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">461652@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>The issue is that GL_ES_VERSION_2_0 is not defined on the mac. weird. removing the #else blocks and making the #<a href='http://www.cocos2d-iphone.org/forum/tags/if'>if</a> GL_ES_VERSION_2_0 code the default fixes the issue, but how come GL_ES_VERSION_2_0 not defined on mac?</p>
<p>Uploaded a new version which should work in your project.
</p></description>
		</item>
		<item>
			<title>Dr Robert on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-461633</link>
			<pubDate>Sat, 06 Apr 2013 16:42:57 +0000</pubDate>
			<dc:creator>Dr Robert</dc:creator>
			<guid isPermaLink="false">461633@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Now I have uninstalled kobold and are using just cocos 2d with a fresh installation of xcode. The same problem still exist - white screen.<br />
I have uploaded a project at:<br />
<a href="https://docs.google.com/file/d/0B8PYKLDXW9xcZWIzNGRWU29CNHc/edit?usp=sharing" rel="nofollow">https://docs.google.com/file/d/0B8PYKLDXW9xcZWIzNGRWU29CNHc/edit?usp=sharing</a></p>
<p>Is there a working Mac project somewhere I could take look at?
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-461139</link>
			<pubDate>Sat, 06 Apr 2013 06:18:13 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">461139@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Fixed the layer opacity / colorization issues in the 2.1 version. Download the latest version from <a href="http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d2.1/HKTMXTiledMap.zip" rel="nofollow">http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d2.1/HKTMXTiledMap.zip</a></p>
<p>STEFFEN, YOU CAN UPDATE YOUR CHART NOW! I KNOW YOU'RE STALKING ME!
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-460855</link>
			<pubDate>Sat, 06 Apr 2013 00:32:16 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">460855@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>If you insist on using kobold2d, I suggest you look at kobold touch: <a href="http://www.koboldtouch.com/display/KTD/About+KoboldTouch#AboutKoboldTouch-KoboldTouchTilemapFeatures" rel="nofollow">http://www.koboldtouch.com/display/KTD/About+KoboldTouch#AboutKoboldTouch-KoboldTouchTilemapFeatures</a></p>
<p>He claims his tilemap is on par (speed wise) with mine and is rapidly implementing all the features I currently have.</p>
<p>That being said, I use HKTMXTiledMap in my mac cocos2d app extensively and it works fantastically.</p>
<p>Without a project or a test case, I can't really debug your particular scenario for you =)
</p></description>
		</item>
		<item>
			<title>Dr Robert on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-460791</link>
			<pubDate>Fri, 05 Apr 2013 22:29:43 +0000</pubDate>
			<dc:creator>Dr Robert</dc:creator>
			<guid isPermaLink="false">460791@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi everyone. I'm using Kobold 2D with HKTMXTiledMap on my Mac, but I can't get HKTMXTiledMap to work.<br />
My sourcecode looks like this:</p>
<p>#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> "HelloWorldLayer.h"<br />
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> "HKTMXTiledMap.h"</p>
<p>@interface HelloWorldLayer (PrivateMethods)<br />
@end</p>
<p>@implementation HelloWorldLayer</p>
<p>-(id) init<br />
{<br />
	if ((self = [super init]))<br />
	{</p>
<p>		HKTMXTiledMap *map = [HKTMXTiledMap tiledMapWithTMXFile:@"lawn2.tmx"];<br />
		[self addChild:map];<br />
	}</p>
<p>	return self;<br />
}</p>
<p>@end</p>
<p>If I run it in the iPhone or iPad simulator, everything works fine, so i guess the setup kobold 2d + HKTMXTiledMap is Ok. But when i run it for mac all I get is a white screen and the message: tilemap-Mac[10394:303] -[HKTMXLayer setPositionInPixels:]: unrecognized selector sent to instance 0x1020262a0<br />
I can't find any solution to this... Can anyone please help me with it?
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-456910</link>
			<pubDate>Tue, 02 Apr 2013 17:17:10 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">456910@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>really just need to copy and paste this to every page or something (so people use the right version):</p>
<p>The Latest versions of HKTMXTiledMap found here(ish)<br />
<a href="http://hkasoftware.com/fileserve/HKTMXTiledMap/" rel="nofollow">http://hkasoftware.com/fileserve/HKTMXTiledMap/</a></p>
<p>2.1 is hosted here:<br />
<a href="http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d2.1/HKTMXTiledMap.zip" rel="nofollow">http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d2.1/HKTMXTiledMap.zip</a></p>
<p>1.1 is hosted in 2 places:<br />
* <a href="https://github.com/skyhawk2891/cocos2d-iphone-extensions/tree/HKTMXTiledMap/Extensions/HKTMXTiledMap" rel="nofollow">https://github.com/skyhawk2891/cocos2d-iphone-extensions/tree/HKTMXTiledMap/Extensions/HKTMXTiledMap</a><br />
* <a href="http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d1.1/HKTMXTiledMap.zip" rel="nofollow">http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d1.1/HKTMXTiledMap.zip</a>
</p></description>
		</item>
		<item>
			<title>Roger Paffrath on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-456551</link>
			<pubDate>Tue, 02 Apr 2013 11:05:23 +0000</pubDate>
			<dc:creator>Roger Paffrath</dc:creator>
			<guid isPermaLink="false">456551@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Apart from not being able to change layer opacity, I noticed some of the mirrored/flipped tiles were not showing properly. I am using Tiled 0.9, cocos2d 2.1 and this version of HKTMXTiledMap: <a href="https://github.com/cocos2d/cocos2d-iphone-extensions/tree/develop-v2/Extensions/HKTMXTiledMap">https://github.com/cocos2d/cocos2d-iphone-extensions/tree/develop-v2/Extensions/HKTMXTiledMap</a></p>
<p>To fix the issue (that persisted after I applied one of the fixes in this thread), I copied the code from CCTMXLayer to HKTMXLayer on the flipping/mirroring section, like so:</p>
<pre><code>if (tile &#38; kFlippedDiagonallyFlag)
{
    uint32_t flag = tile &#38; (kFlippedHorizontallyFlag &#124; kFlippedVerticallyFlag );

    // handle the 4 diagonally flipped states.
    if (flag == kFlippedHorizontallyFlag)
    {
        texbase[0] = right;
        texbase[1] = top;
        texbase[2] = right;
        texbase[3] = bottom;
        texbase[4] = left;
        texbase[5] = top;
        texbase[6] = left;
        texbase[7] = bottom;
    }
    else if (flag == kFlippedVerticallyFlag)
    {
        texbase[0] = left;
        texbase[1] = bottom;
        texbase[2] = left;
        texbase[3] = top;
        texbase[4] = right;
        texbase[5] = bottom;
        texbase[6] = right;
        texbase[7] = top;
    }
    else if (flag == (kFlippedVerticallyFlag &#124; kFlippedHorizontallyFlag) )
    {
        CC_SWAP(left,right);
        texbase[0] = right;
        texbase[1] = top;
        texbase[2] = right;
        texbase[3] = bottom;
        texbase[4] = left;
        texbase[5] = top;
        texbase[6] = left;
        texbase[7] = bottom;
    }
    else
    {
        CC_SWAP(left,right);
        texbase[0] = left;
        texbase[1] = bottom;
        texbase[2] = left;
        texbase[3] = top;
        texbase[4] = right;
        texbase[5] = bottom;
        texbase[6] = right;
        texbase[7] = top;
    }
}
else
{
    if (tile &#38; kFlippedHorizontallyFlag)
        CC_SWAP(left,right);

    if (tile &#38; kFlippedVerticallyFlag)
        CC_SWAP(top,bottom);

    texbase[0] = left;
    texbase[1] = top;
    texbase[2] = right;
    texbase[3] = top;
    texbase[4] = left;
    texbase[5] = bottom;
    texbase[6] = right;
    texbase[7] = bottom;
}</code></pre></description>
		</item>
		<item>
			<title>Roger Paffrath on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-452580</link>
			<pubDate>Fri, 29 Mar 2013 17:08:35 +0000</pubDate>
			<dc:creator>Roger Paffrath</dc:creator>
			<guid isPermaLink="false">452580@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>sorry, I messed projects up... this one is using cocos2d 2.1 and I can't get the opacity changes to work.
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-452526</link>
			<pubDate>Fri, 29 Mar 2013 16:30:11 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">452526@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p><code>layer.opacity = 150;</code>
</p></description>
		</item>
		<item>
			<title>Roger Paffrath on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-450352</link>
			<pubDate>Thu, 28 Mar 2013 12:32:32 +0000</pubDate>
			<dc:creator>Roger Paffrath</dc:creator>
			<guid isPermaLink="false">450352@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Any ideas on how to make opacity changes possible on HKTMXLayer on cocos2d 2.0?
</p></description>
		</item>
		<item>
			<title>Richard on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-380948</link>
			<pubDate>Mon, 18 Feb 2013 06:47:01 +0000</pubDate>
			<dc:creator>Richard</dc:creator>
			<guid isPermaLink="false">380948@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Yep - proper fix as to why it crashes would be best =)</p>
<p>I guess we watch that other thread you revived and see if a solution is found.
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/10#post-380938</link>
			<pubDate>Mon, 18 Feb 2013 06:37:32 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">380938@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>hmmm, maybe. But ideally it would be best if riq figured out what was going on =)<br />
I've linked him to <a href="https://github.com/richardgroves/HKTMXTiledMap-crash.git" rel="nofollow">https://github.com/richardgroves/HKTMXTiledMap-crash.git</a> in thread <a href="http://www.cocos2d-iphone.org/forum/topic/70268" rel="nofollow">http://www.cocos2d-iphone.org/forum/topic/70268</a> to allow him to debug.</p>
<p>worst case scenario, people just flock to this thread, see the solution (hopefully) and go on.
</p></description>
		</item>
		<item>
			<title>Richard on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/9#post-380924</link>
			<pubDate>Mon, 18 Feb 2013 06:10:03 +0000</pubDate>
			<dc:creator>Richard</dc:creator>
			<guid isPermaLink="false">380924@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/11236'>skyhawk</a>: Thanks that fixes it. Looks like @<a href='http://www.cocos2d-iphone.org/forum/profile/1495'>greyhoundgames</a> was having the same problem above.</p>
<p>Is there any way for the code to assert that #<a href='http://www.cocos2d-iphone.org/forum/tags/define'>define</a> is the correct value - either at compile time if it should always be 0, or run time if the tilemap is too big to handle using the vertex array objects (I'm assuming it's an OpenGL memory/resource problem and too many vertex array objects are being created by a large tilemap?)
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/9#post-378328</link>
			<pubDate>Sat, 16 Feb 2013 03:50:43 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">378328@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>in your ccConfig.h<br />
set<br />
<pre><code>#<a href='http://www.cocos2d-iphone.org/forum/tags/define'>define</a> CC_TEXTURE_ATLAS_USE_VAO 0</code></pre></description>
		</item>
		<item>
			<title>Richard on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/9#post-378053</link>
			<pubDate>Fri, 15 Feb 2013 18:18:58 +0000</pubDate>
			<dc:creator>Richard</dc:creator>
			<guid isPermaLink="false">378053@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Project demonstrating the crash I see:</p>
<p><a>https://github.com/richardgroves/HKTMXTiledMap-crash.git</a></p>
<p>Examine HellowWorldLayer.m</p>
<p>Code at line 68 causes the crash (adding a HKTMXTiledMap from a menu item click), the same code run during init flow (line 87 of that file) doesn't crash.</p>
<p>Tilemap has had project confidential information wiped so it looks a bit odd, but demonstrates the problem.</p>
<p>Thanks,<br />
Richard
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/9#post-378041</link>
			<pubDate>Fri, 15 Feb 2013 17:28:18 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">378041@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>provide a project please or tmx map for us to look at.
</p></description>
		</item>
		<item>
			<title>Richard on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/9#post-378010</link>
			<pubDate>Fri, 15 Feb 2013 15:44:29 +0000</pubDate>
			<dc:creator>Richard</dc:creator>
			<guid isPermaLink="false">378010@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I'm having a problem with the latest HKTMXTiledMap from either <a>https://github.com/cocos2d/cocos2d-iphone-extensions/tree/develop-v2</a><a> or </a><a>http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d2.1/HKTMXTiledMap.zip</a><a> with cocos-2.1-rc0a</p>
<p>Basically if I have the director showStats:YES on it crashes as soon as the tilemap is rendered with the same crash location as @<a href='http://www.cocos2d-iphone.org/forum/profile/32459'>ffede81</a> reports above, but the call stack has it as being called from [CCDirector showStats] for the crash.</p>
<p>With showStats:NO it runs fine. tileMap is 200x200, just one layer being shown with one object layer containing one object.</a>
</p></description>
		</item>
		<item>
			<title>rakkarage on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/9#post-376580</link>
			<pubDate>Tue, 12 Feb 2013 03:49:22 +0000</pubDate>
			<dc:creator>rakkarage</dc:creator>
			<guid isPermaLink="false">376580@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>i had to remove the Support/
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/9#post-376383</link>
			<pubDate>Mon, 11 Feb 2013 17:49:15 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">376383@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/52510'>rakkarage</a>, your version: does it use #<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> "Support/CGPointExtension.h" or #<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> "CGPointExtension.h"<br />
(seems like it's entirely dependent on the users search paths)
</p></description>
		</item>
		<item>
			<title>riq on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/9#post-376379</link>
			<pubDate>Mon, 11 Feb 2013 17:39:19 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">376379@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/11236'>skyhawk</a>:</p>
<p>if possible, could you send me a pull request with your latest changes ?<br />
I placed it here:<br />
<a href="https://github.com/cocos2d/cocos2d-iphone-extensions/tree/develop-v2" rel="nofollow">https://github.com/cocos2d/cocos2d-iphone-extensions/tree/develop-v2</a></p>
<p>thanks.
</p></description>
		</item>
		<item>
			<title>ffede81 on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/9#post-376241</link>
			<pubDate>Mon, 11 Feb 2013 09:55:28 +0000</pubDate>
			<dc:creator>ffede81</dc:creator>
			<guid isPermaLink="false">376241@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Thanks for the updated link!</p>
<p>The fact is that I keep getting this error with the new version in HKTMXTiledMap line 87:</p>
<p>@interface HKTMXLayer : CCNodeRGBA &#60;CCBlendProtocol&#62;</p>
<p>Cannot find interface declaration for 'CCNodeRGBA', superclass of 'HKTMXLayer'</p>
<p>In order to fix it I can simply replace CCNodeRGBA with CCNode (is it safe enough?)</p>
<p>Another issue is for CGPointExtension import which should be fixed from:</p>
<p>#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> "Support/CGPointExtension.h"</p>
<p>to</p>
<p>#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> "CGPointExtension.h"</p>
<p>And in HKTMXTiledMap at line 178 need to change:</p>
<p>_children to children_ (this has probably already been fixed in 2.1rc0, while I'm using beta4)</p>
<p>After these changes I get the following EXC_BAD_ACCESS error in CCTextureAtlas class, line 519:</p>
<p>#<a href='http://www.cocos2d-iphone.org/forum/tags/if'>if</a> CC_TEXTURE_ATLAS_USE_TRIANGLE_STRIP<br />
	glDrawElements(GL_TRIANGLE_STRIP, (GLsizei) n*6, GL_UNSIGNED_SHORT, (GLvoid*) (start*6*sizeof(indices_[0])) );<br />
#else<br />
	glDrawElements(GL_TRIANGLES, (GLsizei) n*6, GL_UNSIGNED_SHORT, (GLvoid*) (start*6*sizeof(indices_[0])) );<br />
#endif</p>
<p>I think it's caused by the CCNodeRGBA class which is actually missing and that I replaced with CCNode. Could that be?</p>
<p>Anyway, in the game I'm developing I'm massively using the CCSprite tiles behavior. I know that there's an experimental class included in your project that could help me in this way, but I will probably keep using the standard CCTMXTiledMap class for now and live with some manual work, I'm used to it, no problem :)
</p></description>
		</item>
		<item>
			<title>skyhawk on "HKTMXTiledMap"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/17945/page/9#post-376106</link>
			<pubDate>Mon, 11 Feb 2013 03:07:08 +0000</pubDate>
			<dc:creator>skyhawk</dc:creator>
			<guid isPermaLink="false">376106@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/32459'>ffede81</a> your problem is you didn't apply the fix here: <a href="http://www.cocos2d-iphone.org/forum/topic/17945/page/8#post-196033" rel="nofollow">http://www.cocos2d-iphone.org/forum/topic/17945/page/8#post-196033</a> if you're running in retina mode.</p>
<p>The Latest versions of HKTMXTiledMap found here(ish)<br />
<a href="http://hkasoftware.com/fileserve/HKTMXTiledMap/" rel="nofollow">http://hkasoftware.com/fileserve/HKTMXTiledMap/</a></p>
<p>2.1 is hosted here:<br />
<a href="http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d2.1/HKTMXTiledMap.zip" rel="nofollow">http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d2.1/HKTMXTiledMap.zip</a></p>
<p>1.1 is hosted in 2 places:<br />
* <a href="https://github.com/skyhawk2891/cocos2d-iphone-extensions/tree/HKTMXTiledMap/Extensions/HKTMXTiledMap" rel="nofollow">https://github.com/skyhawk2891/cocos2d-iphone-extensions/tree/HKTMXTiledMap/Extensions/HKTMXTiledMap</a><br />
* <a href="http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d1.1/HKTMXTiledMap.zip" rel="nofollow">http://hkasoftware.com/fileserve/HKTMXTiledMap/cocos2d1.1/HKTMXTiledMap.zip</a></p>
<p>These files should have all fixes applied (might be worthwhile for riq to update his version with the small fix)
</p></description>
		</item>

	</channel>
</rss>
