Search:

Type: Posts; User: Johannes

Page 1 of 3 1 2 3

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    4,250

    Re: Where to start to make a 2d game?

    There is this little framework that can be used to play around and have fun. The overhead is some the simplest in any game framework I have seen.

    JGame: a Java/Flash game engine for 2D games
    ...
  2. Thread: Minecraft

    by Johannes
    Replies
    2
    Views
    2,870

    Re: Minecraft

    I do believe that Notch used lwjgl game framework, which in turn uses a 1:1 (almost) implementation of c interface to opengl.

    So this is how your learning path would probably look like.
    - Java...
  3. Replies
    2
    Views
    2,656

    Re: Sum of series program logical error

    You have a ton of problems with syntax but that aside your logic problems stems from messy seperation of what each loop does.

    Outer loop: adds 2 to the term, adds the fac result to the output...
  4. Replies
    3
    Views
    1,983

    Re: A little game framework gem

    Sure will, but progress is very slow due to school comming first, and we are busy lately.
  5. Replies
    3
    Views
    1,983

    A little game framework gem

    Just stumpled upon a little game 2d game framework. So if you have a great idea for a game, but cant/wont implement it through standard channels, you should check it out:

    JGame: a Java game engine...
  6. Thread: Java Book

    by Johannes
    Replies
    5
    Views
    2,144

    Re: Java Book

    I did Java blueJ, which I liked for a number of reasons, most important one being, it comes with its own ide, BlueJ. This seriously reduceses overhead before getting to actually program stuff, and...
  7. Replies
    6
    Views
    1,429

    Re: VM re-evaluating a string

    Yeah thats what I ended up with, a switch case followed by 2 different regex, one for "normal" escapes and one for octals, then followed by other switches. I just thought it would be more elegant to...
  8. Replies
    6
    Views
    1,429

    Re: VM re-evaluating a string

    //String at exe //Wanted Result
    \b (backspace)
    \\ \
    dasfasdf\\addaf dasfasdf\addaf


    But since the string at execution is already escaped, I cant figure out how to do it...
  9. Replies
    6
    Views
    1,429

    Re: VM re-evaluating a string

    I want the compiler to do escaping one more time.

    Take string "\\b"
    Do escaping -> "\b"
    Take string "\b"
    Do escaping -> 'backslash' (escape symbol)

    The reason being Im trying to make my own...
  10. Replies
    6
    Views
    1,429

    VM re-evaluating a string

    First of, sorry for the poor title, I dont know how to describe it in a better way.

    My problem is as follows. I have a string where I need to do the vm's escape evalutation twice.

    One time...
  11. Replies
    5
    Views
    3,915

    Poll: Re: Your prefered Java GUI API?

    You my good man, are quite mad! fixing for old versions ie, will break your brain. True story
  12. Replies
    13
    Views
    10,063

    Re: Balloon.java, what in the world do i do?

    Hello toterzuko

    I think you really need to go over course material or the lecture again. The mistakes you have made shows, that you are off on the very fundamentals of java. This will haunt you in...
  13. Replies
    20
    Views
    8,401

    Re: Creating a Compiler in Java

    Im doing a compiler class right now at uni, and the dragon book is core material. Pretty tough reading, but you really cant do a compiler without it (or a similar book).

    I can safely say, that...
  14. Replies
    5
    Views
    2,611

    Re: Game Development Career

    I dont understand, are you planning further education, or do you want to get straight into it? I would suggest collage (computer science) first, then thinking about what you wonna do.

    In denmark...
  15. Thread: Hello

    by Johannes
    Replies
    4
    Views
    1,013

    Re: Hello

    Hello Varial.

    Programming is like most everything else in life, some people can just do it very well right of the bat, the rest of us has to grind grind grind to get any good.

    Here is what I...
  16. Replies
    3
    Views
    2,512

    Re: Adding panels to a central panel.

    The 17x17 panels represents part of a gameworld, which is made up of a large 2d array of Tiles.
    So it reads from the large array, if a certain tile holds a Monster or a water or whatever.
    If the...
  17. Replies
    3
    Views
    2,512

    Adding panels to a central panel.

    I have to a lot of sub-panels to a larger 17, 17 gridlayout panel. However a lot of the panels I want to add, are the same. I have gotten the code to work, but only when a new instance of the same...
  18. Replies
    6
    Views
    4,966

    Re: simple java help needed

    Hello Miss Concfused

    Here is an example of what I like posts requesting help to look like.

    First post your code, either the whole thing, or the specific problem area. You did so in this case,...
  19. Replies
    1
    Views
    1,466

    Re: Grabbing info from Java game

    Even if you managed to decom the code, how would you pull data out of it? Can only be done with very sloppy and unencapsulated code, which I must assume pro game programmers do not make.

    Afaik the...
  20. Replies
    9
    Views
    1,486

    Re: A Java Clusterbomb

    After having a closer look at your code, I have been able to take out most of the mistakes. However, 3 remains, since you use an undeclared or initiated variable e


    else if (e.getSource() == ...
  21. Replies
    4
    Views
    1,438

    Re: Object as Reference not working

    Dont know if this has been answered or not, but you are using local variables, and expecting a global change. You have to either make i global, or change within the main method
  22. Replies
    4
    Views
    3,149

    Re: Future of Java

    Oracle is a huge player in the database vendor world, soo them sticking to java garantees that there will be java jobs in the future. IBM's db family also works perfectly well with java, so in the...
  23. Replies
    1
    Views
    3,639

    Re: ArrayList Boolean Issue

    Your structure seems a little confusing.
    First of, you should generaly aim to avoid using static fields and objects. While it is usefull at times, OOP is exactly aiming to avoid this as much as...
  24. Re: CashRegister class- adding a method getItemCount

    You could introduce a new field called count. Adding an item to the items purchased increments the variable, while bying sets it to 0.
  25. Replies
    4
    Views
    14,969

    Re: cosine in java

    Do you need to make an implementation, or do you just need a cosine function?

    If you just need cosine for somthing else, then check the Math class. It contains a cos method.
Results 1 to 25 of 53
Page 1 of 3 1 2 3