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
9 Replies
⌛
This post has been reserved for your question.
Hey @NabzPlays! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
currently this is the point i got to
heres the work sheets:
I don't want to show all my code for obvious reason but heres some of it which i think my be causing the bug
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
still need help
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.