0
votes
1answer
129 views

Swinging a sword in Xcode with Sprite Kit

I'm working on making an RPG in Xcode, and I'm having a major gameplay issue when it comes to having my character swing his sword in a way that is realistic and gameplay compatible. Right now, when ...
0
votes
0answers
8 views

FreeType2 Crash on FT_Init_FreeType in xcode(cocos2dx) [migrated]

I'm currently trying to learn how to use the FreeType2 library for drawing fonts with OpenGL. However, when I start the program it immediately crashes with the following error: problem loading file ...
1
vote
2answers
123 views

How to detect collision on specific part of the sprite node

I have a spike and a ball is falling down, when the ball touches the top point of the spike, I want to make the ball invisible, and when it touches on the other part i.e on the sides I don't want to ...
0
votes
0answers
19 views

Maintaining a constant magnitude of speed of a CCNode's physics-body after collision with a static body

I have two CCNode class "Baffle" and "SmashBall" with there physics bodies. Here are the PhysicsBody details of Baffle // Defining the physics body CCPhysicsBody * physicsBody = ...
1
vote
1answer
192 views

iOS Sprite Kit - Blend Mode Effect

This question builds upon the following question: How can I achieve a good fire effect with alpha blending and particles? I want to achieve the visual effect of using SKBlendModeAdd on a black layer, ...
0
votes
1answer
67 views

How to get the complete width of SKSpriteNode which has many child nodes

I have a Sprite node with many 6 child nodes. Each are placed one after another in X-axis. I want to know the complete with of the Sksprite node. SKSpriteNode *array = [SKSpriteNode node]; [array ...
0
votes
0answers
18 views

Label jumps to front when tapping UITablecell

I made a UItable with some custom cells. When i press the cell, the label in the cell jumps to the front of the cell and is stuck behind a button that's in the cell. i've made a video available to ...
1
vote
1answer
237 views

Spritebuilder and CCScrollView, page indicators not showing up?

I'm using Spritebuilder to make my game, and CCScrollView usually saves me quite a bit of time. I'm trying to implement the scroll view much in the same way as the home screen on an iphone uses the ...
0
votes
2answers
44 views

Count number of CCNodes of a certain class on a layer

Pretty simple question. I'm working in Objective C (cocos2d) and I'm trying to count the number of a sprites of a certain class are present on the current layer being displayed. For example, I have a ...
0
votes
0answers
64 views

Is it possible to integrate 3d animated models in a chat app?

I'm trying to make a 3d model from the top left corner animate when a gui in the bottom of the phone opens a keyboard & shows a list of animation. The problem is I am a game developer & I have ...
-1
votes
1answer
358 views

Level Editor for iOS Games [closed]

What would be the best way to design "Angry Birds" - levels. I wanna develop my own Angry Birds but I don't know how I should design the levels. Is there any good tool/level editor for that? The app ...
1
vote
0answers
294 views

Unity game debugging on Xcode

This question has two parts: 1. How to get meaningful information out of Xcode crash logs? The game runs fine on the editor but when running on an iOS device it crashes and then gives information ...
0
votes
0answers
389 views

AssetBundle local file path on iOS

I have been testing AssetBundles and I get them to work on the editor with both Load and LoadASync functions. But when I build to iOS I keep getting the following error when loading: You are trying ...
7
votes
2answers
936 views

What is the correct way to implement hit detection with non-rectangular sprites?

What is the correct way to implement hit or touch detection for non-rectangular sprites in Cocos2d? I am working on a jigsaw puzzle, so our sprites have some strange forms (jigsaw puzzle bricks). As ...
1
vote
1answer
401 views

Why do my pyramids fade black and then back to colour again [closed]

I have the following vertecies and norms GLfloat verts[36] = { -0.5, 0, 0.5, 0, 0, -0.5, 0.5, 0, 0.5, 0, 0, -0.5, 0.5, 0, 0.5, 0, 1, 0, -0.5, 0, 0.5, 0, 0, -0.5, 0, 1, 0, 0.5, 0, 0.5, -0.5, 0, ...
2
votes
1answer
2k views

Am I allowed to release an app I developed with Xcode on windows?

I want to develop an app for the iOS app store, but don't want to invest in a mac since they start very expensive. So I considered running Xcode via VMware using OSX Lion on my windows 7 computer. ...
2
votes
1answer
538 views

Xcode workspace with Unity3D as a sub-project?

Let's say we're developing a 2D game with Cocos2d-iPhone and UIKit and CoreAnimation. But we're also considering leveraging the 3D capabilities of Unity 3D. Is it possible that we add the ...