Cocos2D Tutorial - Multi-Touch Scaling
Uploader Comments (SDKTutor)
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.
All Comments (18)
-
@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....
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 11 months ago 2
@fcu423 older versions of cocos2d had already included that in projects... and that's why this tutorial doesn't talk about that
SDKTutor 11 months ago
@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 11 months ago
@fcu423 thanks for telling people that for future reference
SDKTutor 11 months ago
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 1 year ago
@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.
SDKTutor 1 year ago