With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Hi,So I got the code working, was wondering if there was a way to modify it so the position didn't "Reset" every second? Like, if I move the mouse from (0,0) to (120,0), so it will stay there until it reaches X reaches 127 upon which it rolls over. Then I could use some kind of counter when it rolls over. As opposed to resetting to (0,0) every second, which is what is happening now. I'm having a hard time knowing how to approximate the distance if it is constantly resetting. Hope this makes some sense. Also is there a commented version of the .cpp file? Trying to tinker around with it but I'm a little lost.Thanks!
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.