dan200 / Redirection

A puzzle game
GNU General Public License v3.0
52 stars 9 forks source link

Not all mod changes loading on startup #16

Closed ghost closed 10 years ago

ghost commented 10 years ago

When I'm starting the game (and going to Level Editor/) it appears that only a few things the mod changes load on startup

After startup: 2014-10-01_183026

After clicking "reload mods" (note the top left) 2014-10-01_183039

Yes, this also happens in the actual editor.

All my mod changes are the textures you can see in the pictures (from red to grey) and it adds a statement in the shaders to ignore red light.

dan200 commented 10 years ago

could you send me your mod so i can reproduce this?

On Wed, Oct 1, 2014 at 5:35 PM, mathestar notifications@github.com wrote:

When I'm starting the game (and going to Level Editor/) it appears that only a few things the mod changes load on startup

After startup: [image: 2014-10-01_183026] https://cloud.githubusercontent.com/assets/5197361/4478845/ada0e7c6-4988-11e4-86d2-36695d1264dc.jpg

After clicking "reload mods" (note the top left) [image: 2014-10-01_183039] https://cloud.githubusercontent.com/assets/5197361/4478855/c3ad2822-4988-11e4-9ac2-0234d97f387f.jpg

Yes, this also happens in the actual editor.

All my mod changes are the textures you can see in the pictures (from red to grey) and it adds a statement in the shaders to ignore red light.

— Reply to this email directly or view it on GitHub https://github.com/dan200/Redirection/issues/16.

ghost commented 10 years ago

here you go https://www.dropbox.com/s/obtka4sn15yy388/ABlocksTale.zip?dl=0

dan200 commented 10 years ago

This is caused by the code that reloads changed assets not detecting that pointlit.effect depends on pointlit.frag. This might be a tricky solve, leaving for later.

The reload all button reloads all assets, so doesn't have this problem.

dan200 commented 10 years ago

whoops, didnt mean to close there

ghost commented 10 years ago

Just FYI, if I then (after reloading the mods (and shaders)) go back to the game the old shaders don't get reloaded either

dan200 commented 10 years ago

I've fixed this now. should also fix the texture problems vswe reported