Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Video demo please

A topic by bitlather created Jan 28, 2020 Views: 1,198 Replies: 4
Viewing posts 1 to 3

I'm really interested in this, but I'm not sure how it works or what to do with the demo. Can you attach a video or gif of you using this tool? I'd specifically like such a gif with actual use and not in the demo, if you could.

Developer

Try changing something in the demo's test.vsh/test.fsh via an external editor, saving, and clicking on the demo window to reload changes.

See gifs in GMLive's update post for an example of this being used in a more "real" environment to live-update shaders:

https://yellowafterlife.itch.io/gamemaker-live/devlog/121625/1024-shader-reloading-beta-and-a-few-fixes

(1 edit)

I'm still not entirely sure how it works, but you release high quality stuff that's well documented so I'm just going to trust it and give it a go :-)

I bought and tried it out, starting with shader_replace_simple_demo.yyz.

I ran the project.

I clicked on the game window.

I selected "HLSLCompiler.exe" (note: the default file name in the open window is SLCompiler.exe so I can't just press Open  without selecting HLSLCompiler.exe first)

The gray-ish screen that follows the mouse is now a vertical line instead of a diagonal line.

I tried to update the shader myself. I opened the directory that obj_test output to my console in its create event:

2.2.4.366 C:\Users\bitla\AppData\Local\shader_replace_simple_demo\

I tried to edit fout.shader or vout.shader, clicking the game screen, and seeing if the effects took place. It did not.

Is my understanding of what the demo should be doing wrong?

Developer

If you want to test the demo from IDE, you'll need to update the files inside the game's appdata directory or inside the temp directory where the executable and included files are placed.