Or "You are likely to be eaten by a grue"Balthazaar wrote:Maybe it would be better just to have them not be able to enter the cave like the cat ears quest. Pushing the player back outside and saying something like "You run outside in fear after feeling something move past you in the darkness. Better find something to light your way" etc.
minor hat with a light
Re: minor hat with a light
Re: minor hat with a light
Also we don't have a base image like that, we draw the maps in layers. Since each tile is dawn on its own, and are layed on top of each other. Their is no real way for us to see what tiles are showing.Crush wrote:Well, we could also use the good old lightmap system. When you multiply the RGB color values of the second image with those from the first you get the third image:Problem: this means 800x600x3 = 1.44 million multiplications for every frame drawn. Could be a real fps killer.
I don't believe this method would work for us, even if it didn't kill FPS. I still think our best bet is to do a overlayer.
Or perhaps OpenGL has something. I know OpenGL supports up to 16 light sources, but I don't know how well that works on 2D if at all
<Kage_Jittai> ... are you saying I am elite
<thorbjorn> Yes.
<thorbjorn> Yes.
Re: minor hat with a light
Basically we already have a texture in memory and light sources could be applied to that? Just a flat surface from the viewing point of OpenGL?
This message used to be meaningful.
Re: minor hat with a light
That's not really a problem. After the scene is drawn you have the whole screen as one surface. You can create the lightmap by blitting the light source images on another surface and then multiply-blitting the second surface on the first one.Kage wrote:Also we don't have a base image like that, we draw the maps in layers. Since each tile is dawn on its own, and are layed on top of each other. Their is no real way for us to see what tiles are showing.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Re: minor hat with a light
Anyways I don't think making the cave light up is a huge enough advantage for us to worry about. Traversing with low visibility isn't a big deal for most people. And comparing the people doing the quest for the cap/candle/w/e vs getting a client patch. Seems like it wouldn't be worth the bother to get a patch. Really having a higher resolution is a bigger advantage in the first place since it gets more use. Also I don't think it'd be a big fps killer I mean even you described it as 'the good old' system anything that has been used since late NES shouldn't be a problem. Unless we have planned some really low requirement goals... We should run fine on anything made in the last 10years
Re: minor hat with a light
If we did do dynamic lighting, it would be best if we have a option for it, so that people on low end system could get a performance boost
<Kage_Jittai> ... are you saying I am elite
<thorbjorn> Yes.
<thorbjorn> Yes.