The Dink Network

Reply to Re: Resizing sprite

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
June 5th 2016, 04:57 PM
burntree.gif
I used to do it that way more too. I actually find it more convenient to use the editor, but create_sprite works great for NPCs.

Where I have run into occasional problems is with dynamically created hard sprites. I've noticed that sometimes the hardness doesn't get drawn correctly. It was an intermittent problem. It would work properly 80% percent of the time (or so), but other times dink could walk right through it. It would draw only partial hardness. But if I made the sprite hard in the editor and invisible with a script, the hardness would always work 100% correctly. Then I can remove the sprite's hardness with a different script addressing the sprite with the sp() function. I don't know why the draw_hard_sprite() function failed at times in freedink, but it did. Only once in a while though, but I found it unreliable. It works great for removing hardness though. Well that's been my experience anyways.