Search:

Type: Posts; User: DanielJamesCollier

Search: Search took 0.57 seconds.

  1. Replies
    3
    Views
    313

    Re: Programming gravity wells ?!

    how could i get an angle from a particle with an x and y position to the gravity well that has an x and y position and then is it possible to turn that into a velocity ?

    --- Update ---

    its fine...
  2. Replies
    3
    Views
    313

    Programming gravity wells ?!

    okay so i have been working on a particle system using the light weight java game library but i now want to add gravity wells. by that i mean a way of attracting all the particles to a central point(...
  3. Replies
    2
    Views
    487

    Re: IDE Eclipse Exporting Problem

    sorry i just didnt know where to put it but thanks

    --- Update ---

    i love you man <3 i have been trying to figure it out for ages
  4. Replies
    2
    Views
    487

    IDE Eclipse Exporting Problem

    hi, okay I am make a mini 2d game engine just for self learning purposes anyway when i try and export it as a runnable jar it exports without any errors and when i click on it to run it, it doesn't...
  5. how do you control the seperate X & Y axis of all corners of a shape?

    i am just wondering is there a way of manipulating all corners of shape ? the only way i know you can do this is by using openGL but i keen to know if this is possible in core java. thanks :)
  6. what are integer literals & where can they come in handy

    so i was reading the article about primitive data types and i came across litterals. so i understand the uses of the 8 primative types but i dont understand why you would do this below

    float pi = ...
  7. Replies
    3
    Views
    980

    Re: key input handler

    how would you recomend i learn, by reading the oracle tutorials ? thanks
  8. Replies
    3
    Views
    980

    key input handler

    import java.awt.Canvas;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.event.KeyEvent;
    import java.awt.image.BufferStrategy;

    import...
  9. JFrame in event despatch thread

    I normally create a jframe with all the standard methods but I was reading about GUI on the oracle website and it showed an example of creating a jframe in a new instantce of runnable on something...
  10. Re: Is "count" in this loop a keyword?

    Sory from now on I'll support people to work it out for them selfs with a few hints
  11. Re: Is "count" in this loop a keyword?

    if you mean key words in the java syntax like while,for,if,switch and so on then no it is'nt because it is created by you, if you are using an IDE, all the java key words will be illistrated by bold...
  12. Replies
    4
    Views
    958

    Re: LWJGL texture applying problem

    its not that the texture isnt being found, its that the texture is drawing weird
  13. Replies
    4
    Views
    958

    Re: LWJGL texture applying problem

    I'm not copying his code.... im just experimenting to see how everthing works as i am LEARNING JAVA.just because i used the word blocks doesnt mean its minecraft and if you looked at the screenshot...
  14. Replies
    4
    Views
    958

    LWJGL texture applying problem

    import org.lwjgl.LWJGLException;
    import org.lwjgl.opengl.Display;
    import org.lwjgl.opengl.DisplayMode;
    import static org.lwjgl.opengl.GL11.*;

    public class game {

    public final String TITLE =...
  15. [SOLVED] Re: (LWJGL)openGL arraylist rendering problem

    darn it, doesnt seem to work either not having much luck :/ thanks thought
  16. [SOLVED] Re: (LWJGL)openGL arraylist rendering problem

    thanks for the input :) but this doesnt seem to work :/
  17. [SOLVED] (LWJGL)openGL arraylist rendering problem

    import static org.lwjgl.opengl.GL11.*;

    import java.util.ArrayList;
    import java.util.List;

    import org.lwjgl.LWJGLException;
    import org.lwjgl.input.Keyboard;
    import org.lwjgl.input.Mouse;...
Results 1 to 17 of 17