Tap, hold, and drag input

Tapping, holding, and dragging are the most commonly used input techniques. They form the basic building blocks of input for user interfaces as well as for interacting with game objects.


In this recipe, we subclass CCSprite in order to create a sprite which can process touch events and maintain some custom state information. This, plus some logic, allows us to touch, hold, and drag this sprite.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

  • Documentation
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Blog
  • WordPress Planet

Archives

All entries, chronologically...

Weboy
rss
Карта