Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a cocos2d iOS app. I have a CCSprite that I need to come up from the bottom of the screen every few seconds (like 2 or 3 seconds). How would I do this?

share|improve this question
What have you tried so far? It really helps us to answer your questions if we have something to build off of, instead of just guessing what you have. (Please don't post all your source code). Help us help you. – Byte56 Jun 13 '12 at 6:09
@Byte56 I ask because I do not know how to 1. Move a CCSprite across a screen smoothly 2. Do things in intervals – Coder404 Jun 13 '12 at 6:16
Then your question doesn't show any research effort. What have you researched? – Byte56 Jun 13 '12 at 6:19
@Byte56 I dont know how to make the ccsprite move smoothly across the screen – Coder404 Jun 13 '12 at 6:38
up vote 1 down vote accepted

Read these tutorials (the beginner ones). Your question sounds like you're getting ahead of yourself. If you don't know how to move a sprite, or time things or do things in intervals, you shouldn't be asking how to do all three at the same time. Take a step back, get comfortable with the basics. If you have a specific issue you're having trouble with, post another question here and we can help.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.