Mercurial > games > semicongine
comparison examples/E10_pong.nim @ 732:dcc12ab20a91
did: fix API changes broke examples
| author | Sam <sam@basx.dev> |
|---|---|
| date | Tue, 30 May 2023 16:58:35 +0700 |
| parents | 5f7ec8d1bd33 |
| children | da0bd61abe91 |
comparison
equal
deleted
inserted
replaced
| 731:c12b11a5f112 | 732:dcc12ab20a91 |
|---|---|
| 1 import std/times | 1 import std/times |
| 2 | 2 |
| 3 import semicongine | 3 import ../src/semicongine |
| 4 | 4 |
| 5 let | 5 let |
| 6 barcolor = hexToColorAlpha("5A3F00").gamma(2.2).colorToHex() | 6 barcolor = hexToColorAlpha("5A3F00").gamma(2.2).colorToHex() |
| 7 barSize = 0.1'f | 7 barSize = 0.1'f |
| 8 barWidth = 0.01'f | 8 barWidth = 0.01'f |
