Search:

Type: Posts; User: Alex555

Search: Search took 0.07 seconds.

  1. Replies
    12
    Views
    7,228

    Re: WASD Movement! Need Help!

    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,...
  2. Replies
    7
    Views
    3,140

    Re: Pixel grid vs Hitbox (collision detection)

    Most shooters have headshots =) lol
  3. Replies
    12
    Views
    7,228

    Re: WASD Movement! Need Help!

    I did. I said wich classes are (maybe) useless.
  4. Replies
    12
    Views
    7,228

    Re: WASD Movement! Need Help!

    But half of the code here doesnt really matter.(like my screen class)
  5. Replies
    7
    Views
    3,140

    Re: Pixel grid vs Hitbox (collision detection)

    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...
  6. Replies
    4
    Views
    2,101

    Re: LWJGL texture applying problem

    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.
  7. Replies
    12
    Views
    7,228

    Re: WASD Movement! Need Help!

    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...
  8. Replies
    4
    Views
    2,101

    Re: LWJGL texture applying problem

    Dude, Minecraft is already made by Notch! Stop copying it!
  9. Replies
    13
    Views
    2,661

    Re: 2D Game Programming

    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,...
  10. Replies
    5
    Views
    1,942

    Re: calculator program

    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);...
  11. Replies
    12
    Views
    7,228

    WASD Movement! Need Help!

    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...
  12. Re: How do I add a countdowwn timer to my project???

    That's the question. How do i use one? :)
  13. How do I add a countdowwn timer to my project???

    I guess the title says it all :)
  14. Replies
    3
    Views
    1,657

    Re: Adding a menu to an application (NetBeans)

    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...
  15. Replies
    3
    Views
    1,657

    Adding a menu to an application (NetBeans)

    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....
  16. Replies
    5
    Views
    1,612

    Re: Random variable order.

    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
  17. Replies
    5
    Views
    1,612

    Re: Random variable order.

    I am a beginer and what i am makeing is a consol app(for now). And what is Math.random()?
  18. Replies
    5
    Views
    1,612

    Random variable order.

    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...
Results 1 to 18 of 19