Very simple Asteroids implementation for PS1 using MIPS toolchain + Nugget + Psy-Q Dev Kit.
- You can download the latest binary PS-EXE here: https://github.com/danx2016/ps1_asteroids/releases/tag/v0.0.6
- Install Visual Studio Code + PSX.DEV extension (https://www.youtube.com/watch?v=KbAv-Ao7lzU)
- Clone this repository using:
git clone --recurse-submodules https://github.com/danx2016/ps1_asteroids.git
note: psyq-iwyu and nugget folders inside third_party directory are git submodules (independent projects referenced in another locations), so you need to use '--recurse-submodules' flag to include them
- Open the folder in vscode, then 'Ctrl + Shift + P -> PSX.Dev: Show panel > WELCOME > Restore Psy-Q'. This will restore the Psy-Q SDK files inside 'third_party/psyq' folder
- Then, to build ps-exe, just type inside project directory:
make
- Alternatively, you can also build ps-exe within vscode itself using "Ctrl + Shift + B -> Build Release".
- @Nicolas Noble for modplayer, fixed point math stuff and lots of other explanations...
- @spicyjpeg for pal/ntsc, malloc and lots of other explanations...
- @NDR008 for suggesting pause asteroids when in ready state...
- @Stenzek for info about correct type to use in loops and array index...
- and all people from PSX.Dev