License from €75 Log in
DE EN FR ES IT CZ

How can I do it???

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 9 years ago
    Hi folks!
     I have a chracter on a eesaw.I need to increase the swing speed clicking alternately in a right and left area near the character  with mouse. 
    And I have a middle idea how  do it...but it's possible ensure if you are too slow to click, the animation of swing decrease until to stop?
    (I know it's hard but...do it without using Lua may be possible?)
     
    Waiting for all 2 possibility!
    Thanks a lot at all!

    Denis




  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 9 years ago
    You can tween values mate, so you could in essence transition the global pause value between animation frames from current value to a high value over x time. Another thing you could do is insert a script into the final frame of each arc of the animation to increase current global pause value between frames by let's say 10 each time the frame is hit whereas clicking on the left or right areas you specified will reduce delay value by x amount down to a min of 16ms as that's the fastest you can go (60fps).

    I'm not sure about without using Lua script. Anyway, to adjust pause value...
    local pause = Animations["example"].AnimationPause
    
    if pause > 16 then pause = pause - 10 end
    if pause < 16 then pause = 16 end

    That example would be for reducing the pause value to make the animation faster.

    For slowing it down would be a bit more complicated as you would need to make it stop entirely, so you might want to force it to play a single specific frame once the speed gets to a certain delay value.

    *edit: thinking about it, there's something else you could do. If you created the animations as static images & assigned the same value to each one, you could use the value tween action part Simon added & transition through the values. That way it will update frames over x time. I don't know if it will look very smooth, but with a few if queries you should be able to create a fully non-Lua script method for it.
  4. · 9 years ago
    Mmmm interesting approach...this evening i'll try! Thanks Lee!  
    (one day I will have to repay..he he!!)


    If someone has others Ideas...come forward ! ( I think is a good exercise)
     
    :-P

  5. · 9 years ago
    Lee you give me an idea...ACTION AREAS!!!
    Combined with your hint about last frame of anim....
    Mmmm...

    IT CAN BEEE  DONEEEE!!!

    (ND. Frankenstein Junior)

    In case could you help me? razz

    Thanks!!!


  6. · 9 years ago
    Just see what you can manage yourself first mate. wink
  7. · 9 years ago
    He he...Sure mate!

    ;D

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?