This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
game.CurrentCharacter.Position@Lee: no that's just wrong. The quotations are there because it's calling this every frame.If you say so mate. I'm not savvy with the shader stuff.I found the error there is a space in line 225 that should be removed. There are also some other things to fix in the script. You can fix the space yourself for now. I will publish the updated script with the documentation.
@Lee: no that's just wrong. The quotations are there because it's calling this every frame.Ok I'll wait for your update. Thank you. Let me know when is ready!I found the error there is a space in line 225 that should be removed. There are also some other things to fix in the script. You can fix the space yourself for now. I will publish the updated script with the documentation.
shaderActivateLighting(2)
shaderLamp(0, 0, {900,500,1}, {0,900,10}, {0.001,0.000001,0}, {0,0,0}, {1,1,1}, 1, 30, 0)
shaderLamp(1, 1, {1000,50,1}, {0,0,1}, {0.01,0.0,0.000001}, {2,2,2}, {2,2,2}, 1)
bind("light1", "lights[0].position", point(inverty(scrollfix(offset(field("game.CurrentCharacter.Position"),{0,-80}))), 1))
bind("light1", "lights[0].targetpos", point(inverty(cursor), 50))
bind("light1", "lights[1].position", point(inverty(scrollfix(offset(field("game.CurrentCharacter.Position"),{100,100}))), factor(dist(offset(field("game.CurrentCharacter.Position"),{0,-80}), cursor), 200)))local curPos = getCursorPos()
shaderActivateLighting(2) shaderLamp(1, 1, {1000,500,2}, {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("curPos"),{0,-200}))), 1)) This 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.
Through December 1: all licenses 30% off, for example the Indie Bundle for €69.30 instead of €99. Applied automatically at checkout.