Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Cocos2D Tutorial - Multi-Touch Scaling

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,476
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 13, 2010

This tutorial will teach you how to scale with multiple fingers.

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (SDKTutor)

  • For all of you to know: Read this:

    There is a problem if you don't set this (the code below) in the Appdelegate of your game:

    [glView setMultipleTouchEnabled:YES];

    It is necessary to make the scaling work properly if you are moving only one finger while the other one is static.

    Hope it helps somebody like it did with me! =)

  • @fcu423 older versions of cocos2d had already included that in projects... and that's why this tutorial doesn't talk about that

  • @SDKTutor No problem, many thanks for the tutorial. I've been working with Cocos2d since 0.99.4 and it is not there. I searched the solution and found it in a Cocos2D forum.

    As I said, even if it is an error of the developers on recent releases, I hope it helps somebody :)

  • @fcu423 thanks for telling people that for future reference

  • id love to see a full turn based RPG old final fantasy style tutorial with atleast one city and one dungeon and a world map that would be Sweeet :)

  • @chris420nacho I've never played FF before, but I think I know how it operates. I might be be able to put something like that together in the future.

Top Comments

  • You should lower you resolution, have a smaller recording area or set a higher text size. You are showing us more background than code.

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • @chris420nacho in other words, you want him to code your game and copy it?

    Comon you can do it! just look up tutorials combine them, i recommend tiled just google tiled cocos2d game,.

    Have faith in yourself, you can make it.

  • also got a load of errors with the ptOne and ptTwo part saying undeclared and stuff :(

  • zoom in on  the code!!!

  • I can't see what you're writing and please explain what the code you just wrote do :/

  • @MikeAcrobat technically you can't start with two fingers on device, but each finger calls upon the touches began method and once both fingers on the device the touches began picks up the count because the second finger invoked that method.

    I am not quite sure what you mean by the coords where you touch on the layer? We are already doing that....

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more