User Profile

Collapse

Profile Sidebar

Collapse
PeterDoh
PeterDoh
Last Activity: Jul 31 '08, 01:40 PM
Joined: Jul 31 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • PeterDoh
    replied to Make this packer to work?
    in Java
    thats the thing, he just gave me the packer source (wich will pack the sprites)

    and:
    "Ok you will need to make a file with this named Sprites.Tx"
    Code:
    sprites.put(1370, createSprite(new File("./new/1370.png"), true, 6, 2, 41, 29));
    "Basicly this is what makes ur png into rsc format for sprites
    6, 2, 41, 29
    6 > xshift
    2 > yshift
    41 > something1...
    See more | Go to post

    Leave a comment:


  • PeterDoh
    started a topic Make this packer to work?
    in Java

    Make this packer to work?

    im in the creation of an sprite packer for a game, but i can't get it to run?
    a friend sent me the source for it, so i have no idea what to do from this?
    so far:
    Code:
    import java.io.File;
    import java.io.IOException;
    import java.io.FileOutputStream;
    import java.io.BufferedInputStream;
    import java.nio.ByteBuffer;
    import java.awt.Toolkit;
    import java.awt.Graphics;
    import java.awt.Image;
    ...
    See more | Go to post
No activity results to display
Show More
Working...