This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

JarJarBanks7
JarJarBanks7 presents ...

2016/10/27

Breakout

I need help with the ball code i need it to pick a coordinate and movetaht way but it just spins

1469 views / 3 in the last 7 days

Tags: None

Your browser does not support the canvas tag.
Nosson1459Nosson1459

2016/10/27

make a X and a Y variable with their values at say 6 then write setLocation(getX()+X,getY()+Y) and if u hit a wall do X=-X and the ceiling or a block do Y=-Y in chapter 13 there is da beg of a breakout u can look 2 c how it works over dere and btw 4 da ball pic instead of cropping it copy it out of da images file

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.