AnnaC wrote:The majority of players will just see flat red boxes anyway.
y1yr wrote:If I possessed the means, if so, purchase the program for 2d animation, I try to do it.
public class Anim extends Layer {
private int[] ids;
public int id, d;
public Image[][] f;
public Anim(byte[] buf) {
id = Utils.int16d(buf, 0);
d = Utils.uint16d(buf, 2);
ids = new int[Utils.uint16d(buf, 4)];
if(buf.length - 6 != ids.length * 2)
throw(new LoadException("Invalid anim descriptor in " + name, Resource.this));
for(int i = 0; i < ids.length; i++)
ids[i] = Utils.int16d(buf, 6 + (i * 2));
}
public void init() {
f = new Image[ids.length][];
Image[] typeinfo = new Image[0];
for(int i = 0; i < ids.length; i++) {
LinkedList<Image> buf = new LinkedList<Image>();
for(Image img : layers(Image.class)) {
if(img.id == ids[i])
buf.add(img);
}
f[i] = buf.toArray(typeinfo);
}
}
}
public Image(byte[] buf) {
z = Utils.int16d(buf, 0);
subz = Utils.int16d(buf, 2);
/* Obsolete flag 1: Layered */
nooff = (buf[4] & 2) != 0;
id = Utils.int16d(buf, 5);
o = cdec(buf, 7);
try {
img = ImageIO.read(new ByteArrayInputStream(buf, 11, buf.length - 11));
} catch(IOException e) {
throw(new LoadException(e, Resource.this));
}
if(img == null)
throw(new LoadException("Invalid image data in " + name, Resource.this));
sz = Utils.imgsz(img);
}
Tj2u1 wrote:A 6 stage animation for the taller vegetation would not be likely to do harm to anyone's computer,unless your computer is made of cardboard with holes punched in it.I had a cowpat computer once,it ran more complex and many numerous things simultaneously then trees swaying in the wind. But if your still hung up on that,why not make some kind of code that makes wind blow and it effects only some of the trees and not all of them.
Potjeh wrote:They're using swords as throwing weapons now? Damn cheaters!
MagicManICT wrote:Most raiders aren't into choking another man's chicken. They can do some pretty gay shit, but that's usually the line.
Shadow7168 wrote:Oh god, imagine the amount of lag wheat fields would have...
Users browsing this forum: Claude [Bot] and 4 guests