Mercurial > games > semicongine
comparison examples/E10_pong.nim @ 271:95281f2db400
did: fix API changes broke examples
| author | Sam <sam@basx.dev> |
|---|---|
| date | Tue, 30 May 2023 16:58:35 +0700 |
| parents | ad078e26a1c7 |
| children | da0bd61abe91 |
comparison
equal
deleted
inserted
replaced
| 270:563ca4a82931 | 271:95281f2db400 |
|---|---|
| 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 |
