How to get a torchlight to reveal areas?
Like when I hover over a certain area with my cursor I want it to show the area around where the mouse is but the rest of it to be complete darkness. Is there anyway I can do this?
Thanks
Thanks
Comments
edit: wait, sorry. You were talking about using your mouse cursor?
Something like,
Constrain self.Position.X to game.Mouse.Position.X
Constrain self.Position.Y to game.Mouse.Position.Y
Thanks alot for your help so far.
Hold on, I know once an Actor reaches a certain distance outside your Scene boundaries it should automatically be Destroyed (but don't quote me on that), but having an Actor be, say 150% larger than your Screen size (not Scene size) in width and in length should be fine (I just tried it).
But then again you said it turns white, not gets Destroyed.. soo I'm thinking you're experiencing a possible bug. Are you using Windows Creator by any chance?