Xcode is an IDE from Apple which integrates design, coding, testing, and debugging capabilities for Mac OS and iOS software development.
-2
votes
1answer
24 views
XCode App Making Help [closed]
I need help with my app. I want to change the string myScore by 1 but I get the error:
Arithmetic on pointer to interface 'NSString', which is not a constant size in non-fragile ABI.
My code is:
...
0
votes
0answers
41 views
How to select a show and select weapon on touch a bubble that changes continuously weapons! [closed]
hello i need to select a weapon from a floating bubble that changes weapon inside in it !
Bubble must show 2 weapons changing randomly until user taps to gain the weapon
(This lets user gain any bonus ...
1
vote
1answer
131 views
Unity3d iOS: unable to find iPhone_GlesSupport.h [closed]
i've an old unity project and i've tried it just today (with unity 4.1) and xcode 4.6.
Xcode is unable to build it for the error: "iPhone_GlesSupport.h" file not found.
Im pretty a noob under xcode ...
0
votes
1answer
99 views
SDL_types.h file not found using xcode
Getting this error when trying to use SDL_mixer...
SDL_types.h file not found..
I am including all the correct files as far as I can tell and have included the frameworks (both SDL and SDL_mixer) ...
0
votes
0answers
98 views
Mix_LoadWAV not working on xcode 4.6 using SDL [closed]
I am trying to load a simple sound effect using SDL_mixer on xcode but it is not loading. Here is the code:
#include <SDL/SDL.h>
#include "SDL_image.h"
#include "SDL_mixer.h"
#include ...
0
votes
0answers
30 views
how do stack the UIImage together and wavering or swing?
i will like to know how do this app stack up uiimage and wavering in UIKit.
i am following this http://stackoverflow.com/questions/13589392/xcode-using-a-uiimageview-subclass-with-nstimers
to have ...
-4
votes
1answer
1k views
Why does Angry Birds use lua? [closed]
What does it use the lua files for? I found it interesting when I read online that they use it.
3
votes
2answers
142 views
Is it possible exchange points between players using Game Center?
I want to create a turn based two player game. In my game in a certain stage if player 1 loses he must give few points that he have to the opposite player. The game is implemented with game center. Is ...
0
votes
1answer
113 views
Cannot find the Cocos2d templates
I am about to upgrade to the last version of Cocos2d and would like to uninstall my current Cocos2d templates before installing the new one but cannot find the templates to delete.
I have looked at a ...
1
vote
2answers
431 views
Game Development at iOS+Android Platform : Template Engine for UI
We have broken down our game development process to
UI Programming
Core Game Programming
Particle Effect Programming
UI will be created by a group of programmers and those UI will be used at Core ...
3
votes
1answer
267 views
Variables in static library are never initialized. Why?
I have a bunch of variables that should be initialized then my game launches, but must of them are never initialized.
Here is an example of the code:
MyClass.h
class MyClass : public BaseObject {
...
7
votes
2answers
535 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
353 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, ...
0
votes
1answer
315 views
OpenGL in xcode 4
I'm just getting started with OpenGL with lot's of ideas on my head that i want to experiment, i started reading the OpenGL Superbible book which looks amazing but i am having a super hard time making ...
1
vote
1answer
922 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
258 views
Build-time GLSL syntax validation
Is there a way to validate GLSL syntax build-time instead of run-time? My application takes a long time to start and I want to know at the earliest possible stage that my shaders are ok. I'm using ...
3
votes
1answer
305 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 ...
3
votes
0answers
292 views
FPS Drop after upgrading to XCode 4.3
I'm hoping someone else has experienced this and subsequently found a solution as I am about to light my own hair on fire in frustration.
Simply put, I was creating a Cocos2D app using XCode 3.2.6 ...
0
votes
1answer
202 views
Player sprite moving slower on iPhone 4
I just finished getting movement/jump animation for a player sprite in Xcode using Cocos2D. The basic movement algorithm is a timer that updates every 0.01 sec, changing the sprite position to ...
1
vote
5answers
1k views
Learning C++ but wanting to develop iOS Apps
I'm a computer engineering student and taking my second programming class. I'm learning C++ using "C++ Primer Plus" 5th edition by Prata. I want to develop for iOS. I understand the main language for ...
3
votes
3answers
5k views
Can Xcode be used to create very simple games?
I am brand new to Xcode, and I am also brand new Objective-C programmer.
I was wondering if it is possible to create simple Mac games with Xcode. If it's not possible, could you recommend me some ...