Hello
I have never used levels before. At the moment, I just want to trigger a new background image when the score is above two to demonstrate a level change.
I cant get it to work - can anyone help?
Thank you!
Hello
I have never used levels before. At the moment, I just want to trigger a new background image when the score is above two to demonstrate a level change.
I cant get it to work - can anyone help?
Thank you!
One solution to this would checking if the score is high enough after you increase the score. So the strawberry overlap would look something like this:
def on_on_overlap2(sprite, otherSprite):
otherSprite.destroy(effects.star_field, 100)
music.zapped.play()
info.change_score_by(1)
if info.score() > 2:
scene.set_background_image(assets.image("""trees"""))