Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6138423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:52:05+00:00 2026-05-23T17:52:05+00:00

Ok what I would like to do is duplicate the controls of Space Invaders

  • 0

Ok what I would like to do is duplicate the controls of Space Invaders Evolution.

Begin a touch anywhere then drag around and the sprite moves 1:1 with your finger.
Sprite can not be moved of screen.

I have been using UIGestureRecognizer to handle dragging the sprite around the screen but im still pretty new to this and I have not been able to get this to work yet.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:52:05+00:00Added an answer on May 23, 2026 at 5:52 pm

    I don’t know if you’re unwilling to try this but it seems to me that this sort of thing could easily be done using ccTouchesBegan and ccTouchesMoved. I’d implement it by putting the following in my ccTouchesBegan and ccTouchesMoved methods (where sprite is the name of the sprite you’re trying to move):

    UITouch *touch = [touches anyObject];
    CGPoint location = [touch locationInView:[touch view]];    
    location = [[CCDirector sharedDirector] convertToGL:location];
    sprite.position = ccp(location.x, location.y);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with ArrayBuffer objects, and I would like to duplicate them. While this
I would like to prevent duplicate content. I do not want to keep a
I would like to use ON DUPLICATE KEY UPDATE in Zend Framework 1.5, is
I would like to make an small program in Windows to duplicate an android
Possible Duplicate: Properly handling spaces and quotes in bash completion I would like to
Possible Duplicate: JavaScript library to create div-style window within page I would like to
Possible Duplicate: Number of occurrences of a substring in an NSString? I would like
Possible Duplicate: JavaScript: Why the anonymous function wrapper? I would like to ask you
I have a ViewController.xib that I would like to duplicate so I can make
Possible Duplicate: Detect Antivirus on Windows using C# In .net I would like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.