|
Post by davidzx on May 8, 2020 19:14:14 GMT
Hello,
I'm currently working with 24 height sprites and I'd like to know if it's possible what I'm trying to do
The main sprite can duck and walk. The goal is to go through a tunel (16 height) so im using walls as custom blocks, is there a way to check the type of each three blocks being touched by the sprite?
(Something like getblock in mpagd)
Thanks
|
|
|
Post by alessandro on May 8, 2020 21:40:01 GMT
You can check a sprite's contact with deadly and custom blocks with IF DEADLY and IF CUSTOM.
In addition to that, you can also check the sprite image, for instance if the ducking sprite image is, say, sprite number 3, you can check what happens in that case with IF IMAGE = 3.
|
|
|
Post by davidzx on May 9, 2020 10:14:54 GMT
Thanks Alessandro, but I really need to know the type of a block at location x,y. It would also be useful a way to get a property from a block (or an object) given its coordenates
|
|