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 03-27-2009, 02:27 PM   #14 (permalink)
LeopardDevX
iPhone Developer
 
Join Date: Mar 2009
Posts: 222
Exclamation Hm..

Hm..

I dont know how to use the spawn code if a have a UIIMageView named enemy and want a new enemy to pop up every 4. second...
I already have a timer to call a method called spawnE, and the only thing i need is the code to pop up a new enemy...

PS: i already have a array called enemies and i have added object enemy...

So how can i do this without creating things like newEnemy and other stuff..


THings i have:
NSMutableArray *enemies;
UIImageView *enemy;
and a timer to call method:
-(void)spawnE;


so...
__________________
Thank You.
LeopardDevX is offline   Reply With Quote
 

» Advertisements
» Online Users: 358
19 members and 339 guests
ADY, apatsufas, chemistry, Duncan C, Fit4him, headkaze, HemiMG, MarkC, marto1914, Meoz, padsoftware, Promo Dispenser, Raffaello, sojourner, syver, tathaastu, tgjorgoski, Thrillhouse1919, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,222
Posts: 380,718
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

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