So I have this new collection of an archer
but somehow when I try to do the flying sequence of the arrow it sucks...
It looks like a static arrow flying straight
I went into the Myth bowman collection and I see it's treated as a texture???
and there's only one sprite in it , 1 frame 1 view of an arrow...
so how do they make the arrow fly and appear smaller when it's falling from just this bitmap...
What would I need sprite wise to do a flying arrow?
How would I do it?
Or if I copy the arrow of the bowman collection and I use that projectile for my unit...
How can I make the sequence last longer so they can shoot from far away and the range is not limited to the bowman 20 worldunits longer range?
Somehow I changes the range to 40 but it still keeps on shooting from a close range...
thanks!!!!!!!!!!!
carlinho
Archer arrows sequence - How do you do....
It's also worth mentioning that the arrow itself can be any size, but it's bitmap must have dimensions that are a power of two. So, if your perfect arrow is 119 x 21 pixels, for example, you can just place that on a solid background color that is 128 x 32 pixels. Then when you idex the bitmap, just set the background color to be transparent (by making it the third color in the color table) that way all you'll see in game is the arrow without the background color. Is that clear as mud?
Mauglir
Right on!!!!!
I had no idea about pair of 2 sizes, so thanks a lot!!!!!
still I have no idea how they make the arrows smaller and falling with perspective from 1 bitmpap that's treated as a texture..???
and why a texture??
what does it tell to the myth engine and where does the animation for the arrow flight come from?
thanks guys!!!
carlinho
I had no idea about pair of 2 sizes, so thanks a lot!!!!!
still I have no idea how they make the arrows smaller and falling with perspective from 1 bitmpap that's treated as a texture..???
and why a texture??
what does it tell to the myth engine and where does the animation for the arrow flight come from?
thanks guys!!!
carlinho
You need to make sure that the plain background for the arrow bitmap is the transparent colour (the third colour in your colour table). Once you have the power of two dimensions and the transparent background the image should appear as type 'RAW' in the bitmap list, it can now be selected as a texture (sprite that can be aligned 3 dimensionally).
If it still won't import as 'RAW' then try making sure the dimensions are also identical (ie 32 x 32, 64 x 64, 128 x 128) I've had trouble sometimes and having the dimensions identical has fixed it.
If it still won't import as 'RAW' then try making sure the dimensions are also identical (ie 32 x 32, 64 x 64, 128 x 128) I've had trouble sometimes and having the dimensions identical has fixed it.
Damn...it seemed really easy...but somehow it's not working...
so I do this arrow 60 by 60 size, and the colour table shows blue as 3rd colour(although somehow I've been using all my new units with blue as the first colour??? I don't get it..
and then I import the bitmap into amber and ....still when I open a new sequence and I add that bitmap I still can't select it as texture...sigh...
maybe it's the way I import it...
As for the colour table I tried both ways...blue as first and blue as 3rd but still same thing...no texture...buahh!
help...thanks!
carlinho
so I do this arrow 60 by 60 size, and the colour table shows blue as 3rd colour(although somehow I've been using all my new units with blue as the first colour??? I don't get it..
and then I import the bitmap into amber and ....still when I open a new sequence and I add that bitmap I still can't select it as texture...sigh...
maybe it's the way I import it...
As for the colour table I tried both ways...blue as first and blue as 3rd but still same thing...no texture...buahh!
help...thanks!
carlinho