Hello all.
Have been working on the Air Hockey game on and off for a couple of weeks
now.. but have had plenty of other assignments to keep me busy along with
it.
But i would like some suggestions on improving it. It's far from fully
working, but some suggestions on the following would be great. Please
download it from: http://homepage.eircom.net/~basquilletj/AirHockey.rar.
- I need to determine an equation to calculate the PaddleForce (the speed of
the paddle passed when a collision occurs). It's currently fixed at 4.
- Any suggestions on how to improve the hitlines (around the borders of the
table)? How is currently works: the puck is a GraphicsPath from which all
points from it are loaded into an array. On every redrawing of the game,
each point is checked (individually which may hinder the performance). And
if a point is visible on FormRgn (the region outside of the table border),
the direction of the puck is reversed.
- The paddle shouldn't be able to move inside of the puck so easily.
Suggestions on how to prevent this?
Many thanks in advance,
Brian