View Full Version : Breakout Stlye Game?
motionman95
August 31st, 2007, 10:54 AM
I"ve created a breakout game already, with the yvel *= -1, but that is to basic because my paddle is kinda big, and the ball gets stuck inside it. Any ideas for how I could find a better way?
nathan99
August 31st, 2007, 11:30 AM
could go, not the best but it works.
while(/*hitting code here*/){
//move the MC up/down/whatever - move down if the ball is going up, down if it's going up etc...
}
// reverse the speed here
motionman95
August 31st, 2007, 01:18 PM
not exactly sure how that works, im not sure where my code should go.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.