Loading

Paste #pfqjsa9ma

  1. Different sprite file for each sprite "seq(1..4, 1)" gets expanded to "1", "2", "3", "4"
  2.  
  3.         (se, sw, nw, ne): spritefiles {
  4.             x_base: 0; y_base: 0;
  5.             file: "../sprites/objects/1x1/template/64_0000{seq(1..4, 1)}.png";
  6.             x_offset: -32; y_offset: -33; width: 64; height: 64;
  7.         }
  8.  
  9.  
  10. 256 sprites in 4 lines :)
  11.  
  12.         (car_p{vert(0..15)}r0y{hor(0..15)}) : sheet {
  13.             file: "../sprites/tracks/cars/template_allangle8bpp64.png";
  14.             x_base: 0; y_base: 0; x_step: 64; y_step: 64; y_count: 16;
  15.             x_offset: -32; y_offset: -39; width: 64; height: 64;

Comments