test29.nim 229 B

123456789101112131415161718
  1. # --- Test 29. Use Counter node. --- #
  2. import nodesnim
  3. Window("hello world")
  4. var
  5. main = Scene("Main")
  6. counter = Counter()
  7. main.addChild(counter)
  8. counter.move(128, 64)
  9. addScene(main)
  10. setMainScene("Main")
  11. windowLaunch()