-raffie- wrote:
PyroMan wrote:
New pyroweaps_graphics lib will be less than 200 Kb! (compare to current 2000kb)
I'm curious to know how u did this? Same graphics? Or use WA graphics instead of custom ones?
Script-based animations wthat uses only ONE FRAME png!!! And renders animation of picking weapon, aiming and also animations of rotating bullets with same available parameters: cicle, track movement, fast cilce, horiz velocity etc. All those animations rendered for each worm state (as u know sprites has 3 variations: p, u, d).
This saves over 90-95% (!!!!!) of grapgics lib filesize and frees from boring photoshop work and stupid rotations in photoshop each frame. Its in the past! And still, if your sprite animated for bullet - that animation will be still running!
Well a lot of tricks available thtere. I will tell more detailed about with releasing that library. U can even draw some hat to worm witht 1 frame file and 1 min adjusting script! All examples for different weapon situations and explanation step by step will be there. So stay tuned !!!