Code:turf
icon='turfs.dmi'
grass
icon_state="grass"
Problem description:
it doesn't recognize the turfs.dmi file that is on my left
![]() Jul 8 2020, 5:23 pm
|
|
What exactly do you mean by "doesn't recognize"? Do you get an error when you compile? Or is it not displaying correctly when you run it?
|
Then, you either have to create it (by selecting file -> new, then make sure you have the type set to icon file!) or there's some other issue like the name. Make sure the spelling in the code matches exactly, it's easy to create turf.dmi but then write turfs.dmi in the code by accident.
|