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
1
vote
0 answers

kobold2d ios device build failed

i am trying to run my kobold2d project on my iphone 4 but it gives me build failed , Apple Mach-O linker error. Cocos2d projects run fine so i don't have any problem with my provisioning profile.I am opening kobold2-0-4.xworkspace. By the way the…
Emircan ayvaz
  • 21
  • 1
  • 6
1
vote
0 answers

cocos2d v2.x missing from template selector after upgrade

I was using cocos2d v1 for iPhone. When Steffen Itterheim's Learn cocos2d 2 book was published, I installed Kobold2D v 2.0.4. The book suggests adding new files to a project by using the cocos2d v2.x or the Kobold2D template classes, but neither…
1
vote
0 answers

How to pinch/zoom on a cocos2d (Kobold2D) CCLayer

I have been trying to implement a standard pinch/zoom on a CCLayer in cocos2d (using the Kobold2D gesture recognisers) but with only partial success. Below is my code which does make pinch/zoom work, so long as the pinch point doesn't move. However…
Paul Masri-Stone
  • 2,843
  • 3
  • 29
  • 51
1
vote
1 answer

xcode 4.5 Application windows are expected to have a root view controller at the end of application launch

I just started developing a game for my new iphone 5 but every time I build it to my device I get this warning in the console. Application windows are expected to have a root view controller at the end of application launch I searched the web for a…
Stephen
  • 499
  • 9
  • 28
1
vote
0 answers

(Kobold2d) Clang Error after upgrading to xcode 4.5

I upgraded to xcode 4.5 and also updated Kobold2d to version 2.0.4 and now I am getting this error when trying to build the project. clang: error: no such file or directory:…
Stephen
  • 499
  • 9
  • 28
1
vote
2 answers

Kobold2d - Orientation

Im created a game in cocos2d, because i wanted to use some UIKit elements i found kobold2d. I ported the game, but the problem is that my iPhone stimulator is rotated, but not the node that is shows. Do is have to use: background.rotation =…
Oritm
  • 2,113
  • 2
  • 25
  • 40
1
vote
1 answer

CCArray with CCSprites in Cocos2D/Kobold2D

I am developing a Cocos2D/Kobold2D game with ARC. I want to store CCSprite references in a CCArray. All the CCSprite objects are added as children to a parent CCNode. Is it a good idea to wrap the CCSprite objects with [NSValue…
classis
  • 51
  • 3
1
vote
1 answer

CCSprite scale - How can I change method of scaling?

I want to scale CCSprite by nearest neighbor method. But just setting sprite.scale causes blurred scaling ( I think it's bilinear or something) So how can I change the method of scaling? Is that possible?
akira108
  • 330
  • 3
  • 18
1
vote
2 answers

How can I install Kobold2D reference in Xcode?

As the title says, how can I install Kobold2D reference in my Xcode help? The reference is here: http://www.learn-cocos2d.com/api-ref/2.0/Kobold2D-mac/html/index.html Added screenshot from another user for clarification:
HanXu
  • 5,507
  • 6
  • 52
  • 76
1
vote
1 answer

CCMenuItems loose tags

I'm adding two CCMenuItemImage objects to a CCMenuItemToggle like so: CCMenuItemImage *soundEnabled = [CCMenuItemImage itemWithNormalImage:@"button_sound_enabled.png" …
Johannes Lumpe
  • 1,762
  • 13
  • 16
1
vote
2 answers

CCLabelTTF Automatic Height

In the following code I am trying to make the text to wrap into the next line by setting the Y parameter in "dimensions" to 0. However the text does not wrap. It does wrap however, if I set it to some other positive value, like '100' for…
Rhuantavan
  • 445
  • 3
  • 17
0
votes
1 answer

AI88 textures bug on Cocos2D 1.1beta2 with TMX tile maps

Recently I migrate my project to Kobold2D 1.1 with Cocos2D 1.1beta2 inside for iPad Retina Display. But when I run my project and try to put a TMX tile map, the program hung up. The problem is CCTexture2D is call in InitWithImage and there's no Case…
0
votes
1 answer

Trying to use a Contact Listener. Listening for "contact.End()" not working. (Box2d, iPhone)

MyContactListener class: .h #import "Box2D.h" #import #import struct MyContact { b2Fixture *fixtureA; b2Fixture *fixtureB; bool operator==(const MyContact& other) const { return (fixtureA ==…
cocos2dbeginner
  • 2,185
  • 1
  • 31
  • 58
0
votes
1 answer

How to fix OALAudio Library for XCode 6 / Kobold2D (Linker Error)

trying to update a Kobold2D/Cocos2d 2.1 project for iOS 8.1/XCode 6 on Yosemite. After using the solution provided here (How to update Kobold2D 2.1 project to MacOS10.10 / XCode 6.1?), I get a linker error that, despite all attempts (restarting,…
Averett
  • 66
  • 8
0
votes
1 answer

Using Tile Maps with cocos2d - how do I handle a large amount of images?

I am building a game where the users (players) can build their own town. There they can build houses, add furniture to the houses etc etc. Basically similar to The Sims. I am using the Tiled Map Editor to create a basis for each town. There I…
Eyeball
  • 3,267
  • 2
  • 26
  • 50