View example.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct game_manager { | |
struct rng rng; | |
struct sprite_atlas atlas; | |
struct scene scene; | |
struct creature player; | |
struct input_manager input_manager; | |
}; | |
void game_manager_init(struct game_manager* self) { | |
srand(time(NULL)); |
View gist:9757d6213b223596715960f67b461ae2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://lospec.com/procedural-pixel-art-generator/ |
View cc0-trick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
After creating a github repo, we can simply go https://github.com/<user>/<repo>/community/license/new?branch=master&template=cc0-1.0, and it will nicely appear in the LICENSE page. |