Thanks for the welcome. I double-checked to make sure it has the public void update and it’s in there but the error still shows up. It seems to have something to do with a try {…} and catch {…} thing I have in the code a bit earlier
In the very last line of code in your post, there’s a curly brace, then a normal bracket. That bracket might be the source of the error.
Also, not experienced in Java, but in most programming languages you would be able to do if (keyH.upPressed) (usually there’s no need to add == true if it’s already a boolean).
Okay so I ended up changing my game loop to a delta loop as opposed to one that used sleep and now it’s working so I guess problem solved? Thanks for all the help
Hey quick question, does is adding another one of the .java things like making another package? I’m following a tutorial but the guy is not using replit lol