anyone got any hints/tips/ tutes/codes on making an air hockey type game?
cheers big ears
anyone got any hints/tips/ tutes/codes on making an air hockey type game?
cheers big ears
Easing
www.bit-101.com -good tutes in actionScript!!
Boundries -do a search here
hitTest -paddle to puck, puck to goal.
…and math…
that, and do a search for a pong type game, I think really the only difference would be that with air hockey the paddles are not bound to only move on a Y axis.
Eh… The bounding boxes for the paddles would have to be each’s half court line… Just make use of the code that marks the old x location to get a source for power then…
Just look around for the throwing ball stuff… Where you can throw a ball in the air… the code that allow you to throw that ball is a source of power code… transfer that to a pong type ball that bounces and you have air hockey…
and limit the goal area, don’t forget that.
Ratbaggy tries to put all this together
thanks for the help poiples.
will gee it a shot. I think my flash skills need a test anyways.
keep truckin’
–edit–
100 posts for me! 100 posts for me! 100 posts for meeeeeee!
think they’ve all been lame questions
One more thing that hadn’t been mentioned: The puck has to have some drag added to it as well. Good luck!!
:: Copyright KIRUPA 2024 //--