User Profile

Collapse

Profile Sidebar

Collapse
silverblimp
silverblimp
Last Activity: Mar 9 '08, 11:47 AM
Joined: Mar 5 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • silverblimp
    replied to volfied applet
    in Java
    the tutorial helped a lot. thanks.
    im using Buffered image and it runs a lot faster. not perfect but a lot better.
    See more | Go to post

    Leave a comment:


  • silverblimp
    replied to volfied applet
    in Java
    public void drawmat(Graphic s gr){
    gr.setColor( Color.green );

    for (i=26;i<matsize-1;i++)
    for (j=26;j<matsize-1;j++)
    {
    if (dmat[i][j]==1)
    gr.fillRect( j, i, 1, 1 );
    }
    }

    this is the code and im looking at the tutorial mentioned.
    the problem is mainly that im redrawing the game board again and again when i dont have to as im working...
    See more | Go to post

    Leave a comment:


  • silverblimp
    started a topic volfied applet
    in Java

    volfied applet

    im making the game volfied(or xonics whatever version you know of it) as a java applet.
    the short version is that i have an array of 500x500 that emulates the playing field where theres a '1' the pixel corresponding on the playing field should be a different color and where theres a zero its the defualt white.
    problem is that painting pixel by pixel with drawrect(x,y,1, 1) is absurdly heavy
    with that big of an array and it makes...
    See more | Go to post
No activity results to display
Show More
Working...