Sprite problems.
Sprite problems.
Some people might remember that I was working on a mod, I haven't done anything the last half year but I still want to finish it. I have created a new Keen sprite but for some reason the crashes and it messes up al the other sprites when I install it. Is someone here interested in helping me a bit with installing graphics and giving me some comments on the things I've already done? :)
Ah, hi Djaser, glad to hear you're talking about that mod. I sure remember you told sometime that you were making a mod! :) Nice to hear you're going to finish it, I have sometimes wondered what has happened to that project..
Make sure your sprite width (if I remember correct) is possible to divide with 8. If I remember correct, height doesn't need to be like that..
Then, the other two boxes - the one in the middle is used only for defining what should be drawn from the first box, and the last box is collision detection box. It's rectangle based, so don't try to draw there other shapes!
Try to look at the way that stuff is done with original Keen sprites.
Drawing good sprites is hard (for me, at least) and annoying - but it's worth of it!
Hope you manage to do it!
Make sure your sprite width (if I remember correct) is possible to divide with 8. If I remember correct, height doesn't need to be like that..
Then, the other two boxes - the one in the middle is used only for defining what should be drawn from the first box, and the last box is collision detection box. It's rectangle based, so don't try to draw there other shapes!
Try to look at the way that stuff is done with original Keen sprites.
Drawing good sprites is hard (for me, at least) and annoying - but it's worth of it!
Hope you manage to do it!
You don't necessarily have to redo your sprites, Djaser. You could create a sprite that's 10, 13, or 27 wide if you wanted to, all you'd have to do is make sure that the box that that sprite is in is divisible by 8 in its width. So a sprite 13 pixels wide would be in a box 16 wide, and the whole graphic would be 16 x 3 = 48 wide.
I've noticed that it's best to keep all the drawings for your sprites within the same sized box. So don't have Keen doing his walking animations in a box that's 24 x 16, and then have his pogo stick animations in a box that's 32 x 24. It helps in the long run for clarity.
And as for the height thing, sprites can be a non-8 number in their height. In Lego Keen, I needed a little extra space, so all of Keen's level animations were 25 high (except for the dying one).
I've noticed that it's best to keep all the drawings for your sprites within the same sized box. So don't have Keen doing his walking animations in a box that's 24 x 16, and then have his pogo stick animations in a box that's 32 x 24. It helps in the long run for clarity.
And as for the height thing, sprites can be a non-8 number in their height. In Lego Keen, I needed a little extra space, so all of Keen's level animations were 25 high (except for the dying one).