We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
My specs:
Running any example uses one CPU core to the max. I tried setVSync both true/false, no difference. The code I test with is:
setVSync
true
false
import nico proc gameInit() = nico.loadFont(0, "font.png") proc gameUpdate(dt: Pfloat) = discard proc gameDraw() = cls() setColor(7) line(64,64,128,64) setColor(8) line(64,0,64,64) circ(70,70,10) print("something", 20, 80) # initialization nico.init("nico", "test") # we want a fixed sized screen with perfect square pixels nico.fixedSize(true) nico.integerScale(true) # Framerate nico.fps(30) nico.setVSync(true) # create the window nico.createWindow("nico", 128, 128, 4) # start, say which functions to use for init, update and draw nico.run(gameInit, gameUpdate, gameDraw)
Any ideas? Thanks
The text was updated successfully, but these errors were encountered:
Found that @markusgritsch 's pull-request fixes this: #90
Sorry, something went wrong.
I'd like to reopen this, I also am experiencing the same issue.
No branches or pull requests
Hi,
My specs:
Running any example uses one CPU core to the max. I tried
setVSync
bothtrue
/false
, no difference.The code I test with is:
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: