For example, in this, how can i get the boats front and back overlays to shift when the boat changes direction?
Do i have to delete and remake the overlays every time the boat moves or something?
obj/Boat
icon = 'Boat.dmi'
icon_state = "Middle"
New()
overlays += image('Boat.dmi',icon_state = "Front", pixel_x = 64)
overlays += image('Boat.dmi',icon_state = "Back", pixel_x = -64)
Test()
proc
Test()
walk_towards(src,locate("Destination"),5)
and set your front icon as North & back icon as South