'Using Swift to create a Gameboy game
I was thinking of creating a retro style game for iOS using SpriteKit and I was wondering if there would be any way to run it on a Gameboy Advance.
Based on what I've seen, Gameboys can run any game written in any programming language as long as it "compiles to ARM Assembly". I checked if Swift compiles to ARM Assembly and there was a mention of Swift compiling to native code (i.e. assembly). Does this mean it would be possible to run a retro style iOS game on an actual Gameboy (keeping in mind the resolution the artwork would need to be and other such limitations)?
If there's any way I can create a game for iOS but have it run on a Gameboy Advance as well please let me know.
Solution 1:[1]
You need to either use C, or a subset of Z80 assembly.
Here is a good point to start https://eldred.fr/gb-asm-tutorial/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Kastor |
