Search:

Type: Posts; User: hobbles

Search: Search took 3.40 seconds.

  1. Replies
    5
    Views
    729

    Re: Help With Diamond Square Terrain

    What's the best way to do this for a tile based game while I need smoother hills and such. Would doing diamond square normally between 0 and 1 be good then converting the height over by multiplying...
  2. Replies
    5
    Views
    729

    Re: Help With Diamond Square Terrain

    Cool I didn't know you could do that with an array very useful. I'm looking into it now, thanks alot man.

    After using "System.out.println("map="+java.util.Arrays.deepToString(map));" I found out...
  3. Replies
    5
    Views
    729

    Re: Help With Diamond Square Terrain

    I'm still having problems with the square/ diamond looking artifacts in the output. Is it because I'm not progressively making the noise value smaller? I've been trying to think of a way to do this...
  4. Replies
    5
    Views
    729

    Help With Diamond Square Terrain

    This code may be difficult to understand but basically I'm just trying to do the diamond square algorithm to make some terrain for a tile based game. I never found an example of this for a tiled game...
  5. Re: Problems with Double Buffering -- BufferStrategy

    Can you show what a bare application setup would look like for a 800,800. Maybe if I can see how some one has made a window with no errors I can see what I'm doing wrong. If there is a example in...
  6. Re: Problems with Double Buffering -- BufferStrategy

    Sorry I'm gonna need you to elaborate a little more.

    I changed this since I don't think I actually need JPanel. It fit the fillRect to the screen right for some reason but the cords for the string...
  7. Re: Problems with Double Buffering -- BufferStrategy

    Everything is still shifted up and to the left leaving a white reversed L on the right side. Anyone got any idea of whats going on I put the project on my bros computer and it does the same thing....
  8. Re: Problems with Double Buffering -- BufferStrategy

    Woah woah woah I moved my drawString() to 50 , 50 and its there everything isn't being placed properly. Is there a reason for this? I thought the white on the edges were kinda weird.
  9. Problems with Double Buffering -- BufferStrategy

    Alright I have programmed in Java many times and made games before but I always made applets so this is my first time using JPanel/JFrame. I have gotten everything underway and have been stuck on...
Results 1 to 9 of 9