You are browsing as a guest. Sign up (or log in) to start making projects!

52m 27s logged

So i finally got the singleplayer working. Its actually quite easy i just added the functions that checks the position of the ball relative to the position of the player and if its higher the player moves higher and vice versa. The thing that took me the most amout of time was, a problem i had with a function. I wanted to speed up the ball everytime somebody hits it but i couldnt figure out how to get it to reset after every round. Turns out i just placed this function if lx < 0 or lx > 800:                lx_speed = 5into an another function which caused it to break. Next im going to add sound effects and multiple difficulties

0
1

Comments 0

No comments yet. Be the first!