Sign in to follow this  

Pong help.

Recommended Posts

Well, I've just recently started using Visual Basic 2005 (I used to use Python, but I started doing a class that uses visual basic) and I was wondering how I... a) Make the ball respond to the boundaries of the form. Right now I have the resolution set to 1280 * 1024 and so simply had a line like 'If = 1024 then timer1.enabled = false timer2.enabled = true' The timers both contain ' = +/- 10' This is an overly complex way of doing things, and causes some errors... so I think I need to find a new way to do this. b) Make the paddle respond to keyboard presses (WASD for 'paddle1' and the directional pad for 'paddle2'). Right now only one paddle works and it responds to the movement of my mouse.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this