This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
shaderActivateLighting(2)Please help me.
shaderLamp(1, 1, {1,5,1}, {0,0,1}, {0.01,0.0,0.00001}, {0,0,150}, {500,1,1}, 1)
bind("light1", "lights[1].position", point(inverty(scrollfix(offset(field("game.CurrentCharacter.Position"),{0,-200}))), 1))
game.ShaderExclude = eShaderExcludeInterface
The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Forum readers get the Indie Bundle 15 % off with the code FORUM15: €84.15 instead of €99, valid until 31 Dec 2026.Black Friday: the Indie Bundle is 30 % off until 1 Dec 2026, €69.30 instead of €99. The code BLACKFRIDAY is already applied.
Get 15 % off Try it for freeYou probably need to replace the shader toolkit script. http://rollaprint.de/vs/shaderscript9.lua
Also I vaguely recall Simon mentioning that the way lights/bindings work has changed...
Don't know mate. Just try replacing the shader toolkit script & see if it works - I have terrible short term memory, so don't remember any specifics about the thread/post about the bindings. Sorry.
Simon is currently online browsing the forum, so maybe he'll provide you with an answer mate. All I can say is: "have a bit of patience."
Please post the messages.log and the code you are using, so I can see what's wrong.
shaderActivateLighting(2)This is what I'm using light works fine. But doesn't not follow character
shaderLamp(1, 1, {1,1,10}, {0,0,1}, {0.01,0.0,0.000001}, {0,0,0}, {1,1.5,1}, 1,1,0)
bind("light1", "lights[1].position", point(inverty(scrollfix(offset(field("game.CurrentCharacter.Position"),{0,-200}))), 1))
game.ShaderExclude = eShaderExcludeInterface
15:44:38.218:Engine Version: 5.0.0 (Build 1188 from Build date: Apr 17 2017)
15:44:38.218:Time needed for preloading game: 4 msec
15:44:38.218:Loading from C:\Users\Sexy\AppData\Local/VisionaireStudio/team//config.ini
15:44:38.221:Using DX11 Subsystem
15:44:38.273:Initializing graphics interface. Surface size: 1920x1080, render size: 1920x1080
15:44:38.283:red, green, blue, alpha, depth size: , doublebuffer , accelerated
15:44:38.304:Serialization finished. Needed time: 20 ms
15:44:38.304:SetupParents finished. Needed time: 0 ms
15:44:38.304:SortLinks finished. Needed time: 0 ms
15:44:38.308:Interfaces loaded. Needed time: 4 ms
15:44:38.321:[string "(30,0)"]:1155: invalid value (nil) at index 1 in table for 'concat'
15:44:38.321:stack traceback:
[C]: in function 'debugerror'
[string "function debugfunc(err) debugerror(err) end"]:1: in function
[C]: in function 'DataDumper'
[string "(30,0)"]:1155: in function 'bind'
[string "(30,1)"]:3: in main chunk
15:44:38.321:Failed to run string in Lua:
15:44:38.321:String content: shaderActivateLighting(2)
shaderLamp(1, 1, {1,1,10}, {0,0,1}, {0.01,0.0,0.000001}, {0,0,0}, {1,1.5,1}, 1,1,0)
bind("light1", "lights[1].position", point(inverty(scrollfix(offset(field("game.CurrentCharacter.Position"),{0,-200}))), 1))
game.ShaderExclude = eShaderExcludeInterface
15:44:38.321:Scripts loaded. Needed time: 12 ms
15:44:38.321:Time needed for loading game: 111 msec
15:44:38.325:Cursors\up.png could not be opened
15:44:38.325:Cursors\up.png could not be opened
15:44:38.325:Cursors\down.png could not be opened
15:44:38.325:Cursors\down.png could not be opened
15:44:38.325:Cursors\next_up.png could not be opened
15:44:38.325:Cursors\next_down.png could not be opened
15:44:38.325:Cursors\prev_up.png could not be opened
15:44:38.325:Cursors\prev_down.png could not be opened
15:44:38.803:Script return particleSystem:new({warmup=200,creationRate=100,maximum=5000,transferMode="blend",images={"vispath:particles/snow took 415 ms
game.CurrentCharacter.PositionThis thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.
New threadDeponia, The Whispered World and more than 160 other games were made with Visionaire Studio. The free version covers up to 25 scenes. For more scenes there is Visionaire Studio PRO from €75, and to sell your game the Indie Bundle for €99.
Until December 1: the Indie Bundle is 30% off with the code BLACKFRIDAY, €69.30 instead of €99.