/*for (int i = 0 i cursor.update(frame.getX(), this.getX(), frame.getY(), this.getY()).The program works the same regardless of these lines being commented out, so it isn't an issue regarding these lines. ![]() I've commented out unnecessary code, related to the next thing I want to put in (the class that will control where units are positioned on the screen, class Actor). At the very least, it seems the screen limiter is working, the cursor does indeed stop at the top right of the screen and remain locked to the window. Movement related to where the mouse moves seems to work, but while the mouse is stationary, the cursor continues to move up to the top right of the screen. The cursor is constantly moving up and to the right, and I can't see where the issue is. Okay, so I've used that sketch and put it into my own, it looks like it should be correct, but I'm getting an issue with the way the cursor draws on the screen.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |