Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shadow Removing
#1
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Hey guys I have a script here that will remove shadows like from buildings or objects. I hope you enjoy the script for what ever reasons you man need it. But make sure you put this script above the Main script.

Code:
# Shadow Remover!

class Game_Map
  alias gamebaker_goodbyeshadow_oldsetup setup
  def setup(*args)
    gamebaker_goodbyeshadow_oldsetup(*args)
    goodbye_shadows
  end

  def goodbye_shadows
    for x in 0...$game_map.data.xsize
      for y in 0...$game_map.data.ysize
        if $game_map.data[x,y,0] >= 4352
          $game_map.data[x,y,1] = $game_map.data[x,y,0]
          $game_map.data[x,y,0] = 0
        end
      end
    end
  end
end
}




Users browsing this thread: