Some suggestions on improving my game please..

  • Thread starter Thread starter Brian Basquille
  • Start date Start date
B

Brian Basquille

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
 
I think you should get the book "Physics for Game Developers" from O'Reilly.
It's great for covering things like how to program with realistic
force/mass/acceleration, etc., as well as talking a lot about hit-detection
and all that stuff.
 
Back
Top