Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rogerboesch/zxnext-game
https://github.com/rogerboesch/zxnext-game
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rogerboesch/zxnext-game
- Owner: rogerboesch
- Created: 2023-09-07T13:08:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-08T05:45:00.000Z (about 1 year ago)
- Last Synced: 2023-09-08T06:29:41.740Z (about 1 year ago)
- Language: C
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A ZX Spectrum Next Game
I work on a ZX Spectrum Next Game for the following reasons:
- The ZX Spectrum was my first computer
- I love retro (game) programming
- I like to document the path to a finished game and make it easier for others to startBecause C/C++ is my daily (main) programming language I have decided to go the C route.
Maybe some parts have to be implemented in Z80 Assembler, but I will decide that on the way.*Note: The informations and make script are related to Windows but will work with minor changes also on macOS and Linux*
Currently I still work on the basics but I will add later more informations about the game itself
Next steps are:
- [ ] Add text functionality
- [ ] Load sprites from file
- [ ] Add sound
- [ ] Start with the game## Build the source
Building the game is as easy as type-in:
```bash
make game
```If you have nogt already installed the toolchain, then follow this steps:
1. Install the [Z88DK](https://github.com/z88dk/z88dk) crosscompiler toolchain
2. Install [CSpect](https://emutopia.com/index.php/emulators/item/364-sinclair-zx-spectrum/1895-cspect) (Sinclair ZX Spectrum Emulator)
2. Set *%PATH%* environment variable to CSpect folder
3. Download the *zxnext_game repository either* as a ZIP archive using the "Clone or download" button at the top of this page or with Git using the following command:```bash
git clone https://github.com/rogerboesch/zxnext_game.git
```Go to the zxnext_game directory and enter the following command:
```bash
make game
```To build and start the game in the emulator, type in:
```bash
make build
```If you just want to start the game without building at first, type in:
```bash
make run
```### Toolchain
On Windows, make is not available by default and you have to install it first.
I use the [Chocolatey](https://community.chocolatey.org/courses/installation/installing?method=install-from-powershell-v3) package manager for this and I can just highly recommend it.When installed, you can simply add new tools and software by type in:
```bash
choco install make
```### Sprite Library
I use a modified version of Stefan Bylunds SpriteLib.
You find the original on his [Github](https://github.com/stefanbylund/zxnext_sprite) repo.## More informations
Find here [Info](INFO.md) some more information about Z88DK and ZX Spectrum/Next programming in general