quick question if i make a say 96x96 icon and make it so when it bumps into stuff it does damage, will all the boxes of the icon be bumpable? or only a small corner?. Also is it possible to set a pixel based bounding box on the icon even though it doesn't use pixel based movement
Jun 18 2012, 6:36 am
|
|
i would suggest you make a turf, and when it is entered by someone it takes away the damage necessary, apply the turf on to the picture via map. and Yes is it to your seconds question.
|
When you don't use pixel movement, you can only set the bounds variables to multiples of your icon_size. Everything moves on tiles and collides with whole tiles.
Of course, you could use workarounds and do what we used to do before native pixel movement. That is, make your own pixel movement, or use a library like Pixel Projectiles. |