Robotics day 12-the sprite game (accelerometer part 3)
- sreeramchittayil
- Nov 18, 2022
- 1 min read
Today we used the second-to-last section, which was "sensing." This section helped me give commands between sprites. This project was focused on a simple ball and line game in which players would gain a point if the ball touched the line but lose a point if it hit the floor. The line was controlled by the accelerometer and the x axis. This was a very hard project, as I had never worked with sprites before or created a game with them. The main condition was that if the ball touched the line, it should move to a random spot (not the ground). The next step for me would be to add more features or refine the current ones, like the score counter.


Comments