On Sun, Jun 3, 2012 at 9:10 PM, Richard Jones <[email protected]>wrote:
> On 20 October 2011 00:28, < [email protected]> wrote: > > So I added conditional code with a 'if True...' that will run the old > code > > and issue a deprecation warning. The fixed code is present on the False > > branch so that new code can bundle cocos and use the correct bahavior. > > > > The next cocos release will switch to the correct behavior. > > Based on this intention I've now activated the new branch in the > repository in commit r1190 > > I modified the code to use the pyglet.resource file opening so the > code is also zip-safe. That is: > > + pic = pyglet.image.load('fire.png', > file=pyglet.resource.file('fire.png')) > + texture = pic.get_texture() > Great ! I updated issue 168 to track this change. > > I really should just add an atlas=True arg to pyglet.resource.image ... > > > Richard > > ps. sorry, my editor also automatically cleans up whitespace in files > I open so there's often a couple of extra lines with no changes except > whitespace. > Thats nothing. Somehow I managed to change EOL in a bunch of test\test_*.py (probably while moving a working copy from one machine to another with different svn configuration) Sorry about that, I will investigate to not fall again in the same problem. And will cleanup those EOLs when tests work done. claudio -- -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. 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.
