Comments (16)
Is this in CCBReader?
from cocos2d-xna.
CCSizeConverter.cs line 28? NULL value there? From CCSize.Parse line 272 while reading the sprite frames from a PList.
from cocos2d-xna.
SpriteFrameAliasNameTest (line 24)
from cocos2d-xna.
this one is an incorrectly formatted type 3 Plist file.
from cocos2d-xna.
This regression was introduced by the new type converters. In the past, the CCSize.parse would ignore the null I think, but the type converters do not. That's good, because this PList is clearly not format 3.
animations/grossini-aliases.plist, it's a format 2 hybrid with aliases in it.
from cocos2d-xna.
The original cocos2d-x had the correct plist for this one, so I pulled it in
from cocos2d-xna.
I my commit fixes this?
from cocos2d-xna.
Jake
Thanks for that. I was going to allow null and pass it on through which would not have been good in the end.
I will test you change. Is there anything we really should be checking here instead and send a more informative error?
from cocos2d-xna.
The PList reader should handle incorrectly formatted fields better than it does. So if we want to fix this NRE then it should happen at the Plist level instead of the type converter.
from cocos2d-xna.
That did not work.
I totally agree with what you say it should be fixed at the Plist level instead of the type converter. That means that the Plist is not correctly formatted for some reason.
from cocos2d-xna.
All of the sprite tests work for me. Which one is failing for you?
from cocos2d-xna.
Oh I see I think it is because it was just the .plist that you committed and not the .xnb of the plist. I do not have windows here to create the content.
from cocos2d-xna.
oops, sorry!
from cocos2d-xna.
Here is what I got from git:
Kenneth-Pounceys-iMac:cocos2d-xna Jimmy$ git fetch upstream
remote: Counting objects: 21, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 10 (delta 7), reused 7 (delta 4)
Unpacking objects: 100% (10/10), done.
From https://github.com/totallyevil/cocos2d-xna
d43515e..9242873 master -> upstream/master
Kenneth-Pounceys-iMac:cocos2d-xna Jimmy$ git merge upstream/master
Merge made by the 'recursive' strategy.
tests/testsContent/animations/grossini-aliases.plist | 500 +++++++++++++++++++++---------------------
1 file changed, 250 insertions(+), 250 deletions(-)
from cocos2d-xna.
from cocos2d-xna.
Yes!!! And another one bites the dust.
Thanks. That really is better than what I was going to do.
from cocos2d-xna.
Related Issues (20)
- Refactor source base to use CCPoint instead of CCPointExtension HOT 1
- Refactor CCPointExtension - Implement all missing methods in CCPoint that exist in CCPointExtension HOT 1
- Continuous Build System WinRT, Windows HOT 1
- Continuous Build System MacOS
- Continuous Build System iOS, Android HOT 1
- Using DrawingSurface in game page causing to SharpDX exception HOT 9
- CCProgressTimer renders incorrectly HOT 4
- Create Docs for Cocos2D-XNA HOT 1
- Add support for CCLabel which uses System Fonts instead of Font XNB Content HOT 2
- Add loading of TTF font files in iOS and Mac HOT 1
- Simplify adding and generating assets to Cocos2D - Visual Studio HOT 1
- Simplify adding and generating assets to Cocos2D - Xamarin Studio Windows
- Simplify adding and generating assets to Cocos2D - Xamarin Studio Mac
- GameStarterKit.iOS doesn't build - missing CCEvent HOT 1
- Some TTF files, ex Abberancy.tff, are not displaying correctly
- Add support for CCLabel which uses System Fonts instead of Font XNB Content - Windows 8 and WP8 HOT 1
- Add Input handling to CCNode so that all inherited classes can receive input
- Accellerometer support not working HOT 1
- Please exclude LibTiff from Cocos2d WinRT project HOT 2
- Add support for CCLabel which uses System Fonts instead of Font XNB Content - WP8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocos2d-xna.