Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-31-2011, 11:48 AM   #1 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 35
Kenenth is on a distinguished road
Default Help with game logic

I am developing a game in which the user fires at oncoming troops. What would be the most efficient way to do these things: detect collision between a bullet and a troop, move a bullet based on a slope, and move across the screen? Any help is appreciated. I know that it is a very vague question, but I am just trying to see how I can go about this task while being as efficient as possible. Thanks!
Kenenth is offline   Reply With Quote
Old 12-31-2011, 02:13 PM   #2 (permalink)
Registered Member
 
newDev's Avatar
 
Join Date: Jul 2010
Location: Utah
Posts: 75
newDev is on a distinguished road
Default

Look into cocos2d, it is a game engine that has all the physics you'll need your game.
__________________
Sir Charles Barkley
newDev is offline   Reply With Quote
Old 12-31-2011, 10:16 PM   #3 (permalink)
Bringing fun to you
 
davidlxk's Avatar
 
Join Date: Dec 2011
Posts: 43
davidlxk is on a distinguished road
Default

you should try Box2D with cocos2D. try this tutorial

How To Use Box2D For Just Collision Detection with Cocos2D iPhone | Ray Wenderlich

and also this

How To Create A Game Like Tiny Wings Part 1 | Ray Wenderlich
__________________
Drop Dem is out now! You should check it out at http://itunes.apple.com/us/app/drop-dem/id490101113

You should follow Drop Dem on Twitter http://twitter.com/dropdemgame
or find us on Facebook http://www.facebook.com/pages/Drop-Dem/314923981881703
davidlxk is offline   Reply With Quote
Reply

Bookmarks

Tags
efficient, game, iphone, objective c

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 397
13 members and 384 guests
7twenty7, AppsBlogger, comicool, Creativ, Dalia, dansparrow, Duncan C, HemiMG, heshiming, LunarMoon, Murphy, pbart, Tomsky
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,676
Threads: 94,127
Posts: 402,915
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jleannex55
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:53 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0