Tagged Questions
1
vote
4answers
795 views
Cocos 2D - Hold down CCMenuItem
I am using the following code to move a CCSprite left and right.
-(id)init{
CCMenuItemImage * moveLeftButton = [CCMenuItemImage itemFromNormalImage:@"Move Left Button.png" selectedImage:@"Move ...
0
votes
3answers
393 views
How can I spawn multiple monsters in my game?
I made a little iPhone game in which I want to make multiple monsters spawn.
I have one UIImageView called enemy that spawns at beginning of the game. But I want it to spawn many more monsters until ...
3
votes
1answer
388 views
How can I spawn monsters at random locations?
I made a little 2D shooter game for my iPhone. I want monsters to spawn at random locations.
But I don't have any clue where to start to make them spawn.
I already made the monster image and ...
0
votes
2answers
221 views
How to decrease velocity constantly?
I am developing a golf game using the GameSalad framework for iPhone. I have one attribute named speed of type integer with value 5000. I also have one boolean attribute named speedControl which is ...