Sprites are small
November 25th, 2008
| Tags:
In version 2.0, sprites memory consumption will be shrinked considerably and I really mean shrinked. If you don’t use any fancy features for the sprite, it will take around 80 to 100 bytes instead of approximately 15076 bytes. Fancy sprite features will be split down into categories to lessen memory consumption.
- Base sprite properties
- Animation properties (ex: frames, animspeed, ….)
- Rendering properties (ex: alpha, tint, clipping, color, …)
- Physic properties (ex: mass, elasticity, friction, …)
- Collision properties (ex: collideleft, collidetop, collideright, collidebottom, id, collide, grid, …)
- Ai properties (ex: aispeed, procedure, …)
- Advanced properties (ex: offsets, auto offsets, tiling, alternate frames, isometric, cost, lfetime, user data, …)
You won’t have to change anything in your code, it will all be handle internally without much speed hit.



This is definitely a great addition……or subtraction
SO will this work on the DS as well (can’t blame a man for trying!)
@ Leginius: *LOL*
@ Kornalius: this is a good thing to hear, using lots of sprites could get one into trouble easily with ver 1.xx