commit 8c4d452ed5fad24d34970defef5fab52493b9a01 Author: admin Date: Fri May 29 10:34:12 2026 +0300 Added assets diff --git a/main.py b/main.py new file mode 100644 index 0000000..bc4d301 --- /dev/null +++ b/main.py @@ -0,0 +1,33 @@ +# Import library code +from p5 import * +from random import randint + +# Set up global variables +screen_size = 400 + +# The draw_rocket function goes here + + + +# The draw_background function goes here + + + +def setup(): + # Set up your animation here + size(screen_size, screen_size) + image_mode(CENTER) + global planet + planet = load_image('planet.png') + + +def draw(): + # Things to do in every frame + + + + +run() + + + \ No newline at end of file diff --git a/moon.png b/moon.png new file mode 100644 index 0000000..62930b4 Binary files /dev/null and b/moon.png differ diff --git a/orange_planet.png b/orange_planet.png new file mode 100644 index 0000000..a670636 Binary files /dev/null and b/orange_planet.png differ diff --git a/planet.png b/planet.png new file mode 100644 index 0000000..e37920c Binary files /dev/null and b/planet.png differ diff --git a/purple_planet.png b/purple_planet.png new file mode 100644 index 0000000..76bf52e Binary files /dev/null and b/purple_planet.png differ diff --git a/rocket.png b/rocket.png new file mode 100644 index 0000000..970fbec Binary files /dev/null and b/rocket.png differ