This is an old revision of the document!
After creating your sprites, you will need to move them onto lab46 and possibly onto your PI. One way of doing this is using the scp command. To use the scp command use to following format:
scp FILENAME DESTINATION:PATH
Here is an example:
scp sprites.png username@lab46.g7n.org:~/src/fall2023/discrete/mpg0
If necessary, this is how you would get the desired file onto your PI:
scp sprites.png username@raspberrypi:~/src/fall2023/discrete/mpg0
Once you have your sprites .png file on lab46 and on your PI it is now time to load them into the cartridge. To do this open your make.sh file.
Once in the make.sh file, add the following lines:
echo echo Convert the PNG textures echo -------------------------- png2vircon BreakoutTextures.png -o BreakoutTextures.vtex || abort_build
By doing so, this loads the texture file into the cartridge which we can use in our breakout game.