so i am currently working on a easy project, as i am not really THAT good with java and programming in general. i am just... making something atleast. well i decided to instead of controlling a rectangle, i want to controll a guy, or something, so i put something together quick in MS paint ( ?° ?? ?°) ( i know, i know). in this code i have a method called render, in wich i put what is going to be rendered, and then i have a method called tick, wich is generally the attributes of the thing i rendered. well on the code here, in the render, i put a code that i thought would be for for importing and showing the picture. Long story short, it dident.
here is the code for the player, wich has the player/guy i want to print, btw it has the same width and height as the variables in the code.
here is the main code, where i make the canvas and put everything together
here is the the main menu thing, it cointains the main string and that stuff, thats where it lanches from
here is the input handler:
i also want to make kind of gravity when i jump, in the jump if statement, can i like do it so like the y-=5; last for like, 2 sec before maby this code starts to work: y +=3;, so: