lunarray's Forum Posts

  • Jerbens

    Maybe you can try Enforce mode Compromise? I think it will work for some case

  • Quasar

    Sure, if i got your capx it will be easier to find the problem

  • Quasar

    Might be abit late, but did you managed to find out the problem?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • LaurenceBedford

    Sorry for the super late reply >_<, but I already put the VNDemo.capx in the first post.

  • Do you mind if I put the link of your port to c3 into the main post? It will be easier for people to find it.

    For now I already put it without asking for your permission, but if you somehow don't like it then I will remove it.

  • I fixed all the download links, if there are still more links that are dead, please let me know.

    anty21ro

    Thanks alot for helping with hosting the files while I am away!

  • ChesVCF

    Sorry if I am late, but have you tried to change enforce to compromise? LiteTween DO override position, angle, etc if you set it to Enforce.

    Or if it still doesn't work, if you have the sample capx i can view it and look at it.

  • lahssoo

    Sorry for the late reply, you should use 'start from last recorded' in this case.

  • NgTrent

    Ah, could you explain to me what error you got? If I may guess wildly, the most common problem is that this is a behaviour, not a plugin, did you put it into the behaviour folder?

  • LoneVox

    This is because the mirrored and flipped in construct is using negative size, I fixed it before once, but then it caused alot of problem to other people due to its inconsistent nature and it makes things awkward for several people who use it. So it might be a bug to some, but I really prefer to avoid the negative size checking for now.

    That thing aside, LiteTween is perfectly fine with mirrored or flipped object if you set the target to negative value.

    If you need to tween a mirrored or flipped object, please take into account these things.

    1. The target width could be negative for mirrored object

    2. The target height could be negative for flipped object

    3. If you tween starting from a non mirrored to a mirrored one, remember to set 'from current' or 'from last recorded' according to your need.

    There are alot of other people using this for mirrored objects, so if I changed how it worked, it might force them to change those events and breaks alot of project also.

  • anty21ro

    Hi,

    You are correct, I just find out that paused tween will only resume to play once. While selecting flip flop again will reset the tween progress to 0, which caused the problem with the boundary.

    I fixed the resume/pause state to correctly return to its former state, if it was a flip flop that is paused, it will resume to flip flop. If it was a loop that is paused it will resume to a loop.

    Please try the fixed litetween below, I hope this one will fix if for you. I also updated the thread with this fix.

    LiteTween FIX PAUSED

  • anty21ro

    Hope I didn't misunderstand the problem.

    At line 53, you used resume to continue the progress of the paused tween. If you do that, then the tween will use play once to resume and then it will stop >.<. If you change the 'resume' to 'Ping Pong' it should work.

  • anty21ro

    It is exactly what I am thinking also way back then when I made EaseTween, EaseTween has this functionality, adding a wait before starting tween and a delay of pause after a tween. It also has alot of control, like PingPong, Loop, etc. But LiteTween is designed to be controlled from the event sheet, it is not EaseTween. The right way to do it is simply add 'Wait X seconds' action before 'Start LiteTween'. If you really need that functionality, I suggest you download the EaseTween again and check if it will suit you more. Despite it is not being developed anymore, some of my old projects that is still running still use it heavily without problem.

    AlexFrancois

    Umm. The answer is both yes and no.

    For setting the starting value, you can do something like 'LiteTween > Set Value' then just put variable into it.

    For setting the target value, you can also do 'LiteTween > Set Target' then set 'str(x)' your variable into it.

    But yeah, you can't set variable as target value in the object property at design time.

  • Joannesalfa

    Oh, there is an action 'Set Value' to set the start Value.

    On mouse click

    > Litetween Set Value = 15

    > Litetween Start tween

  • Flodcp

    I am not sure with that problem, if you have a capx i might be able to help more. But try this first, would changing it from on Collision (which is a trigger), to on Overlap works?

    Changing it to "start, target" would make alot of other users of LiteTween who have used the old way of "target" refused to work (some used really alot of litetween in their old project).

    The other way would be to add something like "Value (start,target)" tweened property to take 'start, target' parameter, but this is confusing because it will be inconsistent to how other 'target' works. I am sorry I think I shouldn't add this one. And thank you for answering the question for me about XDK/Cocoon export. :>