项目作者: daltomi

项目描述 :
8bpl (8 Bits Per Linux) framework
高级语言: C
项目地址: git://github.com/daltomi/8bpl.git
创建时间: 2020-10-19T14:25:22Z
项目社区:https://github.com/daltomi/8bpl

开源协议:MIT License

下载


  1. ___________________________________________________
  2. 8bpl (8 Bits Per Linux) framework
  3. Author: daltomi
  4. Email: daltomi@disroot.org
  5. https://github.com/daltomi/8bpl
  6. ___________________________________________________
  7. Language and libraries:
  8. -----------------------
  9. - Language: C99
  10. - SDL2
  11. - Graphic engine: www.tilengine.org
  12. - https://github.com/RandyGaul/cute_headers
  13. - https://github.com/nothings/stb
  14. - https://github.com/SanderMertens/flecs
  15. Organization of the project:
  16. ----------------------------
  17. - Directories:
  18. Libraries/
  19. |___Tilengine/ (Note: custom library.)
  20. | |___Makefile
  21. | |___build.sh
  22. | |___LICENSE
  23. | |___README.md
  24. | |___include/
  25. | | |___Tilengine.h
  26. | |___src/
  27. | |___*.c
  28. |
  29. |___flecs/
  30. | |___Makefile
  31. | |___build.sh
  32. | |___LICENSE
  33. | |___include/
  34. | | |___*.h
  35. | |___src/
  36. | |___*.c
  37. |
  38. |___cute_headers/
  39. | |___README.md
  40. | |___include/
  41. | |___*.h
  42. |
  43. |___stb/
  44. | |___README.md
  45. | |___LICENSE
  46. | |___include/
  47. | |___*.h
  48. |
  49. |___8bpl/
  50. |___Makefile
  51. |___build.sh
  52. |___LICENSE
  53. |___include/
  54. | |___*.h
  55. |___src/
  56. |___*.c
  57. Games/
  58. |___new_name.sh
  59. |___Makefiles/
  60. | |___Makefile.common
  61. | |___Makefile.libTilengine
  62. | |___Makefile.libcute_headers
  63. | |___Makefile.lib8bpl
  64. | |___Makefile.libflecs
  65. | |___Makefile.libstb
  66. |___Templates/
  67. |___data/
  68. | |___{font,sound,images}
  69. |___main.c.template
  70. |___config.h.in.template
  71. |___Makefile.template
  72. |___gitignore.template
  73. Example create new project:
  74. ---------------------------
  75. 8bpl ignores any project directory in Games/.
  76. This allows you to create a new repo within your project:
  77. 1) git clone https://github.com/daltomi/8bpl.git
  78. 2) cd 8bpl/Games
  79. 3) ./new_game.sh MyGame
  80. (automatically: git init, git add)
  81. 4) cd MyGame
  82. 5) make && (./test)
  83. 6) git remote add <YOUR REMOTE REPO>
  84. git commit -a -m 'First commit.'
  85. git push
  86. ..etc..
  87. Now is has 2 repos, one in 8bpl/ directory and the other in MyGame/ directory.
  88. -----------------
  89. ... |
  90. Libraries/ | <-- 8bpl/.git
  91. Games/ |
  92. -----------------
  93. |___MyGame/
  94. |___.git/
  95. |___.gitignore
  96. |___Makefile
  97. |___data/
  98. | |___{images,sound,etc.}
  99. |___src/
  100. | |___main.c, *.c, *.o
  101. |___libs/ (gitignore)
  102. | |___*.so
  103. |___include/
  104. |___*.h
  105. |___*.inc
  106. Example export: (TODO)
  107. ---------------
  108. MyGame/
  109. ...
  110. |___export/ (ignore by MyGame git)
  111. |___mygame (exec file)
  112. |
  113. |___libs/
  114. | |___*.so
  115. |
  116. |___data/
  117. |
  118. |___Licenses/
  119. | |___Tilengine.LICENSE
  120. | |___cute_headers.LICENSE
  121. | |___mygame.LICENSE
  122. |___README
  123. new_game.sh options:
  124. ---------------
  125. Use --help
  126. EOF