esplonky Posted July 16, 2011 Share Posted July 16, 2011 im bored so i want to make a pong game. how would i make a player0 just a human and player1 a cpu? and how would i make the ball move when it hit the paddles? please get back Cheers! - Forrest Hodges Quote Link to comment Share on other sites More sharing options...
ScumSoft Posted July 16, 2011 Share Posted July 16, 2011 Like this? Quote Link to comment Share on other sites More sharing options...
esplonky Posted July 17, 2011 Author Share Posted July 17, 2011 is there a simpler way to do it? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 17, 2011 Share Posted July 17, 2011 is there a simpler way to do it? You can waste whole variables instead of using bits. That's one way to make it simpler. Quote Link to comment Share on other sites More sharing options...
esplonky Posted July 17, 2011 Author Share Posted July 17, 2011 english please? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 17, 2011 Share Posted July 17, 2011 (edited) english please? Variable: http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#variables Bit: http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#bit I used bits in my example program instead of wasting variables. For example, instead of using a = 1 or a = 255, I used little itty bitty bits to do the same thing. Using a bit instead of a variable whenever you can saves precious variables. The problem with using bits is that it can be harder for a new user to understand. Edited July 17, 2011 by Random Terrain Quote Link to comment Share on other sites More sharing options...
esplonky Posted July 17, 2011 Author Share Posted July 17, 2011 and also i had the ball flashing on different parts of the screen, and i made it to where the other paddle follows the ball, but everytime i move the player0 paddle it makes everything else stop. how do i fix that Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.