LIGHTING QUESTION
Posts
Pages:
1
Hey, I just had a question about some complex lighting effects.
I made a map, and made a bitmap representation of it so that I could create a new layer of light to overlay.
So I made sunbursts over where lanterns are in the map display it as a semi transparent picture, and the effect works nicely, however the placement of the picture depends on where you enter the area. There are a dozen entrances to this cave, and I figure there has to be a quicker way to code the picture set up other than trial and error pixel by pixel for each teleport event.
There is probably a simple solution that isn't occurring to me. I hope I made my situation clear.
Has anyone ever experienced a similar issue?
I made a map, and made a bitmap representation of it so that I could create a new layer of light to overlay.
So I made sunbursts over where lanterns are in the map display it as a semi transparent picture, and the effect works nicely, however the placement of the picture depends on where you enter the area. There are a dozen entrances to this cave, and I figure there has to be a quicker way to code the picture set up other than trial and error pixel by pixel for each teleport event.
There is probably a simple solution that isn't occurring to me. I hope I made my situation clear.
Has anyone ever experienced a similar issue?
You need to check the tab 'Picture scrolls with Map' in the Show/Move Picture command. Once you've done so, manually enter the image coordinates, and it should work fine! =]
Exactly what Blindmind said. Not much else I can add to that other than if you're really unsure on how to position it, check a few games that use them (such as Muse ( http://rpgmaker.net/games/902/ ) or Ruptured Souls ( http://rpgmaker.net/games/794/ )), and try and figure out how they do it.
This is a few days old, but I'd like to clarify the response, in case it hasn't worked.
If I'm understanding correctly, he already has check the Picture Scrolls With Map. The problem is, the picture is drawn at screen-relative coordinate position (160, 120), but depending on where in the map you enter, it's a different place in relation to the actual coordinates of the map.
And there is an easier solution. I'll show you what I did.
http://img696.imageshack.us/img696/6152/picturea.jpg
Make an event like that (ignore the other pages of the screen; they were for alternate coloring) and you just have to do trial and error with that event as to where it should be placed to sync up with the map. Somewhere near the center. You could calculate it if you want, but it was easy enough to just wing.
If I'm understanding correctly, he already has check the Picture Scrolls With Map. The problem is, the picture is drawn at screen-relative coordinate position (160, 120), but depending on where in the map you enter, it's a different place in relation to the actual coordinates of the map.
And there is an easier solution. I'll show you what I did.
http://img696.imageshack.us/img696/6152/picturea.jpg
Make an event like that (ignore the other pages of the screen; they were for alternate coloring) and you just have to do trial and error with that event as to where it should be placed to sync up with the map. Somewhere near the center. You could calculate it if you want, but it was easy enough to just wing.
Yeah, I'm glad you knew what I meant. I did end up doing different coordinates for each event. I didn't even think about the variables option, I'll have to try that next time.
post=115901
check a few games that use them (such as Muse ( http://rpgmaker.net/games/902/ )
welp!
:D nickad i love you
Pages:
1

















