Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -

Post new topic Reply to topic  [ 2 posts ] 
  Wed Aug 26, 2015 8:16 pm
User avatar

Sewer Rat

Location: At my desk ;)
Hello guys!

So I'm working on a 2D Roguelike game in RPG Maker XP, this is where I was then I started a post only 30 minutes ago.


I was requesting help for making Tile Based Lighting, with a ray factor to allow the light to pass through only open space and over objects but not through pillars or walls and even doors.
because obviously this would take away the element of surprise or fear in a dungeon of the unknown.

I was looking for Something more similar to this, and was unsure of how to go about it.

I was not 100% sure how to accomplish this, and was in dire need of help!

But laughingly directly after I was about to post this I was writing up an example of what I might need. and what do you know.. the sample was the solution xD! I am now happy to show you ray based, tile based lighting:


The system also has the ability to allow me to "peak" through doors so that you can see into the room on the other side and check for monsters while 100% un-seen :) (of course this will only work with key-whole or windowed wooden doors.)

This script may also have other applications, I still need to work on encountering other lights because I'm currently only drawing for the player, but once I do ill touch base again. If this is in the wrong section I'm sorry <3

Thanks for being awesome and checking this out It seems I fixed my own problem and did not want to just not post about it (made me feel pretty rad ;P)




Finished merged lighting, and made your torch flicker :)

Also starting on inventory

Check out my blog for more scripts and info

Top Top

  Fri Sep 11, 2015 1:55 pm
User avatar

Big Dumb Guy
Oh, that's pretty awesome! I love how you get different distances depending on your line of sight.

Top Top
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Who is online

Users browsing this forum: No users and 30 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

We are an independent, not-for-profit game making community.
Board Index
About Us
Downloadable Games
Free Browser Games
Games in Development
RPG Maker Support
Game Maker Support
Construct 2 Support
HBGames the eZine
Advanced RPG Maker
Site Announcements
Powered by phpBB © phpBB Group