Mythran: You're welcome!
@guy, on Apr 14 2006, 07:07 PM, said in Custom Nova ships in EVNEW:
(EDIT): Okay, just had look at the plug you posted and it appears the mask of the sprite is identical to this one which would imply that EVNEW created it itself and didn't use the one you made. So in fact your plug is fine, except you should deleted the "mask" rleD. Rles have built-in masks so the mask field in spins and shans is ignored.
This is troubling -- is EVNEW actually using the mask files given to it, or does it just throw them away and generate its own by trying to detect the background in the sprite image files? A readme for EVNEW is on Azzy's EV: Nova Page. Its section on rle8 / rleD resources says:
Quote
....You can import graphics into (an rleD) from an image file that contains all the frames layed out in a grid, or you can import the frames one by one from seperate files. When you select File -> Import, enter the width and height of each frame, the number of frames across a row in the image file, the number of frames down a column in the image file, the number of frames to import from the file, and the 1-based index that the frame in the upper-left of the image will be loaded as. For example, if you have 108 frames for a ship layed out in three separate files, where each file contains a 6x6 grid of 100x100 sprites, you would do three imports. You would set Width and Height to 100 and X Frames and Y Frames to 6 for all three imports. For the first file, you'd enter 1 as the first frame, For the second, you'd enter 37 as the first frame, and for the third you'd enter 73 as the first frame. You'd enter 36 as the number of frames for all of them. You then do likewise for the masks....
If I understand the last line of this quote, then, mask files are required input. This is the readme for "Public Beta 1.0.3," though, and I don't know whether a more recent version may be handling things differently (Does your readme match this, Mythran?). The readme could also simply be wrong....
Also note that the readme says that you can import frames one-by-one! Mucking around with creating grids in Photoshop may not be necessary after all.
EDIT : Hm. Just got the EVNEW 1.0.4 readme. It adds this:
Quote
- RLE masks are now automatically generated after imports, using black as transparent pixels (but masks can still be imported separately, too)
If you use automatic mask generation, you won't be able to have true blacks (or whatever color you designate as transparent) in your image, I surmise. If you want to avoid black(ish) fringing, you'll have to change to true-black all the near-black pixels that are adjacent to true-black.
This post has been edited by Dr. Trowel : 15 April 2006 - 11:25 AM