Tagged Questions
0
votes
1answer
337 views
objective-c iphone sdk side scrolling
I was making a game and I did the side scrolling like this: if the player get past 150, the player stops moving and the background starts moving. But thats very annoying with placing objects in the ...
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
389 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 ...
2
votes
6answers
839 views
Random Position between ranges
Does anyone have a good algorithm for generating a random y position for spawning a block, which takes into account a minimum and maximum height, allowing player to to jump on the block.
Blocks will ...