LIGHTMAP PROBLEM
Posts
Pages:
1
OK so I've got my lightmap positioned and set to scroll with map so it stays in the same place, but when in game and the map starts scrolling it doesn't stay put. How can I get it to stay in the same place all the time?
Are you setting the event that places the lightmap upon entering the map to erase itself once it's done its business? That's the problem, most likely.
Tardis, although that worked, the light source changes position depending on where my character spawns on the map, is there any way to make it so that I can spawn anywhere and have my light effects stay in the same place?
I just hid the screen, had my character spawn in the middle in darkness and set the light locations, teleported character to wherever, then showed the screen. It'll appear as if they just teleported to whatever spot you want.
Hmm, I can't seem to get that to work on mine, the light source still moves. Isn't it possible to do with screen relative variables?
Might be worth adding that I've lightmapped a town, so there are loads of different possible spawn points outside buildings .etc
EDIT: I fixed this by getting the screen relative X/Y variables of an event on the map and assigning them to be the picture co-ordinates. That got the lightmap to roughly where I wanted it, so then it's just a case of adding or taking away from the X/Y variables to tweak the position exactly.
Found all that out by opening the Muse project file 'cause if you wanna know how lightmaps work, Muse is the way to go.
Might be worth adding that I've lightmapped a town, so there are loads of different possible spawn points outside buildings .etc
EDIT: I fixed this by getting the screen relative X/Y variables of an event on the map and assigning them to be the picture co-ordinates. That got the lightmap to roughly where I wanted it, so then it's just a case of adding or taking away from the X/Y variables to tweak the position exactly.
Found all that out by opening the Muse project file 'cause if you wanna know how lightmaps work, Muse is the way to go.
Pages:
1













