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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-09-2010, 03:42 PM   #2 (permalink)
MiniRobinho
Registered Member
 
Join Date: Oct 2009
Posts: 159
Default

Regarding the game world size, I've also wanted a bigger size than the actual screen size to layout everything. I think it can be done, however you can't do it through interface builder because that only allows editing within the iphone screen.

For collisions you can use CGIntersectsRect(character,building){DO SOMETHING} which will then do something when the two images "interesect" or touch essentially. And yes, if you have a background image, you'd need a separate image saved of just the building so that the game can detect where the building is.

For alternate views, you could have two views, and then using CGIntersectsRect(character,door){load second view containing building interior}

Hope that helps
MiniRobinho is offline   Reply With Quote
 

» Advertisements
» Online Users: 260
18 members and 242 guests
ADY, apatsufas, ckgni, F_Bryant, IphoneSdk, jakerocheleau, MarkC, michelle, NSeven, rob.mccarthy, rodrigozanatta, smethorst, Sunny46, themathminister, TheWebWizz, V_SC&, Xaron, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,876
Threads: 89,225
Posts: 380,711
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jorge599
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:19 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.