Just wanted to say thanks for making the tutorials :)
Haven't come across such concise and awesome tutorials anywhere else!
zod
very nice! please keep making tutorials! :D
ErikOrjehag
awesome tutorial, thank you very much !
duydinh
Old question but incase anyone else wants same answer all ya have to do is create an additional 'ball2' variable in the Game class. Then below make sure the extra ball has its move and paint methods called too. You'll need to decide on your own WHERE you want the new ball to start because if you dont customize this both balls will be in the same place and you'll still only see one of them
seronis
thanks .. but i want to know how i can do i have more than 1 ball ?
franckyaj
both the Paint() and getBounds() methods in this should not use the 'Y' constant but should instead call getTopY(). Then again getTopY() itself shouldnt use the constant but should instead do something like game.getHeight()-30;