Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A form of directional input consisting of a stick that pivots from a fixed position. May or may not have buttons on top or on its base.
0
votes
1
answer
840
views
Cocos2D: Change animation based on joystick direction
I'm trying to get my figure to look in the right directions, based on the input of the joystick. …
0
votes
Accepted
Cocos2D: Change animation based on joystick direction
My approach was more or less the right one. But the direction cue had to go somewhere completely different, and also had to be changed a little.
It is now in
-(void)updateStateWithDeltaTime:(ccTime …
2
votes
2
answers
944
views
Using two joysticks in Cocos2D
Here is what I am trying to do: With the left joystick the player can steer the figure and with the right joystick it can attack. … From the h. file:
SneakyJoystick *joystick;
SneakyJoystick *joystickRight;
And in m.file I synthesize, deallocate and initialize them. …
3
votes
Accepted
Using two joysticks in Cocos2D
I went over the whole code today, only to (after way too long) spot one mistake, that did it all.
leftJoystick = [joystickBase.joystick retain];
attackButton = [joystickBase.joystick retain];
It a …