I hope and pray that this time this is an easy question for someone.
For Mac build, in one of the tests I changed the image picture from background1.jpg to mybackground1.png. I added mybackground1.png as the resource file. It is just gray now. I cleaned All Targets and recompiled. Yet, this picture does not exist from the program's point of view. I can see under debugger that bg1 is null.
#elif defined(__MAC_OS_X_VERSION_MAX_ALLOWED)
bg1 = [CCSprite spriteWithFile:@"mybackground1.png"]; //background1.jpg
#endif // Mac
Any help will be greatly appreciated.
Cocos2D-Mac Team!
(66 posts) (22 voices)-
Posted 1 year ago #
-
cocos - In regards to your post that the particles are failing, if you look at the front page of the site (the news item "cocos2d v0.99.5-beta2 released. Added Mac support."), one of the items under Mac Support states:
CCParticleSystemPoint is not supported. Use CCParticleSystemQuad instead.
Posted 1 year ago # -
Hi there,
Anyone tried multitouch and cocos-2D for MAC ?
Thanks
Gabriel
Posted 10 months ago # -
@gabrielstuff: multitouch in mac is already supported. Try the tests/eventtest.m
Posted 9 months ago # -
I use multitouch on the mac, and was a main part of Trackpad Magic, which is on the Mac App Store and made with cocos2d. :)
Posted 9 months ago #
Reply
You must log in to post.