NabzPlays
NabzPlays
Explore posts from servers
JCHJava Community | Help. Code. Learn.
Created by NabzPlays on 10/16/2024 in #java-help
Need help with fixing bug of ball not moving
Basically I have an assignment and we are using processing to do the assignment as the teacher basically told us to make a game where we have a small red ball moving around the canvas and if it touches the edges then it bounces back away and it if it hits the black ball its supposed to bounce back aswell and respawn a new black ball however I've been having a problem with it. For some reason the ball won't moving across the canvas rather it is just budging itself and even when i press x or y it doesnt do anything i uploaded a video of how it is supposed to work
12 replies