Erratic TMX Loading based on Platform

40 views
Skip to first unread message

Balajee R.C

unread,
Aug 10, 2012, 1:44:39 AM8/10/12
to cocos-...@googlegroups.com
I find that TMX loader seems to behave differently on Mac OSX as compared to Windows. I am attaching the TMX map that is giving me issues. I am also attaching the code for a simple test app that loads the TMX file. While the map loads fine on Mac OSX, it just gives me a blank screen on Windows.

I am ofcourse, using cocos-svn trunk.

Please let me know if this is a bug, in which case I'll file a ticket in the tracker. Otherwise, please point me in the direction of what I might be doing wrong. 

tmxTest.zip

claudio canepa

unread,
Aug 10, 2012, 9:07:55 AM8/10/12
to cocos-...@googlegroups.com
On Fri, Aug 10, 2012 at 2:44 AM, Balajee R.C <bala...@gmail.com> wrote:
I find that TMX loader seems to behave differently on Mac OSX as compared to Windows. I am attaching the TMX map that is giving me issues. I am also attaching the code for a simple test app that loads the TMX file. While the map loads fine on Mac OSX, it just gives me a blank screen on Windows.


I guess a driver issue, see

But maybe theres another problem:

(Testing your script + data on win xp sp3, ati catalyst drivers 12.4)
with pyglet 1.1.4release I see a correct rendering
with pyglet 1.2dev (updated now, utc 13:00) I got a bad rendering: black screen except for the entire NE quadrant which looks green.

 The stock cocos samples test_tiles.py and test_tmx.py show also the same behavior.

I will investigate this problem, probably tomorrow.

Could you tell me which pyglet are you using in windows ?
Can you try to run the pyglet sample noisy.py ? It gives a black screen here.
(noisy.py can be found in the pyglet tarball / checkout under examples/noisy ) 


I am ofcourse, using cocos-svn trunk.

Please let me know if this is a bug, in which case I'll file a ticket in the tracker. Otherwise, please point me in the direction of what I might be doing wrong. 

--
 

claudio canepa

unread,
Aug 10, 2012, 10:52:35 PM8/10/12
to cocos-...@googlegroups.com


Follow-up:

Current pyglet HEAD is broken in windows xp 32bits.
The last working changeset for my SW / HW is 49cf0fc08fe6

So, if you were using pyglet from the repo, try downgrading to that changeset:
hg update -r  49cf0fc08fe6

You can see details at 


claudio canepa

unread,
Aug 11, 2012, 11:54:56 AM8/11/12
to cocos-...@googlegroups.com
Follow-up:

Pyglet fixed the anomaly I observed, so you can update to current tip (if using pyglet repo)


Nitneroc

unread,
Sep 20, 2012, 5:15:12 AM9/20/12
to cocos-...@googlegroups.com
I see a tearing glitch when scaling a loaded tmx map. I can observe this in test_tmx.py for example.
Am I the only one seeing this ? Is there a solution ?

I'm using cocos0.5.5, pyglet from repo, and ubuntu 64 bits with an ATI Radeon HD 6800 Series
Reply all
Reply to author
Forward
0 new messages