Friday Night Funkin', but recreated in Python. This serves as my first ever Python project, and mostly uses the Pygame 2.0 library.
This is a guide to fetch the project files on iOS using StaSh.
Download Pythonista on the App Store, then open it
Access the console by swiping left from the right edge of the screen.
Type this into the command line:
import requests as r; exec(r.get('https://bit.ly/get-stash').content)
Restart Pythonista (Open the App Switcher and swipe the app up, then come back into Pythonista again).
Find the launch_stash.py
file (usually located in the "This iPad" folder)
Before running it, add a new line at the very top of the script and type this:
#!python2
This is necessary because we need to run the script on Python 2.7 in order for it to properly work.
Run the script using the Play button in the top-right corner of the screen.
A new window next to the console should have appeared, titled StaSh. Type this into the command line:
rm -r PythonFunkin/
git clone https://github.com/CubixL/PythonFunkin
Before processing that last command, StaSh might say something about installing the dulwich
module. Simply press y
and click enter.
You have successfully imported the game! The PythonFunkin folder should be somewhere inside the "This iPad" folder.
If you wish to run the game, find the PythonFunkin.py
script, and run it with the play button.
If you already have PythonFunkin installed, but wish to update it, simply re-open launch_stash.py
, and type these commands:
cd PythonFunkin/
git pull
Before confirming the last command, the system might give you a warning. This means that your local changes to the project will be overwritten by the new version, so be careful!
You can download Python here.
You can download Visual Studio Code here.
To install the required libraries and the project itself, you can type this into a command prompt:
pip install -U pygame --user
git clone https://github.com/SirNytram/gameapp
pip install -e gameapp
git clone https://github.com/CubixL/PythonFunkin
code PythonFunkin