Hello,
I'm helping some students create a Pi arcade loaded with games that they created.
I am basing our code off of something I got at #picademy but the did the Scratch programming on Scratch 1 on the Pi.
My students are programming on their computers on the Scratch 2.0 website and we will download their games and put them on the Pi.
I was using this code as my model:
def start_invaders():
os.system("scratch presentation /home/pi/Desktop/RES/Games/Invaders.sb")
I know that the extension for Scratch 2.0 is .sb2 so changed that... and also found out that it should b:
def start_invaders():
os.system("scratch2 presentation /home/pi/Desktop/RES/Games/Invaders.sb2")
To launch Scratch 2.0 but the game doesn't get launched - has anyone else tried anything like this or know of any resources out there for something like this?
Many thanks in advance!!