is there a minimum actor footprint? if so it's really big.

pjnolenpjnolen Member Posts: 152
edited November -1 in Working with GS (Mac)
Trying to make a small npc for the player to shoot but even though my actor is 5x5 it's still getting hit if I shoot at it from at least 15x15, the bullet hits air near the npc and counts as a hit. Does the 'size' width x height not go below a certain size? It seems to be doing it visually, but not mechanically.

Comments

  • pjnolenpjnolen Member Posts: 152
    OK, figured it out. the actor size is scaling properly, but the image size over it makes it appear to be larger. If you're using a bullet image where the bullet itself is actually say, 10x20, but the image file the bullet is in could be 32x32, when you change the size of the actor it's changing the image size. So I guess you need to make sure the item you use take up as much of the image file dimensions as possible.
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Yes indeed. At the moment, there is no pixel collision, it goes by the dimension of the file. So yes, it's best practice to have your images to the edge of the document on all sides.
Sign In or Register to comment.