Go to file
DaniTheSkunk 1a6edcd22a added half tile tilemaps and text rendering 2023-01-22 17:47:53 +00:00
examples added half tile tilemaps and text rendering 2023-01-22 17:47:53 +00:00
include added half tile tilemaps and text rendering 2023-01-22 17:47:53 +00:00
src added half tile tilemaps and text rendering 2023-01-22 17:47:53 +00:00
subprojects support emscripten compile 2022-12-21 14:01:04 +00:00
.clang-format loading png 2022-12-22 09:05:39 +00:00
.gitignore added zlib and libpng 2022-12-21 06:09:29 +00:00
LICENSE Initial commit 2022-12-19 14:56:01 +01:00
README.md gsa is rendering texture'ish now 2022-12-31 11:14:57 +00:00
build.bat gsa is rendering texture'ish now 2022-12-31 11:14:57 +00:00
em.ini support emscripten compile 2022-12-21 14:01:04 +00:00
gfx.png added gamepad stuffies 2023-01-20 08:30:34 +00:00
meson.build added half tile tilemaps and text rendering 2023-01-22 17:47:53 +00:00
native.ini trying out meson instead of cmake 2022-12-21 11:09:42 +00:00
prebuild.bat moved from cmake to meson 2022-12-21 11:38:50 +00:00
prebuildem.bat support emscripten compile 2022-12-21 14:01:04 +00:00

README.md

skunkworks-c

code standard

snake_case for variables, function names, and struct names. always explicit struct, no typedefs. prefix struct members with _ (yes, its allowed, but within structs only) if "private". function order:

  • create functions(including unnamed value type ones)
  • destroy functions
  • empty line
  • static functions(ones that don't take object as parameter)
  • empty line
  • methods(ones that do take object as parameter)

game skunk advance stuffs

do lots automagic... magic main function within the header? autocalling update and init function. texture loading compile time? parse directory, make a variable for each (player.png -> tex_player), and a loading function that will load all of them.

game skunk advance specs

8-bit colour, but user changeable palette(realtime) tilesize 16x16 screensize 304x176 (19x11 tiles) multiple tilesets... or singular big tileset? the latter... could be a nice simplification... maybe 65536 tiles, a 4096x4096 pixels texture 4 tilemaps, 1024x1024 each, tileset offsets?, rotation and other effects 256 sprites (using tileset)