Thanks a ton, Claudio! Setting do_not_scale=True in director.init fixed the 
problem!

Regards,
Balajee

On Thursday, 2 August 2012 06:12:12 UTC+5:30, Claudio Canepa wrote:
>
>
>
> On Wed, Aug 1, 2012 at 6:42 PM, Balajee R.C <[email protected]> wrote:
>
>> I am loading a TMX file using the new TMX loading facility from trunk. 
>> Since I couldn't find any example on how to use the loader, I dug into the 
>> code and reckoned I had to do something like this:
>
>
> [snip]
>
>> Could someone please point me as to what may be going wrong? Am I using 
>> the TMX loader correctly? I know I must be prepared for bugs when working 
>> with trunk but I am quite desperate as to my requirement to load TMX files. 
>> Please let me know if I am doing something wrong.
>>
>>
> Try adding 
> do_not_scale=True
> as a key-value parameter in the call to director.init
> This instructs cocos to use the orthographic projection, which is better 
> suited for tiling 
>
> Other than that, I don't see any significative difference with the code in 
> the cocos example at
> http://code.google.com/p/los-cocos/source/browse/trunk/test/test_tmx.py
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/cocos-discuss/-/NxLjkDqO8aYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to