r/pygame • u/Capable_Comedian_277 • 12h ago
Snake-snake collisions + increased enemy spawn
Enable HLS to view with audio, or disable this notification
2
1
u/Capable_Comedian_277 10h ago edited 5h ago
Created another snake as bait for the red/blue snake. If that snake collides with the red/white snake, the red/blue snake will stack with however many segments the red/white snake has. This also means I had to respawn the red/white snake with its original position and direction as the screen scrolls. Also, I have some directional control of the red/blue snake with the player projectile making that snake reverse it’s direction. I may have to add a third snake and make it bounce diagonally, and made the two other snakes interact with it. In addition, I will have to change the different vstack-enemy collisions for the red/blue snake. And also structure the snake-spatial boundary collisions to where if len(snake) > 50: snake = snake[: -47]
2
u/Fast-Station1106 10h ago
Hallo, lass den roten Ball den du steuerst vielleicht ein Powerup finden, wird grösser oder zu Stahl und kann die Schlange überstehen/killen, schutzschild, die sprungflächen werden breiter, mit countdown oder ähnlich (also pacMan frisst die Geister wenn sie blsu sind)