Guys you didnt understand correctly. ALL classes are used. However, i think some classes,such as the Screen class, do not contain the problem, but it is good to have them there because: The idea is,...
Type: Posts; User: Alex555
Guys you didnt understand correctly. ALL classes are used. However, i think some classes,such as the Screen class, do not contain the problem, but it is good to have them there because: The idea is,...
Most shooters have headshots =) lol
I did. I said wich classes are (maybe) useless.
But half of the code here doesnt really matter.(like my screen class)
You didnt say what game you are makeing so it would be a little hard to find out, but if its a shooter then pixel grid(otherwise bullet collision would look a bit wierd.), if its a Mario brothers...
Sorry Dude. You didnt show any titles or directories. Try checking them. Make sure the folder that has the textures has no spaces in its name.
thnx man,the keyboard class should have the KeyListener interface (idk why it doesnt have it here)
WASD movement is used in almost all games. instead of using arrow keys to move you use W A S and...
Dude, Minecraft is already made by Notch! Stop copying it!
I think you should write your own game engine. That way you will have full control of what you are doing, and you can make as many methods as you want and make it as simple as you want =)
BTW,...
It depends what kind of splash screen u want. If u wand just a square splash screen its easy:
JFrame f = new JFrame();
f.setUndecorated(true);
f.setResizable(false);...
Hello every1,
I am makeing a java 2D game and i cant figure out how to add the wasd movement. I allready made a keyboard (wich is called "Keyboard") reader class but idk where do i add the key...
That's the question. How do i use one? :)
I guess the title says it all :)
thats the problem! it doesnt understand when i type the name of the window!
so when i try to do
private void click(java.awt.event.ActionEvent evt) {
MathGuiView.setVisible(true); //<--- doesnt...
So i want to add a menu to my application(not menubar).
1036
when the start button is clicked i want the main window to become visible and the menu window invisible. I cant figgure out how....
I am not asking for help with the programming. Just the logic. All I need is help with the random variable print order. I have the random method setup and the array also
I am a beginer and what i am makeing is a consol app(for now). And what is Math.random()?
I just cant figure out the logic here
I need my array indexes to be printed in a random order.
I think there must be a random generator limited by 3 (I have three indexes) wich would be written...