Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Lighting System(PLEASE READ!)

Ok, so i'm making the horror game(BTW, i got the title screen!)
And i'm having a slight problem....
I'm using the lighting effects(Where its a circle around the character and everything else is black) and for some reason it isn't following me?
Example:

ScreenHunter_02Feb011925.jpg


It isn't following my character, which is ruining it!

Thanks ahead of time, for answering! :haha:
 
The way I've done it is pretty simple-- a Picture of darkness surrounded by light, and a parallel-process event that constantly Shows that picture at the player's Screen X and Y. (It has to be Screen X and Y, or you get the problem shown above.)
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top