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
2
votes
2 answers

Game Center login portrait only any solution for Kobold2d

I am a beginner using Kobold2d v2.0.4, My games that I am creating is target for only iOS 6 and was design to run on Landscape orientation only, and when I implemented game center I found that game center login on iOS 6 only run on portrait, so I…
O___O
  • 23
  • 2
2
votes
0 answers

Kobold2d how to detect an ipad3

Hi I am trying to work out how to run a universal app in Kobold2d. I would like to have graphics designed for 320x480, 640,960. to support the iPhones. Just to repositions it for the iPad 1 & 2. And not to use the iPad 3 (new) high resolutions? So…
Digi Dex
  • 21
  • 1
2
votes
3 answers

Cocos2d 2.0.3 Use of undeclared identifier 'glColor4f'

I am trying to compile my project after switching to cocos2d 2.0.3 and I keep getting this error. (Use of undeclared identifier 'glColor4f') Is there something else that I should use instead of this method. glColor4f(1.0f,1.0f,1.0f,1.0f);
Stephen
  • 499
  • 9
  • 28
2
votes
1 answer

CCMask and threads

I am using Gilles Lesire's CCMask class in my Kobold2d 2.0.3 (cocos2d-iphone v2.0 and OpenGL ES 2.0) game, but calling "createMaskForObject:withMask:" I get the following error: -[CCRenderTexture initWithWidth:height:pixelFormat:depthStencilFormat:]…
Rhuantavan
  • 445
  • 3
  • 17
2
votes
1 answer

WindowFrame setting in config.lua missing in Kobold2D 2.X

I am wondering where has the WindowFrame setting in the config.lua file gone in Kobold2D 2.X? Is there another way to set the window resolution under OS X? For the moment I managed to set the window size by modifying the Kobold2D sources, but I am…
Rhuantavan
  • 445
  • 3
  • 17
2
votes
1 answer

XCode Cannot Find AppKit

I'm learning iPad development and I'm refactoring my project to use Kobold2d. It's been going well, but I'm stuck with trying to initialize a CCLabelTTF with the labelWithString:dimensions:hAlignment:vAlignment:fontName:fontSize: initializer, bit…
riqitang
  • 3,241
  • 4
  • 37
  • 47
2
votes
2 answers

Box2D in Objective-C

I am currently running Kobold 1.0.4 and cannot work out how to use Box2D using Objective-C, any help will be appreciated. I have looked at the Box2d example project with kobold but it uses only c++ i need to do it in objective-c as i am not really…
bobjamin
  • 265
  • 1
  • 2
  • 11
1
vote
2 answers

Cocos2D CCTexture2D "Holding Class" - Error

I have a class called Textures that use holds some data like this //Textures.h #import @interface Textures { CCTexture2D *Balloon_RED; CCTexture2D *Balloon_POP; } @property (nonatomic, retain) CCTexture2D*…
Mark Lalor
  • 7,820
  • 18
  • 67
  • 106
1
vote
3 answers

What is the Objective-C equivalent to a .Net delegate?

In .Net when I have an object that has an event I can register to handle that event via a delegate: void Test() { Button button = new Button(); button.Click += new EventHandler(OnClick); } void OnClick(object sender, EventArgs e) { …
Grant Cermak
  • 1,808
  • 1
  • 19
  • 23
1
vote
1 answer

Cocos 2D CCColor3b not assignable to property.color

I am probably staring the answer in the face, however. I want to assign a random colour to a CCLabelTTF string. When I try to set the return type of (CCColor3B *) and assign it CCLabelTTF.color = [self randomColor] I get incompatible assignment…
Skybird
  • 159
  • 1
  • 11
1
vote
2 answers

How to update Kobold2D 2.1 project to MacOS10.10 / XCode 6.1?

we've got a major project written in Kobold2D by Steffen Itterheim, (which is itself a wrapper for Cocos 2.1), and since upgrading to XCode 6.1/OS X 10.10, the new iOS 8 framework seems to render many parts of the Kobold-library and the Cocos…
Averett
  • 66
  • 8
1
vote
1 answer

How to convert Kobold2D into a new Cocos2D 3.x project?

I love Kobold2D, but since the upgrades of Xcode and it seems the Kobold2D has been discontinued (may be kobold touch is still updating, I'm not sure), which I can not even run it on Xcode 6. I am forcing to change my project from Kobold2D to…
phil88530
  • 1,499
  • 3
  • 19
  • 27
1
vote
0 answers

Integrating UIKit (Specifically Storyboards) into Cocos2D

I am working through this tutorial at the moment: http://www.koboldtouch.com/pages/viewpage.action?pageId=8520073 I'm trying to add a Storyboard to a current Cocos2D app template and I am getting the same result every time. All I seem to get is…
UITomW
  • 11
  • 2
1
vote
0 answers

Kobold2D game compilation error

I'm porting my iPhone app from iOS to android, and I'm struggling to build on my android device. My app uses the Kobold2D library, and when I run apportable load my build fails and the error says to check dependencies. In order to run my kobold2d…
daveroz
  • 23
  • 5
1
vote
1 answer

kobold2d tilemap black gaps between tiles

I am doing a standard kobold2d tilemap game, which I am trying to start with loading a tile map from the tiledmap editor, a .tmx file the standard code is very simple: -(id) init { self = [super init]; if (self) { …
phil88530
  • 1,499
  • 3
  • 19
  • 27
1
2
3
9 10