Commit 29b1bbba by BellCodeEditor

save project

parent e777283d
Showing with 1 additions and 3 deletions
import pygame import pygame
from pygame import locals from pygame import locals
import random import random
...@@ -122,8 +121,7 @@ while True: ...@@ -122,8 +121,7 @@ while True:
if (sprite.rect.x + sprite.rect.width) < wukong.rect.x: if (sprite.rect.x + sprite.rect.width) < wukong.rect.x:
score += sprite.score score += sprite.score
sprite.score = 0 sprite.score = 0
if score > old_
if score
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment