Hey Wayne or James! Question? :D

chosenonestudioschosenonestudios Member Posts: 1,714
edited November -1 in Working with GS (Mac)
Hey guys, or anybody else that could answer, I've been working on an Air Hockey Game for quite awhile now. I looked at how wayne set up his controls in his hockey template. While they worked flawlessly, I would like to not have them snap back to a certain position when they are released... Any thoughts? I'm basically using exactly what wayne did, but I removed the snap to rules and apparently, it doesn't work without it... Well it does, but not very well.. I've been modifying it for weeks now.. And to now apparent result... I've just been sitting here wasting my time.. *Sigh* James I also put you in the thread title because I know you were working on a two player multitouch game and was wondering if you could help because of your experience with this... Hey guys or anybody really, I really appreciate you taking your time to help, Thanks

-Will

Comments

  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    I'm on my iPhone so this will be sloppy

    I have a few multi player games.

    What I did is use code monkeys joystick tutorial to make a very blank two player template as a start for all of them.

    I used the scene with dual joysticks and just stripped them down to nothing except the touch rules. That way I had some blank actors that were two player ready.

    However for hockey it is probably easier to just tinker withn waynes demo as it is already closer than anything I have done.
  • wayneh001wayneh001 Member Posts: 300
    ChosenOneStudios, I've uploaded a revised Hockey Template with the Paddles now not [Snapping] back to a set position. Instead they stay where they are when the user releases their finger. Is this what you meant?

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

    Hope it helps.

    EDIT: Just realised, you'll have to implement moving the PADDLES back to a 'Safe' distance after a user scores a goal..

    Wayne.
  • chosenonestudioschosenonestudios Member Posts: 1,714
    Wayne sorry if I wasn't more clear, but yes thats exactly what I meant. Thank you very much, will take a look!

    Thanks for your time guys!

    Will let you know how it goes :D
  • chosenonestudioschosenonestudios Member Posts: 1,714
    Hey thanks again! Its working alot better now, but I think I'm missing something... Did you change anything besides the two paddles and the first two touches? Thanks Again!
  • wayneh001wayneh001 Member Posts: 300
    No, didn't change anything else. If I remember right, you had a better/alternative method for handling the [PUCK] when hit by a player? Don't think I implemented those ideas - could that be the problem?

    If not, do explain the problem further.
  • eaguirreeaguirre Member Posts: 89
    Hi Wayne,

    I will post my version of air hockey with a little twist soon. I refactor the graphics and gameplay, but your example code was an excellent start. I want to mention your help in the my credits page. Which name I shall use? WayneH001?

    Greetings
Sign In or Register to comment.