This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
Pos_Kegel.x = x_pos - 500 -- Position des Lichtkegels, angepasst auf Szene
Pos_Kegel.y = y_pos - 600Der Editor ist super, für das was er leistet! Das erspart wirklich eine Menge Arbeit. Vor allem auf das Ressourcenmanagement hätte ich keine Lust.
Deswegen kann der Editor durchaus bequemer sein, weil einem diese Arbeit vorher von den Entwicklern abgenommen wurde...
getObject("ActiveAnimations[animation name]"):setValue(VAnimationLastFrame, 1)
Sieht aber sch.... ausAn das Problem mit den Wänden hab ich bisher noch gar nicht gedacht - aber das sieht dann natürlich wirklich nicht so toll aus...
obj_torch:setValue(VObjectOffset, {x=pos_torch.x-500,y=pos_torch.y-500})x = (getCursorPos().x + game.ScrollPosition.x)
y = (getCursorPos().y + game.ScrollPosition.y)
print("Mausposition", x, y)
shaderRemoveEffect("CaveLight_01")
shader_effects["CaveLight_01"] = {shader=basic_fsh..[[
const vec2 ar = vec2(1.6, 0.9); //ASPECT RATIO
uniform float ErlPosX;
uniform float ErlPosY;
uniform float ErlSize;
void main()
{
vec2 pos = vec2( ErlPosX , (1-ErlPosY) + (ErlSize*0.67) );
float Flicker = sin(1.0+iGlobalTime*21.5397)*0.0051235 + cos(7.0+iGlobalTime*33.31579)*0.0123;
float Size = (2.0 * ErlSize) + Flicker;
float w = (pos.x - texcoord.x) *ar.x;
float h = (pos.y - texcoord.y) *ar.y;
float Circle = pow( 1.0 - clamp( (sqrt(pow(w,2)+pow(h,2))/(Size)), 0.0,1.0) , 3);
float CircleB = pow( 1.0 - clamp( (sqrt(pow(w,2)+pow(h,2))/(Size)), 0.0,1.0) , 5);
vec3 color = vec3(1.0, 0.67, 0.33);
vec3 Schatten = color * (1.0-CircleB);
vec3 Schein = color * Circle;
vec3 render = texture2D(iChannel0, texcoord.xy).rgb;
render.rgb = render.rgb - Schatten.rgb; //SUBTRACT
vec3 result = vec3( vec3(1.0) - ((vec3(1.0) - (Schein.rgb)) * (vec3(1.0) - render.rgb)) ); //SCREEN
gl_FragColor = vec4(result.rgb , 1.0);
}
]]}
shaderAddEffect("CaveLight_01");
bind("CaveLight_01", "ErlPosX", field("Erlene.Position.x"));
bind("CaveLight_01", "ErlPosY", field("Erlene.Position.y"));
bind("CaveLight_01", "ErlSize", field("Erlene.Size"));
function updateErlPos()
shader_effects["CaveLight_01"].num.ErlPosX = Erlene.Position.x /1920;
shader_effects["CaveLight_01"].num.ErlPosY = Erlene.Position.y /1080;
shader_effects["CaveLight_01"].num.ErlSize = Erlene.Size *0.01;
end
registerEventHandler("mainLoop", "updateErlPos")
Erlene = getObject("Characters[Erlene]") Das neue GUI gefällt mir auch nicht so sehr. Aber wahrscheinlich ist das auch einfach nur eine Gewohnheitssache.
Ich wäre an konstruktiver Kritik an der GUI sehr interessiert, was genau sind die Probleme ? Ich arbeite ja nur noch mit V5 und das ist 100% besser für mich, allein vom Tempo. Bei den Schriftarten kann ich noch was tun, dass das einfacher einstellbar wird.Okay, ich hoffe das wirkt jetzt nicht zu spammig, wenn ich hier in dem Forenbeitrag meinen Senf abgebe. Vorweg: Ich benutze einen 1366*768-Laptop mit Windows 7.
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.