Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
My LOS doesn't seem to be working...
Anything to the right and bottom of a solid block will not show up.
As you can see, red blocks are walls, the blue is the player, and anything gray scale are shadow blocks.
My code:
Well, quick fix to my own problem I guess...
I just made the blocks smaller by 1 pixel, and offset the grid by 16.
NVM, The walls can stay the same size.
This may be caused by wrong collision polygons or misplaced origin image points. If this doesn't help, please post your project file.
Develop games in your browser. Powerful, performant & highly capable.
It was definitely a problem with the origin. I kept messing with things until it worked.
I also tried redoing the bounding box, and it really helped with random collisions I didn't want.
Thanks for the reply, it really helped!