Solarus Forum

Solarus => Development => Topic started by: Starlock on November 23, 2017, 06:08:43 am

Title: How do drawables work
Post by: Starlock on November 23, 2017, 06:08:43 am
I'm trying to make a sort of mirror using a sensor that enables a sprite using the hero sprite. I want to keep the hero sprite only within the box of the mirror and to not show any of the sprite outside of the mirror and drawable:draw_region() sounds like its something that could work, but I'm not exactly sure how to use it.