Open rishavs opened 2 years ago
cd examples/shapes
nim r shapes_bouncing_ball.nim
compiles and runs for me alright. I see that you have it in your own file game.nim
. I think that maybe you could take a look at the example and see what's different in your file?
The Bouncing Balls example does not compile successsfully and throws an error at isKeyPressed.
throws
The error goes away if I add
converters
to the imports. In the discord discussion @greenfork said "examples usually load nimraylib_now which re-exports other files including converters. that's strange, maybe I forgot to put it somewhere https://github.com/greenfork/nimraylib_now/blob/master/src/nimraylib_now.nim"