1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice
  2. NOTICE: We will be applying a Xenforo update on Tuesday 25th of February. This means that from approximately 10:00 to 14:00 BST the forums will be offline (or possibly longer). Sorry for the inconvenience! Official Announcement here.

Legacy GM problems with my lights and shadow

Discussion in 'Programming' started by mortelkill, Apr 23, 2017.

  1. mortelkill

    mortelkill Guest

    Hi, i have been trying for quite some time to create lighting for one of my game, but i am not very talented with coding. Using a bunch of tutorial and a bit of work of my own i managed to craft this frankenstein monster of a lighting system but there are a few issues which i couldn' t resolve.

    the game use game maker legacy 8.1

    large drawing on the upper left part of the room can be found ,it seem to be some sort of residue which accumulate each time the room restart. If the player re-enter the room many time, it seem that the accumulation eventually cause the surface to stop working. The surface also sometime doesnt cover the entire room as it should

    The code can all be found within the objects of the lighting folder and the scripts

    thanks for the help, if possible i would like some explanation of the problem if someone does find it

    https://www.dropbox.com/s/4df4fbm0jqd1bnx/Headen.gm81?dl=0
     
    Last edited by a moderator: Apr 23, 2017
  2. mortelkill

    mortelkill Guest

    I posted the link to the file, thanks for waiting
     
    Last edited by a moderator: Apr 23, 2017

Share This Page