Codemonkey's joystick causing extreme lag

YouKnowMeYouKnowMe Member Posts: 74
edited November -1 in Working with GS (Mac)
Hi i recently published my first app to the app store, got a lot of suggestions to add a joystick.
but when i add codemonkey's joystick (from his template) to my project it causes extreme lag.
is it because the constrain attributes?

please help me

thanks

YouKnowMe

Comments

  • YouKnowMeYouKnowMe Member Posts: 74
    Does anyone have an suggestion on a alternative joystick?
  • cbtcbt Member Posts: 644
    I know that me, and other few developers used that same template in games. It may be slowing thing down but it is the best example I've ever seen :)
  • YouKnowMeYouKnowMe Member Posts: 74
    I Know =(...
    But you don't want to play a game with 12 fps
  • design219design219 Member Posts: 2,273
    I had problems where playing codemonkey's demo completely crashed my computer... the dark curtain shade of death would descend.

    I was able to look at it and study it. I just needed a singe stick, and after looooong trial and error with carefully rebuilding my own by looking at his, I got it to work, and at basically 60 fps on my iPhone 3g. I have a number of constrained actors controlled by the joystick in Nesen Probe and have no problems at all.

    Good luck working it out... it's a very good system.

    _______________

    Nesen Probe http://itunes.apple.com/us/app/nesen-probe/id377766693?mt=8
    Tickle Stones http://itunes.apple.com/us/app/tickle-stones/id363484260?mt=8
    Food Fight! (free) http://itunes.apple.com/us/app/food-fight/id352646643?mt=8
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Actually I think that jstrahan's control demo is way better. He is still working in make it work with the touches but if you don't need other touches like for other buttons I will strongly recommend you to try it. Make the max move box so big fingers don't slip out of the touching area. Look for it in the share projects.
    Hope it works for you
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    Used the codemonkey demo as a basis for starpilots and there was no slowdown at all

    Maybe its something else in there since it was from an older version

    complete starpilots game is downloadable here:

    http://www.robotsvswizards.com/misc_crap_and_other_stuff
Sign In or Register to comment.