Search:

Type: Posts; User: Ecen

Search: Search took 0.08 seconds.

  1. Replies
    4
    Views
    3,886

    Re: Illegal Argument Exception: input == null

    The weird thing is that the .jar does work after I added the extra "catch" part after the ImageIO.read() so while it does indeed seem like my path would not be valid when I've exported the jar, it...
  2. Replies
    4
    Views
    3,886

    Illegal Argument Exception: input == null

    So, I'm creating a card game. To create the background image I create a level class from a bunch of different tiles. These tiles are selected from scanning a .png image: depending on the colors of...
  3. Replies
    0
    Views
    1,463

    Calculation of Reflection Angle

    So, I'm writing somewhat of a 2D physics engine to simulate the movement of a ball. Part of that is to make sure that the ball bounces correctly when it collides with any line.

    The speed of the...
  4. How to properly write Class Diagrams, Function descriptions and flowcharts?

    Hello!

    I'm on an assignment to create a java program with certain specifications.

    The first thing that I have to do, is to hand in a planning of my work, consisting of "class diagram with...
  5. Thread: Ecen Silver

    by Ecen
    Replies
    0
    Views
    926

    Ecen Silver

    Hello!

    I've been registered here for some time now, and already received lots of help. However, as I will probably hang around here for some time I might as well present myself, too!

    I'm a...
  6. Replies
    13
    Views
    2,019

    Re: Getting Every Point on a Line

    Well, it seems I was able to work it out, thanks to awesome help!

    Thank you very much :)
  7. Replies
    13
    Views
    2,019

    Re: Getting Every Point on a Line

    Hm... yes, I will definitely take an even closer look at this tomorrow. I'm having thoughts about what to do when the circle is close to the edges of my line though, as the line, and ultimately...
  8. Replies
    13
    Views
    2,019

    Re: Getting Every Point on a Line

    Ah, I think I'm starting to get it now. I'm not a native english speaker so I interpreted "right angle" as "correct angle", instead of an angle of 90 degrees, which I assume is what you meant. Thanks!
  9. Replies
    13
    Views
    2,019

    Re: Getting Every Point on a Line

    I think I understand what you mean, and I also think there are trig functions enough to do that, so I will go ahead and try. It definitely seems better than my method, only problem is that I have...
  10. Replies
    13
    Views
    2,019

    Re: Getting Every Point on a Line

    Hm... I don't quite understand how I would know what point is closest by checking angles. Could you explain that more?

    The radius is of course what I'm using though. Currently I want to check if...
  11. Replies
    13
    Views
    2,019

    Getting Every Point on a Line

    Hello!

    I'm a java beginner and have recently encountered a problem that I have not been able to solve or find a solution to.
    Hopefully this is also in the correct sub-forum.

    In my program I...
  12. Replies
    10
    Views
    1,540

    Re: How do I create and run a jar file?

    Ok, thanks! I will sure try that!

    Everyone here is so helpful, this has been my first thread, but I will sure stay :)
  13. Replies
    10
    Views
    1,540

    Re: How do I create and run a jar file?

    Ah, ok. Thanks! I might try that!
  14. Replies
    10
    Views
    1,540

    Re: How do I create and run a jar file?

    Thanks KevinWorkman and Elamre too! I did get it to work though and it runs just fine on my and most of my friends computers.

    However, when one of my friends tries to start the file from the .bat...
  15. Replies
    10
    Views
    1,540

    Re: How do I create and run a jar file?

    Ah, so it's supposed to be simple. It would seem I managed to get it to work now when exporting it as a runnable jar. It was then just run it with the proper command. Sadly I must have missed doing...
  16. Replies
    10
    Views
    1,540

    How do I create and run a jar file?

    Hello!

    I'm just starting out with programming and Java is my first language in which I code. However, while the coding itself is advanced but relatively easy to find information about I have had...
Results 1 to 16 of 16