Projects > cpp > Issues > Bug #1662

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Getting full path will fail if texture name in the plist is without relative path.

Bug #1662 [Closed]
dumganhar 2013-01-17 03:41 . Updated almost 4 years ago

For example:

Resources-
         |
         Particles-
                  |
                  a.plist(texture name is `a.png`, just a file name without relative path)
                  a.png

a.plist and a.png are at the same directory.
When `CCParticleSystem::initWithDictionary` is invoked, the second parameter `dirname` will be `Particles/`.
The `Particles/` will not be inserted before texture name.

dumganhar 2013-01-17 03:44
  • Description updated (diff)
dumganhar 2013-01-17 05:22
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:7f7b21b4274d1e3de68b382c09bd951d902eeda2.

Atom PDF

Status:Closed
Start date:2013-01-17
Priority:Normal
Due date:
Assignee:dumganhar
% Done:

100%

Category:all
Target version:cocos2d-2.1beta3-x-2.1.1

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.