Jump to content

Photo

Attach sprite to invisible enemy?


  • Please log in to reply
1 reply to this topic

#1 Cukeman

Cukeman

    "Tra la la, look for Sahasrahla. ... ... ..."

  • Banned
  • Location:Hyrule/USA

Posted 10 July 2016 - 02:06 PM

I have an animated enemy (which moves around) that I want to use a single sprite for (with no animation). Would it be possible to have a script draw that sprite over the enemy? I could then go in and delete the original tiles so that enemy's actual sprite would be invisible.


Edited by Cukeman, 10 July 2016 - 07:33 PM.


#2 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 17 July 2016 - 05:37 AM

You can do Screen->DrawTile(...) over it, but you will need to decide what tiles you desire to draw. I know that Link->Tile returns rubbish datum when Link->Invisible is set true, and invisible enemies may be the same. Cloaked enemies use their true tile, with a different DrawStyle, IIRC, but fully invisible...not sure at all.

You can also always place any other object that has a sprite at the x/y of the npc if you only need a simple animation.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users