Questions tagged [kobold2d]

Kobold2D is an extended and improved version of the popular Cocos2D for iPhone game engine

Kobold2D is an extended and improved version of the popular Cocos2D for iPhone game engine. Everything you know about Cocos2D can still be applied, and Kobold2D is easier to get started with, more convenient to use, more powerful and flexible than Cocos2D with all the documentation available online and offline. Use Kobold2D to develop iPhone, iPod touch, iPad and Mac OS X games for both Apple App Stores. Kobold2D is free and open source with additional premium content to support its development. It was established by Steffen Itterheim, author of the book Learn Cocos2D Game Development with iOS 5.

141 questions
0
votes
1 answer

Upgrading Kobold2d project from 1.1.2 to 2.0.3

I am in the middle of a kobold2d project and I am using kobold2d 1.1.2. Is it possible to upgrade my project to kobold2d 2.0.3 I know that the newer version uses opengles 2.0 and cocos2d 2.x. So my question is would I be able to upgrade without…
Stephen
  • 499
  • 9
  • 28
0
votes
2 answers

Kobold2d animation problems

I am trying to play through an animation using these files that I created with texture packer (footballAnim-hd.pvr.ccz) and (footballAnim.pv-hd.plist) but I have encountered a problem. Here is my code: [[CCSpriteFrameCache sharedSpriteFrameCache]…
Stephen
  • 499
  • 9
  • 28
0
votes
1 answer

Layer or Scene?

Learning cocos2d/kobold2d and puzzled by the scenes and layers. As I understand a scene usually contains layers where the layers contain UI elements like buttons and all the logic. My first project is based on the kobold2d helloworld example and…
Rob
  • 165
  • 1
  • 1
  • 11
0
votes
1 answer

Where to register NSUserDefaults in kobold2d

I am trying to track when my app is first run on a device so it will play a short video and then from there after make the video skippable.So I am doing this with NSUserDefaults, but I am using Kobold2d and that uses lua to set things up. I am…
Stephen
  • 499
  • 9
  • 28
0
votes
1 answer

I am trying to create a 2D tile map engine that works sort of like a tiled ScrollView

I already have a function that can return a tile for a given position. I am trying to make it so that when I scroll around it will load new tiles on the fly. I am having trouble figuring out how to attack the problem. I am sure that someone must…
Weston
  • 1,481
  • 1
  • 11
  • 31
0
votes
1 answer

didEnterBackground in Kobold2d

In Cocos2d I would implement - (void)applicationDidEnterBackground:(UIApplication *)application inside of the AppDelegate, but in Kobold2d (I haven't worked with it much) that is all handled by config.lua, which is great, but how do I handle these…
0
votes
0 answers

Can't load CCSpriteBatchNode using cocos2d when compiling in release mode

Following is part of my program: CCSpriteFrameCache *frameCache = [CCSpriteFrameCache sharedSpriteFrameCache]; NSString *plistFileName = [NSString stringWithFormat:@"%@%@", aName, @".plist"]; NSString *pngFileName = [NSString…
HanXu
  • 5,507
  • 6
  • 52
  • 76
0
votes
1 answer

I am unable to figure out why my label isn't printing for my instructions?

I am creating a game and in my Instructions class I have created a label with the instructions However, for some reason, when I run my game the instructions do not print. I am having a very hard time figuring out why. Thank you for any help you…
Surz
  • 984
  • 3
  • 11
  • 36
0
votes
2 answers

No known class method for selector scene?

Possible Duplicate: Error “No known class method for selector 'Hello:'” in custom-made framework I am creating a Main menu for my game here It does not compile but i do not understand why // Main Menu.m // // // #import "MainMenu.h" #import…
Surz
  • 984
  • 3
  • 11
  • 36
0
votes
1 answer

EXC_BAD_ACCESS trying to access Box2D body UserData

As suggested in the Box2D manual, I'm setting my body->userData to the CCSprite associated with it. However, when I later try to access it - even within the same method, or the same for loop - it inevitably throws EXC_BAD_ACCESS. The error shows up…
linkhyrule5
  • 871
  • 13
  • 29
0
votes
1 answer

Linker error when trying to use SmartfoxServer-framework with a Kobold-2D project

When trying to use the SmartfoxServer-framework inside a Kobold2d project we are getting the following error: Undefined symbols for architecture i386: "_OBJC_CLASS_$_CCAsyncObject", referenced from: objc-class-ref in…
Johannes Lumpe
  • 1,762
  • 13
  • 16
0
votes
1 answer

Cocos2d Kobold2d reorderChildren doesn't order CCSprites properly

I am having an issue in Kobold2d-Cocos2d regarding the layering of CCSprite objects. All of my code works fine, except that a certain tile (a CCSprite), held in an array, is supposed to always be on top. The code has an array of references to…
0
votes
1 answer

Why "CCTextureCache+CCBigImageExtensions" isn't linked in my Kobold2D project?

I am using CCBigImage in an iOS/Kobold2d project as the sprite would be too big to be loaded at once. Unfortunately when executing the application it stops with ERROR: Uncaught exception…
Lars Blumberg
  • 19,326
  • 11
  • 90
  • 127
0
votes
0 answers

CCMenuItemSprite strange behavior Kobold2d new iPad

I'm developing a game and I'm having some troubles in my second scene. I have a CCLayer class "NewGameLayer" that contains a CCLayer as a child "bookLayer", the "NewGameLayer" contains a CCSprite as child that is a custom keyboard that animates like…
Rafael Jimeno
  • 626
  • 2
  • 8
  • 20
0
votes
1 answer

Can't (successfully) install cocos2d/Kobold2D templates in Xcode 4.3.2 or get a project to build

I'm trying out this new thing... It's called conciseness. I've only been reading about it though, so bear with me. Installed the templates for cocos2d, cocos2d-chipmunk, and cocos2d-box2d and they're showing up in the project window in Xcode. (I…
baptzmoffire
  • 589
  • 2
  • 4
  • 20
1 2 3
9
10