Appster
Appster

Reputation: 753

Buttons that move on screen

I want to have multiple buttons on the screen that continuously move. When they touch the sides, they should bounce back. How do i do this? Any helpful links? Ideas? Thanks!

Upvotes: 0

Views: 230

Answers (2)

ApiMail
ApiMail

Reputation: 161

Also have a look at cocos2d which i think may make it easier to do something like this if they have to constantly be moving.

cocos2d is a game platform which has physics etc but also i believe has support for buttons so it should not be hard to achieve something like this. Check out the cocos2d website and documentation.

Upvotes: 0

Jhaliya - Praveen Sharma
Jhaliya - Praveen Sharma

Reputation: 31722

you go through the apple animation document.

Introduction to Core Animation Programming Guide

Check the following SO post.

How to move several buttons throughout the screen

Move a button in the screen

Upvotes: 3

Related Questions