Reply to Re: Warp-bug found and fixed
If you don't have an account, just leave the password field blank.
September 21st 2012, 12:14 PM
shevek
Type 0 sprites can have hardness and warp properties.
They can? That's just weird. Ok, the hardness I can understand; there's a hardness map created at draw_screen, so that can include information from background sprites. Making warps work sounds just crazy, but well, nothing should surprise me when it comes to Dink's source code.
You can't give a type 2 sprite a script
Oh right. I always forget, what I describe is what I want them to be, but it doesn't actually work that way. Instead, you need to set the disabled property, which can only be done from a script. Which makes invisible sprites (as opposed to disabled) pretty useless IMO.
Are you sure they're not essentially the same thing?
Could be. I'm always hoping they're the same as type 1, but they certainly aren't, indeed.
They can? That's just weird. Ok, the hardness I can understand; there's a hardness map created at draw_screen, so that can include information from background sprites. Making warps work sounds just crazy, but well, nothing should surprise me when it comes to Dink's source code.
You can't give a type 2 sprite a script
Oh right. I always forget, what I describe is what I want them to be, but it doesn't actually work that way. Instead, you need to set the disabled property, which can only be done from a script. Which makes invisible sprites (as opposed to disabled) pretty useless IMO.
Are you sure they're not essentially the same thing?
Could be. I'm always hoping they're the same as type 1, but they certainly aren't, indeed.