Code Monkey home page Code Monkey logo

cocosbuilder's People

Contributors

atzoum avatar ayuer avatar donaldalanmorrison avatar emk771 avatar gerasim13 avatar gpete314 avatar longyangxi avatar martincote avatar monyschuk-zynga avatar pierrepaullavoie avatar protito avatar raho avatar ricardoquesada avatar rohankuruvilla avatar rolandoam avatar sabshire avatar superquadratic avatar treydavis avatar vedi avatar welefen avatar zhaoboqiang avatar zynga-jpetersen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cocosbuilder's Issues

the latest cocosbuilder source code build error!

i check out the cocosbuilder's source code by github,and use the line command "git submodule init & git submodule update" check out the other modules.Then I build the source code by select the target of cocosbuilder,I get these error below:

cc1obj: error: unrecognized command line option "-Wno-sign-conversion"
cc1obj: error: unrecognized command line option "-fdiagnostics-print-source-range-info"
cc1obj: error: unrecognized command line option "-fdiagnostics-show-category=id"
cc1obj: error: unrecognized command line option "-fdiagnostics-parseable-fixits"
cc1obj: error: unrecognized command line option "-fobjc-arc"
Command /Developer/usr/bin/clang failed with exit code 1

with the target of "cocos2d iphone", my xcode is 4.2,the sdk is mac os 10.6,who can tell me what is the problem?thanks very much!

Crash EXC_BAD_ACCESS saving .ccb

In master and develop branch.

When I save a CCB,
EXC_BAD_ACCESS in line 726 of CocosBuilderAppDelegate.m:
NSArray* activeDirs = [NSMutableArray arrayWithObject:document.rootPath];

On OSX Lion 10.7

Basic CCAction support

I would love it if you could set an action on a node.

e.g:
A sprite: I give it a Start animation:

  • When the menu has appeared, the sprite starts outside the screen.
    Then during 1 second animate in the sprite with EaseOut until correct position.

So ability to choose starting position and ending position, an animation (easeout), and a duration.

I would just start with the basics in the beginning, just allow some predefined animations:

  • Slide, linear, easein, easeout, easein/out, bounce

Thats it :)

CCB file with CCLabelTTF crashes on cocos2d 2.0

Export file as .ccbi, load it with latest CCBReader.h, it crashes saying:

*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<CCLabelTTF 0x945aa70> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key alignment.'

Cannot add CCMenu

Latest commit cannot add CCMenu, nothing appears in Structure or in the scene. Loading of the example.ccb provided in CocosBuilder shows no brown button for Press Me! where there used to be.

CCMenuItemImage Block empty causes crash

Steps to reproduce:

  1. Create new ccb
  2. Add CCMenu
  3. Add CCMenuItemImage into CCMenu
  4. Save and quit
  5. Load the created ccb

Causes crash on line 232 of CCBreaderInternal.m in an attempt to do objectAtIndex of empty serializedValue.

Included CCControl fails with Cocos1.1

The CCControl version used by CCBuilder is currently pointing at an older version.
This has an issue that causes an issue in Cocos1.1.

I raised this issue on the CCControl repo before I realised it was the submodule version.

yannickl/CCControlExtension#3

The issue is that touchDispatcher is not a member of CCDirector.

Lines 161 and 170 of CCControl.m
Property 'touchDispatcher' not found on object of type 'CCDirector *'

- (void)onEnter
{
#ifdef __IPHONE_OS_VERSION_MAX_ALLOWED
    CCTouchDispatcher * dispatcher = [CCDirector sharedDirector].touchDispatcher;
    [dispatcher addTargetedDelegate:self priority:defaultTouchPriority_ swallowsTouches:YES];
#endif
    [super onEnter];
}

- (void)onExit
{
#ifdef __IPHONE_OS_VERSION_MAX_ALLOWED
    CCTouchDispatcher * dispatcher = [CCDirector sharedDirector].touchDispatcher;
    [dispatcher removeDelegate:self];
#endif

    [super onExit];
}

This is fixed in the latest versions of CCControl.

CCNodes need a Center property

Because of variable anchor points, it can be hard to always calculate the center of the image, and having a general center property based on the content size, anchor point, and position would be helpful.

Loading CCMenu fails due to unsupported 'init' call

Using the latest git checkout, I get the following assertion when loading a 'cci' file with the latest CCBReader.

*** Assertion failure in -[CCMenu init], /Users/adamgriffiths/Workspace/Kobold2D/Kobold2D-1.1.0/Kobold2D/libs/cocos2d-iphone/cocos2d/CCMenu.m:53
ERROR: Uncaught exception CCMenu: Init not supported.
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'CCMenu: Init not supported.'

On a retina display images get scaled down but not the positions

Run the CocosBuilderExample in the emulator with Hardware->Device set to "iPhone (Retina)". The sprites are located properly relative to the screen, but have only half their intended size. This makes it impossible to get WYSIWYG in the editor when designing for retina displays. Coordinates appear to be in points, while sprite sizes are in pixels.

zOrder has disappear

Beta1 has no zOrder field. Seems its disappear. There's no way to modify this setting.

Add support for CCMenuItemFont

I would like to use this, and I believe I have an implementation for adding support basically complete but I need to see about getting commit access or submitting a patch to the maintainers.

Adding this also requires a modification to the cocos2d source, the CCMenuItemLabel superclass needs a getString method in order to be compatible with the editor's desire to inspect object properties, so I don't know what the protocol will be for getting those changes into cocos2d itself

Can't add iPad resolution to an existing project

Problem:
I create an iPhone only game... (or simple I forget to also add the iPad resolution option too).
Once the "File" is created I can't add an iPad resolution to it.
Adding a custom resolution is not the same because it won't load the "-ipad" resources.

The only way to see it on iPad is to restart the project from scratch (... or edit manually the .ccb file )

CCBReader.m error with Cocos1.1

Cocos 1.1 doesn't have the static accessor +sharedFileUtils.
It seems this was added in the following commit to Cocos2
cocos2d/cocos2d-objc@e2b3e72#diff-12

This triggers the error:

Class method '+sharedFileUtils' not found (return type defaults to 'id')

- (id) initWithFile:(NSString*)file owner:(id)o
{
    self = [super init];
    if (!self) return NULL;

    // Load binary file
    NSString* path = [[CCFileUtils sharedFileUtils] fullPathFromRelativePath:file];
    data = [[NSData dataWithContentsOfFile:path] retain];
<snip>

Kobold2D doesn't use Cocos2.0 so this is breaking CCBReader out of the box.

The fix for me is to remove the static accessor and use the static functions.

NSString* path = [CCFileUtils fullPathFromRelativePath:file];

After saving and loading a scene with a BMFont label, label cannot be selected

This must have something to do with using the default' missing-font instead of setting a font explicitly. Anyway, eventually we end up in TexturePropertySetter::fontForNode and if the function were to return @"missing-font.fnt" instead of NULL, the label would at least be selectable and rendered with the default font.

Excessive CPU consumption

I have a simple scene with a layer and 2 sprites, the app is using 11% CPU on a i7 quad-core macbook pro. Since the app is idle, the CPU consumption should be minimal. I am running code from May 16, 2012.

Multi-resolution CCLabelBMFont not working

Bitmap fonts with -hd counterparts aren't properly handled.

Repro steps:

  1. Create a bitmap font with both SD and HD versions. For example:
    * font.fnt
    * font.png
    * font-hd.fnt
    * font-hd.png
  2. In CocosBuilder, add a CCLabelBMFont that uses that font.
  3. Switch resolutions between iPhone/iPad. The hd version is not displayed in iPad.

Font support for CCLabelTTF

Right now, CCLabelTTF only supports 6 fonts. It would be nice to include a TTF file (or OTF), and within CocosBuilder be able to select and preview that font when creating a CCLabelTTF.

CCLabelBMFont + custom Anchor point

CCLabelBMFont + custom Anchor point appears correctly on CCB, but not on device.

Probably CCB Reader is not setting the anchorPoint to the CCLabelBMFont.

Steps to reproduce it:

  1. Create a CCLabelBMFont in CCB.
  2. Set a custom Anchor Point
  3. ( it will be displayed correctly on CCB )
  4. Test it on the device... it won't use the new Anchor Point.

FNT resources not reloaded properly

When updating FNT/PNG files for a CCLabelBMFont, only the spritesheet resource is updated. The FNT is still cached and the label is messed up.

Automatic Path detection for collision detection

Hi there !, I want to let you know i have forked the master branch so that i can add automatic (Or manual) path detection for games to use in the future. i will let you know when i have something for you if your interested.

Add support for localized strings to CCLabels

Localized strings would enhance CocosBuilder a lot. Since then one can create menus/interfaces once for every language the app shall be localized for.

It would be nice if one could just set a strings file to read from and a localized key.

Loading latest files fails

I'm getting a failure in CCBReader::readHeader

the magic value is the following in local variables.

magic   int <?xm

This fails the version check.

Store .ccb/.ccbi files inside a subdirectory and access child folders

I can best explain it with a [forced redacted] screenshot.

Child Folders

So right now i'm forced to save my .ccb/.ccbi files right in the root of Game Resources. As you can see, also in Game Resources are "Enemies, Fonts, InGameUI, etc". I need to access resources inside of those folders in my .ccb folder, but would ideally like to add a "CocosBuilder" folder inside of Game Resources, for cleanliness. Inside my app, I have a few folder references for some resources - such as "InGameUI", but not others, such as "Random".

Here's what I propose to try and fix this:

  1. allow a per-ccb preference to set the "root" of the graphics folder - that is, I could store the .ccb files WHEREVER I want, and it will only search from the preference [if the preference isn't set, it defaults to the current location of .ccb].

  2. on a per-node basis, allow me to set whether to try and load that image in using an absolute path, or if it's flattened.

With all of that said, here is an example of the ideal behavior i'd like to see:

I'd store all of my .ccb/.ccbi files inside of Game Resources in a folder called "CocosBuilder". This folder inside of my Xcode project would be a folder reference.

Inside xyz.ccb I would point to a few different resources, some in "InGameUI" [a folder reference] and some in "Random", not a folder reference.

When CCBReader loads in xyz.ccbi, it will determine if the .ccbi provided is indeed in the root app resource folder, or in a sub-directory. Then, it will adjust any locations as appropriate. For example, if it determines that xyz.ccbi is in "/[app-location]/Resources/CocosBuilder/xyz.ccbi", when it tries to load in "./InGameUI/def.png", it will always load it as "/[app-location]/Resources/InGameUI/def.png".

I'd be more than willing to help make this possible, as it's a feature that would really help me out - not only to make things neater, but to ensure that my game remains organized, as it's highly resource intensive.

Doubleclicking files to open them causes broken state

If I double-click a CCB file to open it, cocosbuilder opens but the file is not shown. If I try to go and use the OPEN menu to open the file, it still won't open any at this point.

I have to quit out of cocosbuider and reset state to fix the problem.

Can't change color of a CCLabelBMFont (possible others too)

Steps to reproduce it:

  1. create a CCLabelBMFont in CCB
  2. click on the color
  3. The "Colors" dialog will appear
  4. Click on the 2nd tab (the sliders)
  5. Select the Gray Scale Slider
  6. Select a color

You will notice that the color is updated on the CCB options, but not on the label.

tips error in InspectorPosition.xib

Tool Tip are wrong in this bar
segment 0: absolute (correct)
segment 1: Percentage of container -> Relative top left
segment 2: Relative top left -> Relative top right
segment 3: Relative top right -> Relative bottom right
segment 4: Relative bottom right -> Percentage of container

Load CCParticle plist file

The build-in particle configuring tool is good, but limited. While there are other apps can design good particle plist. Please, consider to import plist of prebuilt particles.

CCButton background sprite frame positioned incorrectly

Steps to reproduce:
Create a new project and:

  1. Create a new CCLayer
  2. Add a CCSprite
  3. Add a CCButton and position you want
  4. Choose a background resource and set its width and height to exactly the size of the chosen image (absolutely).
  5. save the project
  6. open the project again and look at the layout again - the button background image is moved.

If you modify the size slightly the background suddenly "jumps" to its correct position.

CCB Publish System causes errors in copied files

In a ccb file, the export path is overwritten when a user clicks publish as, but the user must then save the ccb for the changes to take place. This has led to bad export paths in a lot of ccbs. If the export path was treated as an exception, with no path defaulting to the filename, then creating new ccbs out of old ones would be less of a problem.

Also, if Publish As automatically saved the new path in the ccb instead of asking the user, it would also speed things up.

CCLabelBMFont doesn't behave properly when FNT file doesn't contains certain characters

If the FNT file doesn't contains all the characters from "Sample Text", CocosBuilder won't be able to render after changing the resolution.

Repro steps:

  1. Create a FNT file with only a handful of characters (e.g., "Hello").
  2. Use that FNT in CocosBuilder.
  3. Change the resolution from iPhone <-> iPad. The "missing-font" font will be used.

After a quick investigation, I noticed that CocosBuilder tries to (temporarily) change the text to "Sample Text" when changing resolution. Since the font doesn't have all the required characters, an exception is thrown and CocosBuilder then revers to the "missing-font" font.

Couldn't load .ccb file made by cocosbuilder 1.0, even fail when building the samples

Hi,

Thanks first for your spectacular work. CocosBuilder 1.0 has helped me a lot. However, due to some reasons I have to migrate to cocosbuilder 1.1 in order to do some customization. I've built CocosBuilder 1.1 along with cocos2d-iphone-2.0-rc0.tar.gz. While try my own project (migrated to cocos2d 2.0 with ccb created by CocosBuilder 1.0 already) and the samples, I fail to run them as the following exceptions:

My own app:

(I try to use CocosBuilder 1.1 to open my ccb files created by v1.0)
cocos2d: WARNING: Not enough memory to resize the atlas
XXX: CCSpriteBatchNode#increaseAtlasCapacity SHALL handle this assert

Sample with 1.1:

The same error.

I'm new to cocos2d so I have a little trouble with solving this problem. Will you please give me some hint or solution?

Thanks,
Alan

Default "Touch enabled" to true

It is non-obvious to someone who has never used CocosBuilder that this box must be checked in order to received touch events in your code.

As a newbie cocos2d/CocosBuilder developer, this drove me crazy, wondering why my ccTouchesBegan/Ended implementations were not being invoked.

Please consider, at the very least as an enhancement.

Sprite displays wrong positions under IPhone4S which has 960x640 resolution

Steps:
In builder, change the stage size to custom 960 x 640
Create a menu
Add a Sprite
Set sprite texture with a PNG of about 200 x 200
Set sprite is relative anchor point
Set sprite anchor point 0.5, 0.5
Set sprite position to 480, 320
Run app with this menu resource, onto IPhone4S which has 960x640 resolution

Result:
Such sprite is displayed at the corner of the screen.

Expected:
Such sprite shall be displayed at the center of the screen.

Too many sub dictionaries on OSX Lion

When ever I try to open a project it states there are too many sub dictionaries around. I then made a folder that didn't have any other folders in it and it still didn't work.

20-inch, Early 2009
Software Mac OS X Lion 10.7.4 (11E53)
Graphics NVIDIA GeForce 9400 256 MB
Memory 2 GB 1067 MHz DDR3
Processor 2.66 GHz Intel Core 2 Duo

Saves corrupted since 1.1 beta

Was using the 1.1 dmg on the blog. Had it corrupt my work a few times.
Built from Git head (checked out clean today), same issue occurs.
Loading the file then fails.

Console output from session is as follows:

2012-03-28 21:25:20.861 CocosBuilder[2465:703] Could not find image named 'menu-pro'.
2012-03-28 21:25:21.015 CocosBuilder[2465:703] cocos2d: cocos2d v2.0.0-rc0-post
2012-03-28 21:25:21.016 CocosBuilder[2465:703] cocos2d: Using Director Type:CCDirectorDisplayLink
2012-03-28 21:25:21.124 CocosBuilder[2465:703] cocos2d: OS version: 10.7.3 (0x0a070300)
2012-03-28 21:25:21.124 CocosBuilder[2465:703] cocos2d: GL_VENDOR: ATI Technologies Inc.
2012-03-28 21:25:21.137 CocosBuilder[2465:703] cocos2d: GL_RENDERER: AMD Radeon HD 6970M OpenGL Engine
2012-03-28 21:25:21.137 CocosBuilder[2465:703] cocos2d: GL_VERSION: 2.1 ATI-7.18.11
2012-03-28 21:25:21.138 CocosBuilder[2465:703] cocos2d: GL_MAX_TEXTURE_SIZE: 16384
2012-03-28 21:25:21.138 CocosBuilder[2465:703] cocos2d: GL_MAX_TEXTURE_UNITS: 16
2012-03-28 21:25:21.139 CocosBuilder[2465:703] cocos2d: GL_MAX_SAMPLES: 8
2012-03-28 21:25:21.139 CocosBuilder[2465:703] cocos2d: GL supports PVRTC: NO
2012-03-28 21:25:21.139 CocosBuilder[2465:703] cocos2d: GL supports BGRA8888 textures: YES
2012-03-28 21:25:21.140 CocosBuilder[2465:703] cocos2d: GL supports NPOT textures: YES
2012-03-28 21:25:21.140 CocosBuilder[2465:703] cocos2d: GL supports discard_framebuffer: NO
2012-03-28 21:25:21.141 CocosBuilder[2465:703] cocos2d: compiled with Profiling Support: NO
2012-03-28 21:25:21.220 CocosBuilder[2465:703] cocos2d: startAnimation
2012-03-28 21:25:21.300 CocosBuilder[2465:703] Loading PlugIn: CCBFile.ccbPlugNode
2012-03-28 21:25:21.306 CocosBuilder[2465:703] Loading PlugIn: CCLabelBMFont.ccbPlugNode
2012-03-28 21:25:21.307 CocosBuilder[2465:703] Loading PlugIn: CCLabelTTF.ccbPlugNode
2012-03-28 21:25:21.308 CocosBuilder[2465:703] Loading PlugIn: CCLayer.ccbPlugNode
2012-03-28 21:25:21.309 CocosBuilder[2465:703] Loading PlugIn: CCLayerColor.ccbPlugNode
2012-03-28 21:25:21.311 CocosBuilder[2465:703] Loading PlugIn: CCLayerGradient.ccbPlugNode
2012-03-28 21:25:21.312 CocosBuilder[2465:703] Loading PlugIn: CCMenu.ccbPlugNode
2012-03-28 21:25:21.316 CocosBuilder[2465:703] Loading PlugIn: CCMenuItemImage.ccbPlugNode
2012-03-28 21:25:21.318 CocosBuilder[2465:703] Loading PlugIn: CCNode.ccbPlugNode
2012-03-28 21:25:21.319 CocosBuilder[2465:703] Loading PlugIn: CCParticleSystem.ccbPlugNode
2012-03-28 21:25:21.323 CocosBuilder[2465:703] Loading PlugIn: CCSprite.ccbPlugNode
2012-03-28 21:25:21.325 CocosBuilder[2465:703] Loading PlugIn: Cocos2D iPhone.ccbPlugExport
2012-03-28 21:25:28.257 CocosBuilder[2465:703] cocos2d: CCTexture2D: Using RGBA888 texture since image has no alpha
2012-03-28 21:25:28.303 CocosBuilder[2465:703] An uncaught exception was raised
2012-03-28 21:25:28.303 CocosBuilder[2465:703] *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array
2012-03-28 21:25:28.306 CocosBuilder[2465:703](0 CoreFoundation 0x00007fff83adffc6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8dda1d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff83a6d582 -[__NSArrayM objectAtIndex:] + 274
3 CocosBuilder 0x000000010004bcaf +[CCBReaderInternal setProp:ofType:toValue:forNode:] + 4831
4 CocosBuilder 0x000000010004c163 +[CCBReaderInternal nodeGraphFromDictionary:] + 675
5 CocosBuilder 0x000000010004c371 +[CCBReaderInternal nodeGraphFromDictionary:] + 1201
6 CocosBuilder 0x000000010004c371 +[CCBReaderInternal nodeGraphFromDictionary:] + 1201
7 CocosBuilder 0x000000010004c371 +[CCBReaderInternal nodeGraphFromDictionary:] + 1201
8 CocosBuilder 0x000000010004c5bf +[CCBReaderInternal nodeGraphFromDocumentDictionary:] + 495
9 CocosBuilder 0x000000010000527f -[CocosBuilderAppDelegate replaceDocumentData:] + 47
10 CocosBuilder 0x0000000100005650 -[CocosBuilderAppDelegate switchToDocument:forceReload:] + 544
11 CocosBuilder 0x0000000100005773 -[CocosBuilderAppDelegate switchToDocument:] + 67
12 CocosBuilder 0x00000001000060ab -[CocosBuilderAppDelegate openFile:] + 1371
13 CocosBuilder 0x0000000100006834 -[CocosBuilderAppDelegate application:openFile:] + 52
14 AppKit 0x00007fff8d16aea5 -[NSDocumentController%28NSPrivate%29 _openRecentDocument:] + 270
15 CoreFoundation 0x00007fff83acf75d -[NSObject performSelector:withObject:] + 61
16 AppKit 0x00007fff8ce9fcb2 -[NSApplication sendAction:to:from:] + 139
17 AppKit 0x00007fff8cf8cfe7 -[NSMenuItem _corePerformAction] + 399
18 AppKit 0x00007fff8cf8cd1e -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125
19 AppKit 0x00007fff8d22add4 -[NSMenu _internalPerformActionForItemAtIndex:] + 38
20 AppKit 0x00007fff8d0bb3a9 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 138
21 AppKit 0x00007fff8cf06b4b NSSLMMenuEventHandler + 339
22 HIToolbox 0x00007fff8363e294 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1263
23 HIToolbox 0x00007fff8363d8a0 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 446
24 HIToolbox 0x00007fff83654677 SendEventToEventTarget + 76
25 HIToolbox 0x00007fff8369a6c1 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 398
26 HIToolbox 0x00007fff83781c59 SendMenuCommandWithContextAndModifiers + 56
27 HIToolbox 0x00007fff837c873d SendMenuItemSelectedEvent + 253
28 HIToolbox 0x00007fff836937bb ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2 + 101
29 HIToolbox 0x00007fff8368af01 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 600
30 HIToolbox 0x00007fff8368a4ca _HandleMenuSelection2 + 580
31 AppKit 0x00007fff8ce05fb2 _NSHandleCarbonMenuEvent + 250
32 AppKit 0x00007fff8cd9b4ad _DPSNextEvent + 2019
33 AppKit 0x00007fff8cd9a861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
34 AppKit 0x00007fff8cd9719d -[NSApplication run] + 470
35 AppKit 0x00007fff8d015b88 NSApplicationMain + 867
36 CocosBuilder 0x0000000100001512 main + 34
37 CocosBuilder 0x00000001000014e4 start + 52
38 ??? 0x0000000000000003 0x0 + 3)
2012-03-28 21:25:28.307 CocosBuilder[2465:703] NSExceptionHandler has recorded the following exception:
NSRangeException -- *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array
Stack trace: 0x7fff8363e2b8 0x7fff8363d8a0 0x7fff83654677 0x7fff8369a6c1 0x7fff83781c59 0x7fff837c873d 0x7fff836937bb 0x7fff8368af01 0x7fff8368a4ca 0x7fff8ce05fb2 0x7fff8cd9b4ad 0x7fff8cd9a861 0x7fff8cd9719d 0x7fff8d015b88 0x100001512 0x1000014e4 0x3
2012-03-28 21:25:30.409 CocosBuilder[2465:703] cocos2d: Director#setAnimationInterval. Override me
2012-03-28 21:25:47.250 CocosBuilder[2465:703] cocos2d: Director#setAnimationInterval. Override me
2012-03-28 21:25:49.811 CocosBuilder[2465:703] Could not connect the action changedRootObject: to target of class NewDocWindowController
2012-03-28 21:27:39.834 CocosBuilder[2465:703] -[NSNumberFormatter stringByDeletingLastPathComponent]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:27:39.835 CocosBuilder[2465:703] -[NSNumberFormatter stringByDeletingLastPathComponent]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:27:39.836 CocosBuilder[2465:703](0 CoreFoundation 0x00007fff83adffc6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8dda1d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff83b6c2ae -[NSObject doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff83acce73 forwarding + 371
4 CoreFoundation 0x00007fff83accc88 _CF_forwarding_prep_0 + 232
5 CocosBuilder 0x0000000100012b46 -[CCBDocument rootPath] + 54
6 CocosBuilder 0x000000010000551f -[CocosBuilderAppDelegate switchToDocument:forceReload:] + 239
7 CocosBuilder 0x000000010000a175 -[CocosBuilderAppDelegate reloadResources] + 165
8 CocosBuilder 0x0000000100051819 -[ResourceManager updateResourcesForPath:] + 4041
9 CocosBuilder 0x00000001000520f9 -[ResourceManager pathWatcher:eventOccurred:] + 73
10 CocosBuilder 0x000000010005384a _events_callback + 970
11 CarbonCore 0x00007fff86c28cd3 implementation_callback_rpc + 1753
12 CarbonCore 0x00007fff86c2857b _Xcallback_rpc + 458
13 CarbonCore 0x00007fff86c283aa FSEventsD2F_server + 148
14 CarbonCore 0x00007fff86c2830d FSEventsClientProcessMessageCallback + 29
15 CoreFoundation 0x00007fff83a3ee42 __CFMachPortPerform + 386
16 CoreFoundation 0x00007fff83a3ecac CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 44
17 CoreFoundation 0x00007fff83a3e9db __CFRunLoopDoSource1 + 155
18 CoreFoundation 0x00007fff83a75117 __CFRunLoopRun + 1895
19 CoreFoundation 0x00007fff83a74676 CFRunLoopRunSpecific + 230
20 HIToolbox 0x00007fff8363831f RunCurrentEventLoopInMode + 277
21 HIToolbox 0x00007fff8363f51b ReceiveNextEventCommon + 181
22 HIToolbox 0x00007fff8363f456 BlockUntilNextEventMatchingListInMode + 62
23 AppKit 0x00007fff8cd9af5d _DPSNextEvent + 659
24 AppKit 0x00007fff8cd9a861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
25 AppKit 0x00007fff8cd9719d -[NSApplication run] + 470
26 AppKit 0x00007fff8d015b88 NSApplicationMain + 867
27 CocosBuilder 0x0000000100001512 main + 34
28 CocosBuilder 0x00000001000014e4 start + 52
29 ??? 0x0000000000000003 0x0 + 3)
2012-03-28 21:29:05.546 CocosBuilder[2465:703] -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:29:05.555 CocosBuilder[2465:703] -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:29:05.557 CocosBuilder[2465:703](0 CoreFoundation 0x00007fff83adffc6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8dda1d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff83b6c2ae -[NSObject doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff83acce73 forwarding + 371
4 CoreFoundation 0x00007fff83accc88 _CF_forwarding_prep_0 + 232
5 Foundation 0x00007fff831d0e76 -[NSURL%28NSURL%29 initFileURLWithPath:] + 96
6 Foundation 0x00007fff831d0dfd +[NSURL%28NSURL%29 fileURLWithPath:] + 47
7 CocosBuilder 0x00000001000061ae -[CocosBuilderAppDelegate saveFile:] + 110
8 CocosBuilder 0x00000001000084a3 -[CocosBuilderAppDelegate saveDocument:] + 147
9 CoreFoundation 0x00007fff83acf75d -[NSObject performSelector:withObject:] + 61
10 AppKit 0x00007fff8ce9fcb2 -[NSApplication sendAction:to:from:] + 139
11 AppKit 0x00007fff8cf8cfe7 -[NSMenuItem _corePerformAction] + 399
12 AppKit 0x00007fff8cf8cd1e -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125
13 AppKit 0x00007fff8cf0a264 -[NSMenu performKeyEquivalent:] + 281
14 AppKit 0x00007fff8cf08eb5 -[NSApplication _handleKeyEquivalent:] + 526
15 AppKit 0x00007fff8ce00c4e -[NSApplication sendEvent:] + 4282
16 AppKit 0x00007fff8cd971f2 -[NSApplication run] + 555
17 AppKit 0x00007fff8d015b88 NSApplicationMain + 867
18 CocosBuilder 0x0000000100001512 main + 34
19 CocosBuilder 0x00000001000014e4 start + 52
20 ??? 0x0000000000000003 0x0 + 3)
2012-03-28 21:29:52.048 CocosBuilder[2465:703] -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:29:52.049 CocosBuilder[2465:703] -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:29:52.051 CocosBuilder[2465:703](0 CoreFoundation 0x00007fff83adffc6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8dda1d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff83b6c2ae -[NSObject doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff83acce73 forwarding + 371
4 CoreFoundation 0x00007fff83accc88 _CF_forwarding_prep_0 + 232
5 Foundation 0x00007fff831d0e76 -[NSURL%28NSURL%29 initFileURLWithPath:] + 96
6 Foundation 0x00007fff831d0dfd +[NSURL%28NSURL%29 fileURLWithPath:] + 47
7 CocosBuilder 0x00000001000061ae -[CocosBuilderAppDelegate saveFile:] + 110
8 CocosBuilder 0x00000001000084a3 -[CocosBuilderAppDelegate saveDocument:] + 147
9 CoreFoundation 0x00007fff83acf75d -[NSObject performSelector:withObject:] + 61
10 AppKit 0x00007fff8ce9fcb2 -[NSApplication sendAction:to:from:] + 139
11 AppKit 0x00007fff8cf8cfe7 -[NSMenuItem _corePerformAction] + 399
12 AppKit 0x00007fff8cf8cd1e -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125
13 AppKit 0x00007fff8cf0a264 -[NSMenu performKeyEquivalent:] + 281
14 AppKit 0x00007fff8cf08eb5 -[NSApplication _handleKeyEquivalent:] + 526
15 AppKit 0x00007fff8ce00c4e -[NSApplication sendEvent:] + 4282
16 AppKit 0x00007fff8cd971f2 -[NSApplication run] + 555
17 AppKit 0x00007fff8d015b88 NSApplicationMain + 867
18 CocosBuilder 0x0000000100001512 main + 34
19 CocosBuilder 0x00000001000014e4 start + 52
20 ??? 0x0000000000000003 0x0 + 3)
2012-03-28 21:29:53.848 CocosBuilder[2465:703] -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:29:53.849 CocosBuilder[2465:703] -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:29:53.850 CocosBuilder[2465:703](0 CoreFoundation 0x00007fff83adffc6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8dda1d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff83b6c2ae -[NSObject doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff83acce73 forwarding + 371
4 CoreFoundation 0x00007fff83accc88 _CF_forwarding_prep_0 + 232
5 Foundation 0x00007fff831d0e76 -[NSURL%28NSURL%29 initFileURLWithPath:] + 96
6 Foundation 0x00007fff831d0dfd +[NSURL%28NSURL%29 fileURLWithPath:] + 47
7 CocosBuilder 0x00000001000061ae -[CocosBuilderAppDelegate saveFile:] + 110
8 CocosBuilder 0x00000001000084a3 -[CocosBuilderAppDelegate saveDocument:] + 147
9 CoreFoundation 0x00007fff83acf75d -[NSObject performSelector:withObject:] + 61
10 AppKit 0x00007fff8ce9fcb2 -[NSApplication sendAction:to:from:] + 139
11 AppKit 0x00007fff8cf8cfe7 -[NSMenuItem _corePerformAction] + 399
12 AppKit 0x00007fff8cf8cd1e -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125
13 AppKit 0x00007fff8cf0a264 -[NSMenu performKeyEquivalent:] + 281
14 AppKit 0x00007fff8cf08eb5 -[NSApplication _handleKeyEquivalent:] + 526
15 AppKit 0x00007fff8ce00c4e -[NSApplication sendEvent:] + 4282
16 AppKit 0x00007fff8cd971f2 -[NSApplication run] + 555
17 AppKit 0x00007fff8d015b88 NSApplicationMain + 867
18 CocosBuilder 0x0000000100001512 main + 34
19 CocosBuilder 0x00000001000014e4 start + 52
20 ??? 0x0000000000000003 0x0 + 3)
2012-03-28 21:30:50.695 CocosBuilder[2465:703] -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:30:50.695 CocosBuilder[2465:703] -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:30:50.696 CocosBuilder[2465:703](0 CoreFoundation 0x00007fff83adffc6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8dda1d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff83b6c2ae -[NSObject doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff83acce73 forwarding + 371
4 CoreFoundation 0x00007fff83accc88 _CF_forwarding_prep_0 + 232
5 Foundation 0x00007fff831d0e76 -[NSURL%28NSURL%29 initFileURLWithPath:] + 96
6 Foundation 0x00007fff831d0dfd +[NSURL%28NSURL%29 fileURLWithPath:] + 47
7 CocosBuilder 0x00000001000061ae -[CocosBuilderAppDelegate saveFile:] + 110
8 CocosBuilder 0x00000001000084a3 -[CocosBuilderAppDelegate saveDocument:] + 147
9 CoreFoundation 0x00007fff83acf75d -[NSObject performSelector:withObject:] + 61
10 AppKit 0x00007fff8ce9fcb2 -[NSApplication sendAction:to:from:] + 139
11 AppKit 0x00007fff8cf8cfe7 -[NSMenuItem _corePerformAction] + 399
12 AppKit 0x00007fff8cf8cd1e -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125
13 AppKit 0x00007fff8cf0a264 -[NSMenu performKeyEquivalent:] + 281
14 AppKit 0x00007fff8cf08eb5 -[NSApplication _handleKeyEquivalent:] + 526
15 AppKit 0x00007fff8ce00c4e -[NSApplication sendEvent:] + 4282
16 AppKit 0x00007fff8cd971f2 -[NSApplication run] + 555
17 AppKit 0x00007fff8d015b88 NSApplicationMain + 867
18 CocosBuilder 0x0000000100001512 main + 34
19 CocosBuilder 0x00000001000014e4 start + 52
20 ??? 0x0000000000000003 0x0 + 3)
2012-03-28 21:31:41.197 CocosBuilder[2465:703] -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:31:41.198 CocosBuilder[2465:703] An uncaught exception was raised
2012-03-28 21:31:41.198 CocosBuilder[2465:703] -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
2012-03-28 21:31:41.200 CocosBuilder[2465:703](0 CoreFoundation 0x00007fff83adffc6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8dda1d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff83b6c2ae -[NSObject doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff83acce73 forwarding + 371
4 CoreFoundation 0x00007fff83accc88 _CF_forwarding_prep_0 + 232
5 Foundation 0x00007fff831d0e76 -[NSURL%28NSURL%29 initFileURLWithPath:] + 96
6 Foundation 0x00007fff831d0dfd +[NSURL%28NSURL%29 fileURLWithPath:] + 47
7 CocosBuilder 0x00000001000061ae -[CocosBuilderAppDelegate saveFile:] + 110
8 CocosBuilder 0x00000001000084a3 -[CocosBuilderAppDelegate saveDocument:] + 147
9 CoreFoundation 0x00007fff83acf75d -[NSObject performSelector:withObject:] + 61
10 AppKit 0x00007fff8ce9fcb2 -[NSApplication sendAction:to:from:] + 139
11 AppKit 0x00007fff8cf8cfe7 -[NSMenuItem _corePerformAction] + 399
12 AppKit 0x00007fff8cf8cd1e -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125
13 AppKit 0x00007fff8d22add4 -[NSMenu _internalPerformActionForItemAtIndex:] + 38
14 AppKit 0x00007fff8d0bb3a9 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 138
15 AppKit 0x00007fff8cf06b4b NSSLMMenuEventHandler + 339
16 HIToolbox 0x00007fff8363e294 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1263
17 HIToolbox 0x00007fff8363d8a0 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 446
18 HIToolbox 0x00007fff83654677 SendEventToEventTarget + 76
19 HIToolbox 0x00007fff8369a6c1 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 398
20 HIToolbox 0x00007fff83781c59 SendMenuCommandWithContextAndModifiers + 56
21 HIToolbox 0x00007fff837c873d SendMenuItemSelectedEvent + 253
22 HIToolbox 0x00007fff836937bb ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2 + 101
23 HIToolbox 0x00007fff8368af01 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 600
24 HIToolbox 0x00007fff8368a4ca _HandleMenuSelection2 + 580
25 AppKit 0x00007fff8ce05fb2 _NSHandleCarbonMenuEvent + 250
26 AppKit 0x00007fff8cd9b4ad _DPSNextEvent + 2019
27 AppKit 0x00007fff8cd9a861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
28 AppKit 0x00007fff8cd9719d -[NSApplication run] + 470
29 AppKit 0x00007fff8d015b88 NSApplicationMain + 867
30 CocosBuilder 0x0000000100001512 main + 34
31 CocosBuilder 0x00000001000014e4 start + 52
32 ??? 0x0000000000000003 0x0 + 3)
2012-03-28 21:31:41.201 CocosBuilder[2465:703] NSExceptionHandler has recorded the following exception:
NSInvalidArgumentException -- -[NSNumberFormatter length]: unrecognized selector sent to instance 0x10dc13bd0
Stack trace: 0x7fff8363e2b8 0x7fff8363d8a0 0x7fff83654677 0x7fff8369a6c1 0x7fff83781c59 0x7fff837c873d 0x7fff836937bb 0x7fff8368af01 0x7fff8368a4ca 0x7fff8ce05fb2 0x7fff8cd9b4ad 0x7fff8cd9a861 0x7fff8cd9719d 0x7fff8d015b88 0x100001512 0x1000014e4 0x3
2012-03-28 21:31:43.125 CocosBuilder[2465:703] cocos2d: Director#setAnimationInterval. Override me
2012-03-28 22:31:15.539 CocosBuilder[2465:703] cocos2d: Director#setAnimationInterval. Override me
2012-03-28 22:31:18.961 CocosBuilder[2465:703] cocos2d: Director#setAnimationInterval. Override me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.