Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

paulbird

try my pool game?

This topic is 5443 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Just a couple of things that I noticed. Heres could be a couple of improvements.

1) Clamp the mouse to the middle of the window. Or just have the cursor wrap the window.

2) Some balls don''t stop spinning?

3) Add a power gauge. The ball gets hit at the same speed every time.

4) Slow down the arrow keys. I just pressed the left arrow key and the table spun around a couple of times. Maybe make it slower with time based movement, so it''s the same speed on everyones computer?

Other than that it seems to be getting there.

-UltimaX-

"You wished for a white christmas... Now go shovel your wishes!"

Share this post


Link to post
Share on other sites
Thanks for the advice! I don''t really know how to clamp the mouse to the window - any ideas? Is it just a case of SetCursorPos(..)? each time it moves?

Yep. I''ll have to make the movements time themselves in milliseconds. It works at the correct speed on a 500MHz computer.
(I forgot about the arrows, you don''t really need them though)


I''ll put a power guage on, that would be good.

The spinning ball problem is associated with the gravity - I might just turn that off as jumping cue-balls can be irritating.

Anyway, it''s OK for a couple of days programming isn''t it?

Maybe if I make it better I can give it to a shareware collection - does anyone know if people can make any money that way?


Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!