index.html 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta name="description" content="">
  7. <meta name="generator" content="Hugo 0.84.0">
  8. <title>Gunslinger</title>
  9. <link rel="icon" href="./assets/gs_logo.png">
  10. <!-- Scripts -->
  11. <!-- JQuery -->
  12. <!-- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> -->
  13. <script type="text/javascript" src="./external/fancybox/jquery-1.4.3.min.js"></script>
  14. <!-- Add jQuery easing plugin -->
  15. <script src="./external/fancybox/fancybox/jquery.easing-1.3.pack.js"></script>
  16. <!-- Bootstrap -->
  17. <script src="./assets/dist/js/bootstrap.bundle.min.js"></script>
  18. <link href="./assets/dist/css/bootstrap.min.css" rel="stylesheet">
  19. <!-- FancyBox -->
  20. <script type="text/javascript" src="./external/fancybox/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
  21. <link rel="stylesheet" href="./external/fancybox/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
  22. <!-- Examples JS -->
  23. <!-- <script type="text/javascript" src=""></script> -->
  24. <!-- Examples css sheet -->
  25. <link rel="stylesheet" href="./examples/examples.css" type="text/css" media="screen" />
  26. <script type="text/javascript">
  27. $(document).ready(function() {
  28. $(".example").fancybox({
  29. 'width' : 900,
  30. 'height' : 650,
  31. 'autoScale' : 'false',
  32. 'transitionIn' : 'elastic',
  33. 'transitionOut' : 'none',
  34. 'type' : 'iframe',
  35. 'overlayColor' : '#000',
  36. 'overlayOpacity' : 0.9
  37. });
  38. });
  39. </script>
  40. <!-- Bootstrap core CSS -->
  41. <!-- <link href="./assets/dist/css/bootstrap.min.css" rel="stylesheet"> -->
  42. <!-- FancyBox CSS -->
  43. <!-- <link rel="stylesheet" href="./external/fancybox/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> -->
  44. <style>
  45. .bd-placeholder-img {
  46. font-size: 1.125rem;
  47. text-anchor: middle;
  48. -webkit-user-select: none;
  49. -moz-user-select: none;
  50. user-select: none;
  51. }
  52. @media (min-width: 768px) {
  53. .bd-placeholder-img-lg {
  54. font-size: 3.5rem;
  55. }
  56. }
  57. .card-outline {
  58. .background-color: rgb(45, 45, 45)
  59. }
  60. .card-desc-text {
  61. .color: white;
  62. }
  63. .card-body-bg {
  64. .background-color: black
  65. }
  66. .card
  67. </style>
  68. </head>
  69. <!-- Main Body -->
  70. <body>
  71. <!-- Header -->
  72. <header>
  73. <!-- <div class="collapse" style="background-color: rgb(16, 16, 16)" id="navbarHeader">
  74. <div class="container">
  75. <div class="row">
  76. <div class="col-sm-8 col-md-7 py-4">
  77. <h4 class="text-white">About</h4>
  78. <p class="text-muted">Gunslinger</p>
  79. </div>
  80. <div class="col-sm-4 offset-md-1 py-4">
  81. <h4 class="text-white">Links</h4>
  82. <ul class="list-unstyled">
  83. <li><a href="https://github.com/MrFrenik/gunslinger" class="text-white">Github</a></li>
  84. <li><a href="https://discord.gg/phggSpnxew" class="text-white">Discord</a></li>
  85. </ul>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. -->
  91. <!-- <div class="navbar navbar-dark shadow-sm" style="background-color: rgb(16, 16, 16)">
  92. <div class="container">
  93. <a href="#" class="navbar-brand d-flex align-items-center"><strong>Gunslinger</strong></a>
  94. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">
  95. <span class="navbar-toggler-icon"></span>
  96. </button>
  97. </div>
  98. </div>
  99. -->
  100. </header>
  101. <main style="background-color:black">
  102. <!-- Main Banner -->
  103. <section class="py-5 text-center container" style="background-color: black">
  104. <div class="row py-lg-5">
  105. <div class="col-lg-6 col-md-8 mx-auto">
  106. <a href="https://github.com/MrFrenik/gunslinger">
  107. <img src="./assets/gs_logo2.png" width="100%" height="100" xmlns="http://www.w3.org/2000/svg" role="image" aria-label="Banner Logo" focusable="false"></img>
  108. </a>
  109. <p class="lead text-muted">C99, header-only framework for games and multimedia applications</p>
  110. <h2 class="section_title" style="padding-bottom: 5px">Samples</h2>
  111. <p>
  112. <a href="#example_list_graphics" class="btn btn-primary my-2">Graphics</a>
  113. <a href="#example_list_audio" class="btn btn-primary my-2">Audio</a>
  114. <a href="#example_list_physics" class="btn btn-primary my-2">Physics</a>
  115. <a href="#example_list_misc" class="btn btn-primary my-2">Misc</a>
  116. <a href="#example_list_user" class="btn btn-primary my-2">User Apps</a>
  117. <!-- Github link -->
  118. <a href="https://github.com/MrFrenik/gs_examples">
  119. <svg style="-webkit-filter: invert(100%)" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-4.466 19.59c-.405.078-.534-.171-.534-.384v-2.195c0-.747-.262-1.233-.55-1.481 1.782-.198 3.654-.875 3.654-3.947 0-.874-.312-1.588-.823-2.147.082-.202.356-1.016-.079-2.117 0 0-.671-.215-2.198.82-.64-.18-1.324-.267-2.004-.271-.68.003-1.364.091-2.003.269-1.528-1.035-2.2-.82-2.2-.82-.434 1.102-.16 1.915-.077 2.118-.512.56-.824 1.273-.824 2.147 0 3.064 1.867 3.751 3.645 3.954-.229.2-.436.552-.508 1.07-.457.204-1.614.557-2.328-.666 0 0-.423-.768-1.227-.825 0 0-.78-.01-.055.487 0 0 .525.246.889 1.17 0 0 .463 1.428 2.688.944v1.489c0 .211-.129.459-.528.385-3.18-1.057-5.472-4.056-5.472-7.59 0-4.419 3.582-8 8-8s8 3.581 8 8c0 3.533-2.289 6.531-5.466 7.59z"/></svg>
  120. </a>
  121. </p>
  122. </div>
  123. </div>
  124. </section>
  125. <!-- Example List -->
  126. <div class="album py-5" style="background-color: rgb(16, 16, 16)">
  127. <!-- Graphics -->
  128. <h4 id="example_list_graphics" class="section_title">Graphics</h4>
  129. <div class="container">
  130. <div class="row row-cols-2 row-cols-sm-2 row-cols-md-5 g-3">
  131. <!-- Example 0: Hello World -->
  132. <div class="col">
  133. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  134. <a class="example" href = "examples/00_hello_gs/bin/App.html">
  135. <img src="examples/00_hello_gs/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  136. <title>Hello GS</title>
  137. <rect width="100%" height="100%" fill="#55595c"/>
  138. </img>
  139. </a>
  140. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  141. <p class="card-text" style="color: white">Hello, Gunslinger</p>
  142. <div class="d-flex justify-content-between align-items-center">
  143. <div class="btn-group">
  144. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_platform/window/basic_window">
  145. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  146. </a>
  147. </div>
  148. <!-- <small class="text-muted">9 mins</small> -->
  149. </div>
  150. </div>
  151. </div>
  152. </div>
  153. <!-- Simple Triangle -->
  154. <div class="col">
  155. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  156. <a class="example" href = "examples/02_simple_triangle/bin/App.html">
  157. <img src="examples/02_simple_triangle/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  158. <title>Simple Triangle</title>
  159. <rect width="100%" height="100%" fill="#55595c"/>
  160. </img>
  161. </a>
  162. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  163. <p class="card-text" style="color: white">Simple Triangle</p>
  164. <div class="d-flex justify-content-between align-items-center">
  165. <div class="btn-group">
  166. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_graphics/simple_triangle">
  167. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  168. </a>
  169. </div>
  170. <!-- <small class="text-muted">9 mins</small> -->
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. <!-- Uniforms -->
  176. <div class="col">
  177. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  178. <a class="example" href="examples/03_uniforms/bin/App.html">
  179. <img src="examples/03_uniforms/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  180. <title>Uniforms</title>
  181. <rect width="100%" height="100%" fill="#55595c"/>
  182. </img>
  183. </a>
  184. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  185. <p class="card-text" style="color: white">Uniforms</p>
  186. <div class="d-flex justify-content-between align-items-center">
  187. <div class="btn-group">
  188. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_graphics/uniforms">
  189. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  190. </a>
  191. </div>
  192. <!-- <small class="text-muted">9 mins</small> -->
  193. </div>
  194. </div>
  195. </div>
  196. </div>
  197. <!-- Simple Texture -->
  198. <div class="col">
  199. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  200. <a class="example" href="examples/04_simple_texture/bin/App.html">
  201. <img src="examples/04_simple_texture/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  202. <title>Simple Texture</title>
  203. <rect width="100%" height="100%" fill="#55595c"/>
  204. </img>
  205. </a>
  206. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  207. <p class="card-text" style="color: white">Simple Texture</p>
  208. <div class="d-flex justify-content-between align-items-center">
  209. <div class="btn-group">
  210. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_graphics/simple_texture">
  211. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  212. </a>
  213. </div>
  214. <!-- <small class="text-muted">9 mins</small> -->
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. <!-- Non-Interleaved Data -->
  220. <div class="col">
  221. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  222. <a class="example" href = "examples/06_non_interleaved_data/bin/App.html">
  223. <img src="examples/06_non_interleaved_data/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  224. <title>Non-Interleaved Data</title>
  225. <rect width="100%" height="100%" fill="#55595c"/>
  226. </img>
  227. </a>
  228. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  229. <p class="card-text" style="color: white">Non-Interleaved Vertex Data</p>
  230. <div class="d-flex justify-content-between align-items-center">
  231. <div class="btn-group">
  232. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_graphics/non_interleaved_data">
  233. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  234. </a>
  235. </div>
  236. <!-- <small class="text-muted">9 mins</small> -->
  237. </div>
  238. </div>
  239. </div>
  240. </div>
  241. <!-- Instancing -->
  242. <div class="col">
  243. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  244. <a class="example" href="examples/07_instancing/bin/App.html">
  245. <img src="examples/07_instancing/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  246. <title>Instancing</title>
  247. <rect width="100%" height="100%" fill="#55595c"/>
  248. </img>
  249. </a>
  250. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  251. <p class="card-text" style="color: white">Instancing</p>
  252. <div class="d-flex justify-content-between align-items-center">
  253. <div class="btn-group">
  254. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_graphics/instancing">
  255. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  256. </a>
  257. </div>
  258. <!-- <small class="text-muted">9 mins</small> -->
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. <!-- Frame Buffer -->
  264. <div class="col">
  265. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  266. <a class="example" href="examples/09_frame_buffer/bin/App.html">
  267. <img src="examples/09_frame_buffer/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  268. <title>Frame Buffer</title>
  269. <rect width="100%" height="100%" fill="#55595c"/>
  270. </img>
  271. </a>
  272. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  273. <p class="card-text" style="color: white">FrameBuffer</p>
  274. <div class="d-flex justify-content-between align-items-center">
  275. <div class="btn-group">
  276. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_graphics/frame_buffer">
  277. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  278. </a>
  279. </div>
  280. <!-- <small class="text-muted">9 mins</small> -->
  281. </div>
  282. </div>
  283. </div>
  284. </div>
  285. <!-- Non-Interleave Instancing -->
  286. <div class="col">
  287. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  288. <a class="example" href="examples/10_non_interleave_instancing/bin/App.html">
  289. <img src="examples/10_non_interleave_instancing/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  290. <title>Non-Interleave Instancing</title>
  291. <rect width="100%" height="100%" fill="#55595c"/>
  292. </img>
  293. </a>
  294. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  295. <p class="card-text" style="color: white">Non-Interleaved Instancing</p>
  296. <div class="d-flex justify-content-between align-items-center">
  297. <div class="btn-group">
  298. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_graphics/non_interleave_instancing">
  299. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  300. </a>
  301. </div>
  302. <!-- <small class="text-muted">9 mins</small> -->
  303. </div>
  304. </div>
  305. </div>
  306. </div>
  307. <!-- Uniform Buffers -->
  308. <div class="col">
  309. <div class"=card shadow-sm" style="background-color: rgb(45, 45, 45)">
  310. <a class="example" href="examples/19_uniform_buffers/bin/App.html">
  311. <img src="examples/19_uniform_buffers/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  312. <title>Uniform Buffers</title>
  313. <rect width="100%" height="100%" fill="#55595c"/>
  314. </img>
  315. </a>
  316. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  317. <p class="card-text" style="color: white">Uniform Buffers</p>
  318. <div class="d-flex justify-content-between align-items-center">
  319. <div class="btn-group">
  320. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_graphics/uniform_buffers">
  321. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  322. </a>
  323. </div>
  324. <!-- <small class="text-muted">9 mins</small> -->
  325. </div>
  326. </div>
  327. </div>
  328. </div>
  329. <!-- Uniforms Advanced -->
  330. <div class="col">
  331. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  332. <a class="example" href="examples/20_uniforms_advanced/bin/App.html">
  333. <img src="examples/20_uniforms_advanced/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  334. <title>Uniforms Advanced</title>
  335. <rect width="100%" height="100%" fill="#55595c"/>
  336. </img>
  337. </a>
  338. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  339. <p class="card-text" style="color: white">Uniforms Advanced</p>
  340. <div class="d-flex justify-content-between align-items-center">
  341. <div class="btn-group">
  342. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_graphics/uniforms_advanced">
  343. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  344. </a>
  345. </div>
  346. <!-- <small class="text-muted">9 mins</small> -->
  347. </div>
  348. </div>
  349. </div>
  350. </div>
  351. <!-- Stencil Test -->
  352. <div class="col">
  353. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  354. <a class="example" href="examples/21_stencil_test/bin/App.html">
  355. <img src="examples/21_stencil_test/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  356. <title>Stencil Test</title>
  357. <rect width="100%" height="100%" fill="#55595c"/>
  358. </img>
  359. </a>
  360. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  361. <p class="card-text" style="color: white">Stencil Test</p>
  362. <div class="d-flex justify-content-between align-items-center">
  363. <div class="btn-group">
  364. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_graphics/stencil_test">
  365. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  366. </a>
  367. </div>
  368. <!-- <small class="text-muted">9 mins</small> -->
  369. </div>
  370. </div>
  371. </div>
  372. </div>
  373. </div>
  374. </div>
  375. <!-- Audio -->
  376. <h4 id="example_list_audio" class="section_title">Audio</h4>
  377. <div class="container">
  378. <div class="row row-cols-2 row-cols-sm-2 row-cols-md-5 g-3">
  379. <!-- Audio -->
  380. <div class="col">
  381. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  382. <a class="example" href="examples/08_audio/bin/App.html">
  383. <img src="examples/08_audio/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  384. <title>Audio</title>
  385. <rect width="100%" height="100%" fill="#55595c"/>
  386. </img>
  387. </a>
  388. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  389. <p class="card-text" style="color: white">Audio</p>
  390. <div class="d-flex justify-content-between align-items-center">
  391. <div class="btn-group">
  392. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_core_audio/audio">
  393. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  394. </a>
  395. </div>
  396. <!-- <small class="text-muted">9 mins</small> -->
  397. </div>
  398. </div>
  399. </div>
  400. </div>
  401. </div>
  402. </div>
  403. <!-- Physics -->
  404. <h4 id="example_list_physics" class="section_title">Physics</h4>
  405. <div class="container">
  406. <div class="row row-cols-2 row-cols-sm-2 row-cols-md-5 g-3">
  407. <!-- Collision Detection -->
  408. <div class="col">
  409. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  410. <a class="example" href="examples/23_collision_detection/bin/App.html">
  411. <img src="examples/23_collision_detection/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  412. <title>Collision Detection</title>
  413. <rect width="100%" height="100%" fill="#55595c"/>
  414. </img>
  415. </a>
  416. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  417. <p class="card-text" style="color: white">Collision Detection</p>
  418. <div class="d-flex justify-content-between align-items-center">
  419. <div class="btn-group">
  420. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_util_physics/collision_detection">
  421. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  422. </a>
  423. </div>
  424. <!-- <small class="text-muted">9 mins</small> -->
  425. </div>
  426. </div>
  427. </div>
  428. </div>
  429. </div>
  430. </div>
  431. <!-- Misc -->
  432. <h4 id="example_list_misc" class="section_title">Misc</h4>
  433. <div class="container">
  434. <div class="row row-cols-2 row-cols-sm-2 row-cols-md-5 g-3">
  435. <!-- Immediate Draw -->
  436. <div class="col">
  437. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  438. <a class="example" href = "examples/14_immediate_draw/bin/App.html">
  439. <img src="examples/14_immediate_draw/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  440. <title>Immediate Draw</title>
  441. <rect width="100%" height="100%" fill="#55595c"/>
  442. </img>
  443. </a>
  444. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  445. <p class="card-text" style="color: white">Immediate Draw Util</p>
  446. <div class="d-flex justify-content-between align-items-center">
  447. <div class="btn-group">
  448. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_util_immediate_draw/immediate_draw">
  449. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  450. </a>
  451. </div>
  452. <!-- <small class="text-muted">9 mins</small> -->
  453. </div>
  454. </div>
  455. </div>
  456. </div>
  457. <!-- Asset Manager -->
  458. <div class="col">
  459. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  460. <a class="example" href="examples/12_asset_manager/bin/App.html">
  461. <img src="examples/12_asset_manager/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  462. <title>Asset Manager</title>
  463. <rect width="100%" height="100%" fill="#55595c"/>
  464. </img>
  465. </a>
  466. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  467. <p class="card-text" style="color: white">Asset Manager</p>
  468. <div class="d-flex justify-content-between align-items-center">
  469. <div class="btn-group">
  470. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_util_assets/asset_manager">
  471. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  472. </a>
  473. </div>
  474. <!-- <small class="text-muted">9 mins</small> -->
  475. </div>
  476. </div>
  477. </div>
  478. </div>
  479. <!-- Nuklear Gui -->
  480. <div class="col">
  481. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  482. <a class="example" href="examples/16_nuklear_gui/bin/App.html">
  483. <img src="examples/16_nuklear_gui/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  484. <title>Nuklear Gui</title>
  485. <rect width="100%" height="100%" fill="#55595c"/>
  486. </img>
  487. </a>
  488. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  489. <p class="card-text" style="color: white">Nuklear Gui</p>
  490. <div class="d-flex justify-content-between align-items-center">
  491. <div class="btn-group">
  492. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_demos/nuklear_gui">
  493. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  494. </a>
  495. </div>
  496. <!-- <small class="text-muted">9 mins</small> -->
  497. </div>
  498. </div>
  499. </div>
  500. </div>
  501. <!-- MicroUI -->
  502. <div class="col">
  503. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  504. <a class="example" href="examples/24_microui/bin/App.html">
  505. <img src="examples/24_microui/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  506. <title>Micro UI</title>
  507. <rect width="100%" height="100%" fill="#55595c"/>
  508. </img>
  509. </a>
  510. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  511. <p class="card-text" style="color: white">Micro UI</p>
  512. <div class="d-flex justify-content-between align-items-center">
  513. <div class="btn-group">
  514. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_demos/microui">
  515. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  516. </a>
  517. </div>
  518. <!-- <small class="text-muted">9 mins</small> -->
  519. </div>
  520. </div>
  521. </div>
  522. </div>
  523. <!-- Flecs -->
  524. <div class="col">
  525. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  526. <a class="example" href="examples/18_flecs/bin/App.html">
  527. <img src="examples/18_flecs/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  528. <title>Flecs</title>
  529. <rect width="100%" height="100%" fill="#55595c"/>
  530. </img>
  531. </a>
  532. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  533. <p class="card-text" style="color: white">Flecs</p>
  534. <div class="d-flex justify-content-between align-items-center">
  535. <div class="btn-group">
  536. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_demos/flecs">
  537. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  538. </a>
  539. </div>
  540. <!-- <small class="text-muted">9 mins</small> -->
  541. </div>
  542. </div>
  543. </div>
  544. </div>
  545. <!-- FPS Camera -->
  546. <div class="col">
  547. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  548. <a class="example" href="examples/22_first_person_camera/bin/App.html">
  549. <img src="examples/22_first_person_camera/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  550. <title>FPS Camera</title>
  551. <rect width="100%" height="100%" fill="#55595c"/>
  552. </img>
  553. </a>
  554. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  555. <p class="card-text" style="color: white">FPS Camera (Raylib Port)</p>
  556. <div class="d-flex justify-content-between align-items-center">
  557. <div class="btn-group">
  558. <a href="https://github.com/MrFrenik/gs_examples/tree/main/ex_demos/first_person_camera">
  559. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  560. </a>
  561. </div>
  562. <!-- <small class="text-muted">9 mins</small> -->
  563. </div>
  564. </div>
  565. </div>
  566. </div>
  567. <!-- Pong -->
  568. <!-- NOTE (quou): I'm not sure where the pong example is located on the gs_examples repository, does it still exist? -->
  569. <!-- <div class="col">
  570. <div class="card shadow-sm" style="background-color: rgb(45, 45, 45)">
  571. <a class="example" href="examples/25_pong/bin/App.html">
  572. <img src="examples/25_pong/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  573. <title>FPS Camera</title>
  574. <rect width="100%" height="100%" fill="#55595c"/>
  575. </img>
  576. </a>
  577. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  578. <p class="card-text" style="color: white">Pong</p>
  579. <div class="d-flex justify-content-between align-items-center">
  580. <div class="btn-group">
  581. <a href="https://github.com/GameEngineering/EP03_GSPong">
  582. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  583. </a>
  584. </div>
  585. <!-- <small class="text-muted">9 mins</small> -->
  586. <!-- </div>
  587. </div>
  588. </div>
  589. </div> -->
  590. </div>
  591. </div>
  592. <!-- User Examples -->
  593. <h4 id="example_list_user" class="section_title">User Apps/Games</h4>
  594. <div class="container">
  595. <div class="row row-cols-2 row-cols-sm-2 row-cols-md-5 g-3">
  596. <!-- Snake -->
  597. <div class="col">
  598. <div class =card shadow-sm" style="background-color: rgb(45, 45, 45)">
  599. <a class="example" href = "examples/26_snake/bin/App.html">
  600. <img src="examples/26_snake/screen_shot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  601. <title>Snake</title>
  602. <rect width="100%" height="100%" fill="#55595c"/>
  603. </img>
  604. </a>
  605. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  606. <p class="card-text" style="color: white">Snake by Samdal</p>
  607. <div class="d-flex justify-content-between align-items-center">
  608. <div class="btn-group">
  609. <a href="https://github.com/Samdal/gs_snake">
  610. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  611. </a>
  612. </div>
  613. <!-- <small class="text-muted">9 mins</small> -->
  614. </div>
  615. </div>
  616. </div>
  617. </div>
  618. <!-- Endless Cave -->
  619. <div class="col">
  620. <div class =card shadow-sm" style="background-color: rgb(45, 45, 45)">
  621. <a class="example" href = "https://lukvargen.github.io/ever-changing-caves-game/">
  622. <img src="examples/27_ever_changing_cave/screenshot.png" class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" role="button" aria-label="Placeholder: Thumbnail" preserveAspectRatio="xMidYMid slice" focusable="false">
  623. <title>Snake</title>
  624. <rect width="100%" height="100%" fill="#55595c"/>
  625. </img>
  626. </a>
  627. <div class="card-body" style="background-color: rgb(20, 20, 20)">
  628. <p class="card-text" style="color: white">Ever-Changing Caves</p>
  629. <div class="d-flex justify-content-between align-items-center">
  630. <div class="btn-group">
  631. <a href="https://github.com/Lukvargen/ever-changing-caves-game">
  632. <button type="button" class="btn btn-sm btn-outline-secondary">Github</button>
  633. </a>
  634. </div>
  635. <!-- <small class="text-muted">9 mins</small> -->
  636. </div>
  637. </div>
  638. </div>
  639. </div>
  640. </div>
  641. </div>
  642. </div>
  643. </main>
  644. <footer class="text-muted py-5" style="background-color: rgb(10, 10, 10)">
  645. <div class="container">
  646. <p class="float-end mb-1">
  647. <a href="#" class="text-muted" style="color: white text">Back to top</a>
  648. </p>
  649. <!-- <p class="mb-1">Album example is &copy; Bootstrap, but please download and customize it for yourself!</p> -->
  650. <!-- <p class="mb-0">New to Bootstrap? <a href="/">Visit the homepage</a> or read our <a href="../getting-started/introduction/">getting started guide</a>.</p> -->
  651. </div>
  652. </footer>
  653. </body>
  654. </html>