iPod touch Fans
Reply
 
Thread Tools
  #1  
Old 2 Weeks Ago
ipodmail09's Avatar
iPod touch Fan
Join Date: Mar 2009
 
Default Name this type of game...

Ok i have a video of an app that i want to recreate would any one know how to get the nail falling to the bottom of the screen But i don't know what to search in the documentation?


http://www.youtube.com/watch?v=nypftNQ5fuA
__________________
  #2  
Old 2 Weeks Ago
Steaps's Avatar
iPod touch Maniac
Join Date: Oct 2007
 
For that "app", it's a UIImageView, just add x to the frames y-value.
  #3  
Old 2 Weeks Ago
ipodmail09's Avatar
iPod touch Fan
Join Date: Mar 2009
 
thank you but i already new that it has something to do with x and y values but can you name what its called eg: DroppingUIimages
  #4  
Old 2 Weeks Ago
SkylarEC's Avatar
Super Moderator Emeritus
Join Date: Sep 2007
 
Search this forum. There's like a hundred examples of this. Either set the y coordinate on a timer, or use a simple UIView animation.
  #5  
Old 2 Weeks Ago
Steaps's Avatar
iPod touch Maniac
Join Date: Oct 2007
 
Quote:
Originally Posted by SkylarEC View Post
Search this forum. There's like a hundred examples of this. Either set the y coordinate on a timer, or use a simple UIView animation.
I thought he would have been able to draw that from what I posted. Apparently not.

Not everything is going to be done for you.
  #6  
Old 2 Weeks Ago
spoonforknife's Avatar
Super Moderator
Join Date: Nov 2007
 
The imbecile (ASM) of whom you posted a video of did not code the engine. He only made the horrendous graphics, menu system, etc. In any case, what he is using is updating the positions of the 3 falling objects every 0.01 seconds. It's not using UIViewAnimations, because the frame of the UIImageView is only changing once: to the frame that the UIImageView is being set to after the animation. Using CGRectIntersectsRect (what ASM is using) would not work with UIViewAnimations, unless the center would be set to the next y coordinate (i.e. fallingObject.center.x, fallingObject.center.y + 1).

I have the source code to an early version of that application. It has roughly 90 memory leaks mostly from not releasing sounds.

Last edited by spoonforknife; 2 Weeks Ago at 08:04 PM..
  #7  
Old 1 Week Ago
ipodmail09's Avatar
iPod touch Fan
Join Date: Mar 2009
 
Thanks spoon for your reply may you please post the source code because I did it a complete diff way you stated... -.- lol but i have made some progress and made the "Images" fall but they only fall from my start = x and my end = y so they all miss the the left and right side
  #8  
Old 1 Week Ago
SkylarEC's Avatar
Super Moderator Emeritus
Join Date: Sep 2007
 
Well, there are ways to check while using UIView animations.
  #9  
Old 1 Week Ago
ipodmail09's Avatar
iPod touch Fan
Join Date: Mar 2009
 
Spoon may you please post/give me the "game engine" just for educational purposes.
  #10  
Old 6 Days Ago
Steaps's Avatar
iPod touch Maniac
Join Date: Oct 2007
 
Quote:
Originally Posted by ipodmail09 View Post
Spoon may you please post/give me the "game engine" just for educational purposes.
By educational puposes, you mean so you can steal the code? I doubt he will post it, as crappy as it is, it's not his to post. I've seen the code, you wouldn't learn anything [useful] from it.
Reply

Thread Tools

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



Useful links:


All times are GMT -7. The time now is 12:38 AM.


Powered by vBulletin® ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2007 - 2009 Vigorous Media LLC - All Rights Reserved.
No information may be posted elsewhere without written permission.


Page generated in 0.04163 seconds with 7 queries