ER
2016-08-27 23:08:03 UTC
Hi -
The game I'm working on everything, (tiles, characters) are 32x32
which is fine. However then
weapon that is "thrown" is not 32x32 it causes Out of Bonds exception
when it checks the grid/map to
see if it hits anything (i.e a wall). Now if I make the weapon 32x32,
which makes for a rather large knife
type weapon, all is good and happy.
So if I want to make the weapon smaller than 32x32 how do I handle it
in a 32x32 world ?
Thanks
_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>
List Help: <***@xojo.com>
The game I'm working on everything, (tiles, characters) are 32x32
which is fine. However then
weapon that is "thrown" is not 32x32 it causes Out of Bonds exception
when it checks the grid/map to
see if it hits anything (i.e a wall). Now if I make the weapon 32x32,
which makes for a rather large knife
type weapon, all is good and happy.
So if I want to make the weapon smaller than 32x32 how do I handle it
in a 32x32 world ?
Thanks
_______________________________________________
Unsubscribe by sending a message to:
<nug-***@lists.xojo.com>
List Help: <***@xojo.com>