Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hcorion/nim-on-gba
A project with examples of Nim code on the Game Boy Advanced
https://github.com/hcorion/nim-on-gba
game gba homebrew nim
Last synced: 17 days ago
JSON representation
A project with examples of Nim code on the Game Boy Advanced
- Host: GitHub
- URL: https://github.com/hcorion/nim-on-gba
- Owner: hcorion
- License: mit
- Created: 2017-03-31T18:31:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T23:21:28.000Z (almost 4 years ago)
- Last Synced: 2024-11-25T13:47:50.656Z (3 months ago)
- Topics: game, gba, homebrew, nim
- Language: Nim
- Homepage:
- Size: 424 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nim On GBA
### **UPDATE:**
If you're actually interested in doing GBA game development in Nim, I would highly recommend checking out natu by exelotl (https://github.com/exelotl/natu) instead of the code on this repo. He's made much better progress than I in getting working GBA games in Nim.
### Original readme continued:
Are you tired of writing your Game Boy Advanced code in C?
Wouldn't you love to write your GBA code in python-esque syntax?
Well now you can!
Inspired by http://kylehalladay.com/blog/tutorial/2017/03/28/GBA-By-Example-1.html
## Examples (mostly ports of games written in C)
All examples require the nake package installed via nimble `nimble install nake`
- Minimum (port of https://gist.github.com/khalladay/7c86f092a48342adf6d35aa2861b3ed3)
- Snake (port of https://github.com/khalladay/GBASnake)
- Sprite (port of Kyle Halladay's tutorial here: http://kylehalladay.com/blog/tutorial/2017/04/04/GBA-By-Example-2.html)
- Background (port of Kyle Halladay's tutorial here: http://kylehalladay.com/blog/tutorial/2017/04/11/GBA-By-Example-3.html)## Resources
- [GitHub Gist of tiny GBA example in C](https://gist.github.com/khalladay/7c86f092a48342adf6d35aa2861b3ed3)
- https://github.com/khalladay/GBASnake
- https://www.coranac.com/tonc/text/toc.htm
- https://github.com/dom96/nimkernel
- http://www.coranac.com/documents/taptngba/## Possible future endeavours
Target original gameboy using SDCC: https://en.wikipedia.org/wiki/Small_Device_C_Compiler
Target Virtual Boy using gccVB: http://www.planetvb.com/modules/tech/?sec=tools&pid=gccvb
## License
The main gba.nim file is licensed under the MIT license.Some of the examples may be under a different license, because if it's a clone of a game/demo I'll honour the original dev and keep the same license.