|
| 1 | +<!doctype html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | + <title></div></title> |
| 7 | + <link href=" https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel=" stylesheet" integrity=" sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin=" anonymous" > |
| 8 | + <link rel="stylesheet" href="/style.css"> |
| 9 | + </head> |
| 10 | + <body> |
| 11 | + <div class="text-bg-dark"> |
| 12 | + <div class="container"> |
| 13 | + <header |
| 14 | + class="d-flex flex-wrap justify-content-center py-3 mb-4 border-bottom" |
| 15 | + > |
| 16 | + <a href="/" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-decoration-none"> |
| 17 | + <img src="/logo-white.png" class="bi me-2 no-aa" height="32" /> |
| 18 | + </a> |
| 19 | + |
| 20 | + <ul class="nav nav-pills"> |
| 21 | + <li class="nav-item"><a href="/" class="nav-link text-white |
| 22 | + active" |
| 23 | + > |
| 24 | + Home |
| 25 | + </a></li> |
| 26 | + <li class="nav-item"><a href="https://docs.th.mrms.cz" class="nav-link text-white" |
| 27 | + > |
| 28 | + Docs |
| 29 | + </a></li> |
| 30 | + <li class="nav-item"><a href="/dl" class="nav-link text-white |
| 31 | + " |
| 32 | + > |
| 33 | + Downloads |
| 34 | + </a></li> |
| 35 | + <li class="nav-item"><a |
| 36 | + href="https://sr.ht/~mrms/tophat" |
| 37 | + class="nav-link text-white" |
| 38 | + > |
| 39 | + SourceHut |
| 40 | + </a></li> |
| 41 | + </ul> |
| 42 | + </header> |
| 43 | + </div> |
| 44 | + </div> |
| 45 | + |
| 46 | + <div class="container"> |
| 47 | + <p></div></p> |
| 48 | + |
| 49 | +<div class="px-4 py-5 my-5 text-center"> |
| 50 | + <img class="d-block mx-auto mb-4 no-aa" src="/logo.png" alt="" height="128"> |
| 51 | + <h1 class="display-5 fw-bold">Tophat Game Library</h1> |
| 52 | + <div class="col-lg-6 mx-auto"> |
| 53 | + <p class="lead mb-4">A 2D Game Library for Umka</p> |
| 54 | + <div class="d-grid gap-2 d-sm-flex justify-content-sm-center"> |
| 55 | + <button type="button" class="btn btn-primary btn-lg px-4 gap-3">Documentation</button> |
| 56 | + <button type="button" class="btn btn-outline-secondary btn-lg px-4">Downloads</button> |
| 57 | + </div> |
| 58 | + </div> |
| 59 | +</div> |
| 60 | + |
| 61 | +<div class="container px-4 py-5" id="featured-3"> |
| 62 | + <div class="row g-4 py-5 row-cols-1 row-cols-lg-3"> |
| 63 | + <div class="feature col"> |
| 64 | + <h3 class="fs-2">Made for programmers</h3> |
| 65 | + <p> |
| 66 | + Tophat allows you to do everything programatically and doesn't |
| 67 | + force you to work with annoying editors. However if you need |
| 68 | + to do a lot of editing you can use |
| 69 | + <a href="https://git.sr.ht/~mrms/proped">PropEd</a>, or make your own |
| 70 | + specialized editor. |
| 71 | + </p> |
| 72 | + <a href="#" class="icon-link d-inline-flex align-items-center"> |
| 73 | + Learn about the API |
| 74 | + </a> |
| 75 | + </div> |
| 76 | + <div class="feature col"> |
| 77 | + <h3 class="fs-2">Modular design</h3> |
| 78 | + <p> |
| 79 | + Tophat includes many built-in modules. Some are necessary, but |
| 80 | + most of them are optional and just extend the few base ones. |
| 81 | + If you don't like some of them, you can implement your own |
| 82 | + ones using native C extensions. |
| 83 | + </p> |
| 84 | + <a href="#" class="icon-link d-inline-flex align-items-center"> |
| 85 | + Learn about extensions |
| 86 | + </a> |
| 87 | + </div> |
| 88 | + <div class="feature col"> |
| 89 | + <h3 class="fs-2">Open Source and hackable</h3> |
| 90 | + <p> |
| 91 | + Tophat's source is open and licensed under BSD-3. The source |
| 92 | + code is small, under 10k lines (excluding dependencies). |
| 93 | + </p> |
| 94 | + <a href="#" class="icon-link d-inline-flex align-items-center"> |
| 95 | + Browse the source |
| 96 | + </a> |
| 97 | + </div> |
| 98 | + </div> |
| 99 | +</div> |
| 100 | + |
| 101 | +<div class="text-white discord-box pt-5 pb-5 mb-5"> |
| 102 | + <div class="container"> |
| 103 | + <h2>Join us on Discord.</h2> |
| 104 | + <a href="#" class="btn btn-outline-light">Join Discord</a> |
| 105 | + </div> |
| 106 | +</div> |
| 107 | + |
| 108 | +<div class="container mb-5"> |
| 109 | + <h2>Play (with) the examples</h2> |
| 110 | + |
| 111 | + <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3"> |
| 112 | + <div class="col"> |
| 113 | + <div class="card shadow-sm"> |
| 114 | + <img class="card-img-top no-aa" widht="100%" |
| 115 | + src="/img/space-shooter.png" |
| 116 | + /> |
| 117 | + <div class="card-body"> |
| 118 | + <p class="card-text"> |
| 119 | + The space shooter is an arcade game, where you have to |
| 120 | + shoot enemies before they descend down the screen. It shows |
| 121 | + the basics of game development in tophat, featuring things |
| 122 | + like movement, collision handling, particles and GUI. |
| 123 | + </p> |
| 124 | + <div class="d-flex justify-content-between align-items-center"> |
| 125 | + <div class="btn-group"> |
| 126 | + <button type="button" class="btn btn-sm btn-outline-secondary">Play</button> |
| 127 | + <button type="button" class="btn btn-sm btn-outline-secondary">View source</button> |
| 128 | + </div> |
| 129 | + </div> |
| 130 | + </div> |
| 131 | + </div> |
| 132 | + </div> |
| 133 | + |
| 134 | + <div class="col"> |
| 135 | + <div class="card shadow-sm"> |
| 136 | + <img class="card-img-top no-aa" widht="100%" |
| 137 | + src="/img/tetris.png" |
| 138 | + /> |
| 139 | + <div class="card-body"> |
| 140 | + <p class="card-text"> |
| 141 | + This is an implementation of a famous block game only using |
| 142 | + the canvas.um module to draw graphics. It show many ways |
| 143 | + to add special effects to your games. |
| 144 | + </p> |
| 145 | + <div class="d-flex justify-content-between align-items-center"> |
| 146 | + <div class="btn-group"> |
| 147 | + <button type="button" class="btn btn-sm btn-outline-secondary">Play</button> |
| 148 | + <button type="button" class="btn btn-sm btn-outline-secondary">View source</button> |
| 149 | + </div> |
| 150 | + </div> |
| 151 | + </div> |
| 152 | + </div> |
| 153 | + </div> |
| 154 | + |
| 155 | + <div class="col"> |
| 156 | + <div class="card shadow-sm"> |
| 157 | + <img class="card-img-top no-aa" widht="100%" |
| 158 | + src="/img/pomodoro.png" |
| 159 | + /> |
| 160 | + <div class="card-body"> |
| 161 | + <p class="card-text"> |
| 162 | + A pomodoro timer made in tophat. It features a custom GUI |
| 163 | + system with fancy transitions and nine-patch rect based controls. |
| 164 | + </p> |
| 165 | + <div class="d-flex justify-content-between align-items-center"> |
| 166 | + <div class="btn-group"> |
| 167 | + <button type="button" class="btn btn-sm btn-outline-secondary">Play</button> |
| 168 | + <button type="button" class="btn btn-sm btn-outline-secondary">View source</button> |
| 169 | + </div> |
| 170 | + </div> |
| 171 | + </div> |
| 172 | + </div> |
| 173 | + </div> |
| 174 | + </div> |
| 175 | +</div> |
| 176 | + |
| 177 | +<div class="container"> |
| 178 | + |
| 179 | + <div class="row"> |
| 180 | + <div class="col"> |
| 181 | + <h2>Edit your games using PropEd</h2> |
| 182 | + <p> |
| 183 | + PropEd is a customizable editor written in and for tophat. It |
| 184 | + can properties of types configured using Umka. There are |
| 185 | + already type definitions included for tophat's basic types. |
| 186 | + </p> |
| 187 | + |
| 188 | + <p> |
| 189 | + PropEd is still in early stages of development, but I hope it |
| 190 | + will be more usable when I release this website :P. |
| 191 | + </p> |
| 192 | + |
| 193 | + <a href="https://git.sr.ht/~mrms/proped" class="btn btn-outline-primary"> |
| 194 | + Try PropEd |
| 195 | + </a> |
| 196 | + </div> |
| 197 | + |
| 198 | + <div class="col"> |
| 199 | + <img src="/img/proped.png" class="no-aa" widht="100%" /> |
| 200 | + </div> |
| 201 | + </div> |
| 202 | +</div> |
| 203 | + </div> |
| 204 | + |
| 205 | + |
| 206 | + <div class="container"> |
| 207 | + <footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top"> |
| 208 | + <p class="col-md-4 mb-0 text-muted">© 2022 Marek Maškarinec</p> |
| 209 | + |
| 210 | + <a href="/" class="col-md-4 d-flex align-items-center justify-content-center mb-3 mb-md-0 me-md-auto link-dark text-decoration-none"> |
| 211 | + <img src="/logo.png" class="bi me-2 no-aa" height="24" /> |
| 212 | + </a> |
| 213 | + |
| 214 | + <ul class="nav col-md-4 justify-content-end"> |
| 215 | + <li class="nav-item"><a href="/" class="nav-link px-2 text-muted">Home</a></li> |
| 216 | + <li class="nav-item"><a href="https://docs.th.mrms.cz" class="nav-link px-2 |
| 217 | + text-muted">Docs</a></li> |
| 218 | + <li class="nav-item"><a href="/dl" class="nav-link px-2 |
| 219 | + text-muted">Downloads</a></li> |
| 220 | + <li class="nav-item"><a href="https://sr.ht/~mrms/tophat" |
| 221 | + class="nav-link px-2 text-muted">SourceHut</a></li> |
| 222 | + </ul> |
| 223 | + </footer> |
| 224 | + </div> |
| 225 | + <script src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity=" sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin=" anonymous" ></script> |
| 226 | + </body> |
| 227 | +</html> |
| 228 | + |
0 commit comments