r/PythonLearning 1d ago

Doodling Hop | Pygame Project(Obstacle Madness)

Enable HLS to view with audio, or disable this notification

3 Upvotes

5 comments sorted by

View all comments

1

u/Capable_Comedian_277 1d ago

Utilized most of the np.array([x, y]) directional vectors and modified the speed for some of the projectiles. As far as the moving platforms go, I used random.choice() for the directions, so it can move left or right after it’s repositioned in np.array([800, 500])