Menu
Login
Language
DE EN FR ES IT CZ

Search Result

  • RE: Object rotation

    Yes you can easing for a lot of situations. You might want to move an object or animation to a new position in a scene & with easing you could have it gradually speed up or slow down or both. Or you could add bounce or elastic easing to an interface to have it bounce up & down when it slides out. There's loads of possibilities.P.S: Simon linked that easing webpage via the wiki I think. As for adventure fans... I don't actually post there. I think Thomas directly tied vs database into the adventure fans forum, so it does have its own unique content, but it also automatically takes threads from certain sections of the VS forum.P.P.S: there is probably more potential with VS than most people realize, which is one of the main reasons I tend to prefer approaching things with Lua script as it gives me access to features not yet implemented as action parts inside of the editor as well as access to openGL shader & the ability to write my own custom functions. With that in mind it's possible to create other game genres that VS was not meant for.

    by afrlme, 11 years ago

    49
    0
    afrlme 11 years ago
  • RE: 4.2 Mac - getWindowBrightness() don't work

    Well, the brightness command is directly from SDL developed by valve. This command uses different brightness functions from the backend, not depending on the Hardware, it depends on the os, and on linux on the graphics backend (wayland, etc).With Visionaire you have 2 options.- setWindowBrightness and brightness in the ini file works on Mac, Windows, iOS, Andoid supported by SDL.Linux: it depends of the Backend, X11, Wayland, Mir Not supported @ your Linux? Then use the libSDL 2 from the maintainer in most cases, the maintainer (like Conconial) has patches. Yes, you can make an jump to an other libSDL @ linux. Mir (Ubuntu > 12.04) has an brightness bug in the X11 fallback, so it gives patches for this. The function exists and an error comes back. It's not an issue by us or SDL. You must compile your own X11 and SDL (but that's Linux and normal).- If you do not want use this you can make the same with an shader.

    by BigStans, 11 years ago

    10
    0
    BigStans 11 years ago
  • RE: Zoom-In für Optionen - Hintergrund

    No problem. :)I've updated the shader toolkit page to add note about vs 4.1+ being needed to use the script.

    by afrlme, 11 years ago

    16
    0
    afrlme 11 years ago
  • RE: Zoom-In für Optionen - Hintergrund

    ah.. you need to update Visionaire Studio. You are using an outdated version. The current version is 4.1 build 1177. I believe SimonS updated some of the internal shader related code in the engine, as well as the shader toolkit for VS 4.1.Please update & then see if that fixes it.

    by afrlme, 11 years ago

    16
    0
    afrlme 11 years ago
  • RE: Zoom-In für Optionen - Hintergrund

    1. add the shader toolkit script to the script section of the editor.2. to zoom in: create an execute a script action part & add something like this...[code]shaderViewport(1.2, 300, 200, math.rad(45), 3000, easeLinearInOut) -- zoom 1.2x to 300x200 over 3 seconds with 45º rotation value.[/code]3. to reset: create an execute a script action part & add this to it...[code]shaderViewport(1, 0, 0, 0, 3000, easeQuintOut)[/code]here is the syntax for the function...[code]shaderViewport(zoom, x, y, rotation, delay, easing)[/code]P.S: the rotation value is in radians, which I find a little confusing. It's based on Pi, but you can use degrees by using the math.rad() function to convert degrees to radians as you can see in the examples I posted above.

    by afrlme, 11 years ago

    16
    0
    afrlme 11 years ago
  • RE: Applying a shader effect on character?

    I don't believe it is possible to apply a shader effect to characters, [b]yet[/b]. However it is possible to apply [i]some[/i] of the shader effects to scene objects. Most of them currently don't apply very well though, but the ripple effects work pretty well on objects.I'm sure that Simon will rework & improve the shader toolkit, at some point in the future. The devs are just a bit busy with other stuff at the minute.

    by afrlme, 11 years ago

    1
    0
    afrlme 11 years ago
  • Applying a shader effect on character?

    Hi, was anyone able to apply a shader effect from the Shader Toolkit to a character (and not the whole scene)?I have been trying for a while but unfortunately no luck.Cheers! :)

    by fulviov, 11 years ago

    1
    0
    fulviov 11 years ago
  • RE: setWindowBrightness works on mac but not on Windows?

    Yes it should work for both windows & mac.* hmm strange. It's sets it briefly for a second then reverts back to 100% brightness.You could use the shader instead? Include the shader toolkit & then use the shaderContrast &/or shaderLightness functions. The shader toolkit has to be included for them to work though.P.S: I've made a note of it on the dev tracker for the devs to look into.

    by afrlme, 11 years ago

    6
    0
    afrlme 11 years ago
  • RE: Background music, Shader zoom

    1. Only the Lua script version of starting & controlling sounds has the option to store & set the current playtime. There's also a pause toggle & stop function for Lua started sounds.2. hmm not sure. If you include the shaderExclude option somewhere then you can have the shader ignore: text, cursors & interfaces etc.[code]game.ShaderExclude = eShaderExcludeInterfaces -- excludes text, cursors & interfaces, or...game.ShaderExclude = eShaderExcludeTextsAndCursor -- excludes text & cursors, or...game.ShaderExclude = eShaderExcludeCursor -- excludes cursors.[/code]...I can't really say anything much about the text, but it might be worth considering forcing the position of it with the setTextPosition hook function.

    by afrlme, 11 years ago

    4
    0
    afrlme 11 years ago
  • Background music, Shader zoom

    Hi,i have two questions.1. I have a scene and there is music in the background playing, the problem is that everytime i leave the scene and come back the song starts play always from the beggining and it doesn't sounds naturaly, can i set somehow to the song to start from random part or from the part when i was leaving the scene?2. I like to use the shader zoom effect ( or ShaderViewport ) in my minigames at the beggining of scene, cca 1.2 zoom,but it affect all features and when my character is talking, the text isn't visible, is there some better solution than setting different text position in that part?Thanks!

    by ke4, 11 years ago

    4
    0
    ke4 11 years ago