lunarray's Forum Posts

  • skyhunter93

    shinkan

    Oops, didn't know that. It should be okay now, I fixed the links on the first page.

  • clrammer

    Hi rammer, sorry for the late reply, you're right, that bug with EaseInOutBack is now fixed, thank you very much for pointing out the bug

  • mist

    Did you got the one with c2addon extension? It is actually a zip, you can just rename it into zip and extract it.

  • mwmwmw

    340 to 0 works fine here... :o The same with 0 to -90.

    If you can reproduce it in a simple capx, I can probably help more...

  • rexrainbow

    Thanks for the quick fix

    Joskin

    Okay, this one should be working now :D. Please redownload again...

  • Something like this?

    Damage Number CAPX

  • Joskin

    Oops, sorry for all the inconvenience, but you just uncovered a bug. I have fixed it on my part, but I also need rex_rainbow to fix his behavior for this.

    EDIT: rex already fixed the behavior :o, you should redownload his behavior too

    While I'm waiting for rex's response, you can try redownloading the litetween behavior, once again...

    Oh, and I also made some modification to your capx, basically it's something like:

    1. Changing the star's sprite background from white to transparent

    2. Changing various value of the litetween on the stars

    3. Setting starting value on the event sheet before starting the tween

    Modified CAPX

    PS: To try running the modified capx, you have to wait till rex changed his Tween2Effects, or it won't run as intended.

    rexrainbow

    Rex, turns out I'm saving the value in the sprite's instance, so multiple litetween will use the same value. I should've stored the value in the behavior instead just like the old tween :(.

    Could you please change the Tween2Effect (at around line 69)

    var value = (this.tween_behavior_type == TYPE_LITETWEEN)? this.tween_behavior_inst.inst.value : this.tween_behavior_inst.value;

    to this?

    var value = this.tween_behavior_inst.value;

  • Joskin

    EDIT: Silly me, I put the new litetween on the dropbox folder but forgot to sync it to the cloud :o, please redownload again :D

  • Joskin

    Done a quick fix to make it compatible with Tween2Effect. You should re-download the behavior. :>

    Long answer:

    As to why it happened, it's not a bug actually, but it has something to do with how tween.active variable was used differently in litetween and the previous version of tween. The tween2effect detects whether the tween is running based on this variable so it won't work. I fixed it now so that active properly stores tween running state.

    PS: Oh, and I think you should take how 'Compromise' works with Value tween into consideration, or just simply set it to 'Enforce' if you want simplicity.

  • Thanks! :>

    helena

    Glad it works for you. :>

  • rexrainbow

    Wow, that's such a nice behaviour/plugin, I didn't know that a behavior could be programmed to co-work with another behavior. It could open up to many possibilities. May I put the link to your behaviour's thread on the main post? I'll give proper credit and such :)

    helena

    I tried that action here, and it is working for me. Can you try downloading this simple example and tell me if this one works for you?

    Create-Initialize Tween capx

  • part12studios

    The apple example, I lost the original apple demo capx but this one should be close to what you need

    Apple capx

  • Wertle

    I can't download that example, the link is broken :(

    I just tested it here, and it can call the right onEnd event on each behavior though, are you sure that is the latest tween you are using?

    onEnd Test

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Small fix, added loop mode and added some notes on first post about position tween to clear some confusion. (some people thinks it's a bug)

  • marcelokohl

    Added Ping Pong and Horizontal/Vertical tween, please redownload the behaviour.

    EDIT: Forgot to upload the updated behaviour, for those who already download and found out that it is actually the same as the older one, please redownload...