Login / Registrieren
DE EN FR ES IT CZ

Search Result

  • RE: Using pause tags in on-screen narration.. decimal issue

    Display text page updated. http://wiki.visionaire-tracker.net/wiki/Displayed_TextI've not actually mentioned what display object text is on that page... guess I forgot to talk about it.Quick summary: display object text allows you to display a text anywhere on screen indefinitely by linking it to a scene object. You have to manually remove the object text with the remove object text action part. The text linked to the scene object is also affected by the state of the object you link it to. If the object is currently hidden / inactive, then the text will also be hidden. The text also seems to mirror the opacity value of the linked object. I'm not sure if any of the other parameters apply or what would happen if you were to apply a shader effect to the object.

    by afrlme, 11 years ago

    17
    0
    afrlme 11 years ago
  • RE: Why menu screens have no buttons?

    Because menu scenes can be used for other things like mini-games, loading screens, credits etc. I suppose it would make sense to allow for inactive & active image / animation states but what if the developer wants to use a different method, such as: changing the opacity of the button, or changing between a static & animated button, or apply an openGL shader effect to said button on mouse over / out, etc... The current method is more flexible.If you wanted to create a quick & dirty snap between images on mouse over / out then you could create a single animation containing 2 frames; the inactive state & the active state. In the first frame add an execute a script action part containing...[code]ActiveAnimations["anim_name"].AnimationFirstFrame = 1ActiveAnimations["anim_name"].AnimationLastFrame = 1[/code]... the rest is simple enough. Copy / paste the execute a script action you just created above into a on mouse enter & on mouse leave action part for each of the buttons. You should change the values in the on mouse enter action part from 1 to 2. You also need to make sure the animations are set to infinite loop & that you have assigned the animation to the properties tab. You don't have to do this, of course. It's just an alternative method for the condition & 2 objects method, as it only requires one object, instead of 2 & a condition. Plus you don't have to waste time aligning the images in the 2 objects together.

    by afrlme, 11 years ago

    5
    0
    afrlme 11 years ago
  • RE: flashlight

    Hi! I'm testing the lua script for the flashlight. I copied the main script and the additional script as Simon said. I'm very noob at scripting but from what I can understand the flashlight should be attached to the character and the target should be the mouse cursor, is it not?The thing is, I've got the flashlight effect working but the beam comes from the middle of the screen (not the character position) and it doesn't follow the mouse cursor at all.I tried the example in this thread with similar results ( http://www.visionaire-studio.net/forum/thread/shader-toolkit-discussions-examples-and-other-cool-stuff!/2/ ).Is there anything I've been missing related to character position or binding??Thanks in advance!!

    by Voltaico, 11 years ago

    22
    0
    Voltaico 11 years ago
  • RE: SetBrightness for the whole game

    Possible via the config.ini. [i]see [url=http://wiki.visionaire-tracker.net/wiki/Ini_File]here[/url][/i].Or via the [url=http://wiki.visionaire-tracker.net/wiki/SetWindowBrightness]setWindowBrightness()[/url] function.Or via the openGL shader @ [url=http://wiki.visionaire-tracker.net/wiki/ShaderLightness_(CMS)]Lightness[/url] & [url=http://wiki.visionaire-tracker.net/wiki/ShaderContrast_(CMS)]Contrast[/url]. ([i]shader toolkit script is required[/i]).

    by afrlme, 11 years ago

    2
    0
    afrlme 11 years ago
  • RE: Smooth camera follow

    My solution to that would be to create a function which I would call at the beginning of each playable scene once to get the width & height of the scene. I would then add some if queries to the scroll function inside of the shader toolkit script to prevent overflow. I can't give you a script off the top of my head though.

    by afrlme, 11 years ago

    7
    0
    afrlme 11 years ago
  • RE: Smooth camera follow

    I had a quick look at the shader toolkit and shaderFollowCharacter() seems indeed the way to go, but yeah, there is the viewport overflow problem with the backgrounds. I'll see if I can manage to modify the function to not go over the limit and behave like the standard camera :)

    by fulviov, 11 years ago

    7
    0
    fulviov 11 years ago
  • RE: car cutscene

    if this wouldn't work,you could alternatively let the car on the same place and move only with the background and foreground graphics.Or i saw followCharacter option for Shader toolikt, but don't know how it works

    by ke4, 11 years ago

    9
    0
    ke4 11 years ago
  • RE: Abnormal program termination

    Okay, I see you already figured it out. We'll handle the particle system later, the shader toolkit should work, tested that very intensive. If you got dumps, please send them to me ;)Also if it's a submission for the competition and your program crashes, we will fix it and you won't get negative points by that ;)

    by SimonS, 11 years ago

    4
    0
    SimonS 11 years ago
  • RE: Worrying last minute bug, shaderSetOptions

    Hmm it just happened again:02:58:29: Error: ShaderSetOptions: An option has not the format string=integer02:58:29: Error: ShaderSetOptions: An option has not the format string=integer02:58:29: Error: ShaderSetOptions: An option has not the format string=integer02:58:29: Error: ShaderSetOptions: An option has not the format string=integer02:58:29: Error: ShaderSetOptions: An option has not the format string=integer02:58:29: Error: ShaderSetOptions: An option has not the format string=integer02:58:29: Error: Abnormal program termination. Saved dump file to 'C:\Users\Andrew\AppData\Local/Andi Liddell/FantasyQuest/vsplayer.dmp'02:58:29: Error: Executable: Visionaire 4.1 (Build date: Sep 29 2014, Build 1177)As the character walked back into the room that had used the blur shader earlier, It wasnt in use at the time but the player just closed down.I've now removed any reference to the shaderToolkit, to see if that Helps...Which is a shame as I wanted to use it in the demo game submission. Ive recently added a particle effect to a room , could that be it maybe?

    by andiliddell, 11 years ago

    7
    0
    andiliddell 11 years ago
  • RE: Worrying last minute bug, shaderSetOptions

    Nice that to function is much neater, when did that spring up? :)I think I've found the bug, its actually a different scene which uses the blur shader, and I think I had a value of 0.8 as the blur.Weirdly the scene with the blur works fine and a totally unrelated scene without any shader effects was crashing..It hasnt happened for the last 30 minutes, so fingers crossed that was it.Thanks for the fast (and late) responseJust to check ..Demo game submissions need to be by midnight tomorrow (UK time) don't they? :)

    by andiliddell, 11 years ago

    7
    0
    andiliddell 11 years ago