having joystick problems

jetsetcrashjetsetcrash Member Posts: 17
edited November -1 in Working with GS (Mac)
hi,

maybe someone can help me trouble shoot this one...

i'm working off codemonkeys joystick project and I just can't seem to get it right. I'm thinking one of the expressions must be off but maybe someone can steer me in the right direction as to what it could be. With mouse down on the joystick actor it will only move non fluidly left and down. That is in comparison to codemonkeys joystick, the animation is not fluid and is either in the center when not touched or down in the left corner when touched. The actor the joystick is supposed to control will only move in the same direction the joystic actor goes to...

Comments

  • jetsetcrashjetsetcrash Member Posts: 17
    tweaking things a bit and i notice depending on where i place the actor "base" in the scene the joystick actor will respond strangely. This is true in codemonkeys project as well, check it out...if you move the base to the upper right of screen joystick actor behaves erratically...what is going on here? It seems size of joystick actor effects things too, when I change pixel dimension to something other then symmetrical it moves a different way...? Very confused...
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Good catch. I had the Green control using the game.baseX as the start for X and Y and didn't notice it because the baseX and baseY was always the same. Fixed and updated the template.

    Its based on the center of the actor. In does need a large enough area though because it is looking for the collision with the touch tracking actors.
  • jetsetcrashjetsetcrash Member Posts: 17
    hey codemonkey,

    for some reason

    http://gamesalad.com/game/play/22929

    looks funky in my browser and a text link obscures the download button...

    any way you could post a link to the project here?
  • TheTTheT Member Posts: 80
    Hey, I also have issues with the joystick button ! Sometimes, I think it happens when tapped repeatedly, the joystick just wanders off the base and off the screen and doesn't return ! What's going on there ? Does anyone else also have these problems ?

    Jet:
    Just mright-click on it, select download to .. there
  • isabelaqisabelaq Member Posts: 28
    Hi, I need asking sometime, please somebody can help me...
  • isabelaqisabelaq Member Posts: 28
    good news is I did a joystick but only served in one scene when I put in another does not work.
    how I can correct this problem and it serve on all screens??
    thanks
  • BobDBobD Member, PRO Posts: 374
    Did you copy the Touch 1 thru Touch 5 actors to your new scene. If not then this could fix your problem.
  • isabelaqisabelaq Member Posts: 28
    hahhhaha thank you very much if that was, and forgive the urge to ask q other problem I have is that when I move the actor in a big scene, the controls do not follow as I can make this at all times on the screen and not stay behind
  • isabelaqisabelaq Member Posts: 28
    someone please answer
  • BobDBobD Member, PRO Posts: 374
    In your scene create a new layer (call it HUD) that is not scrollable. Put all your joystick actors, buttons in this layer. They should stay on the screen as you move in your bug screen.
Sign In or Register to comment.