×
  • Strona główna
  • O nas
  • Artykuły i przewodniki
  • Dostawa i płatność
  • Pytania — odpowiedzi
  • Recenzje
  • Kontakt
  • ×
    side_icon

    when I receive [Game Over v] show say (join [Game Over! Your score was ] (Score)) for (3) seconds stop [all v]

    when green flag clicked forever wait (2) seconds go to x: (pick random (-220) to (220)) y: (pick random (-160) to (160)) end Create a "Game Over" sprite that says "Game Over - Your Score: X".

    when green flag clicked show forever if <touching (Player v)?> then change [Score v] by (1) play sound (pop v) // Optional: add a "pop" sound go to x: (pick random (-220) to (220)) y: (pick random (-160) to (160)) end end

    Add boundary checking to keep player on screen.

    if <(x position) > (240)> then set x to (240) end When clicked, the star moves to a random position and adds +1 score.

    Wszelkie prawa zastrzełone