lunarray's Forum Posts

  • I just noticed that, when installing behavior via .c2addon files, it installs to

    C:\Users\UserName\AppData\Roaming\Construct2\behaviors

    instead to the usual

    C:\Program Files\Construct 2\exporters\html5\behaviors

    My question is, is it intentional? Because it kinda breaks the behaviors and plugin collection into two path and I'm not sure which one is being used anymore.

  • I fill in a temporary fix for it, later on I think I'm going fully restructure the behavior

    dl.dropboxusercontent.com/u/55358831/lunarray.tween.c2addon

    JKID About the sizing problem, is it something like this?

    dl.dropboxusercontent.com/u/55358831/helping/sizeup_down.capx

  • I think something broke in that last patch of EaseTween I uploaded JKID, I will try to fix it today...

  • Sorry for necromancy, but I think this might help for people who has the same problem. In my case, using Action: Regenerate Obstacle Map after adding new walls fixed it.

  • Updated to 1.6 to support Persist behaviour and distributing in c2addon format.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • labithiotis: Yes, but you will need two easetween behaviour, one for the scale, the other for the position. Be careful with Size (Ratio) though, you need to experiment abit with it, it's a little tricky.

    Mipey: I just tried, and it worked. Can you post the simple capx which showed the problem? I post a simple capx to show a sprite with both position, size and angle tween.

    dl.dropbox.com/u/55358831/helping/pos_angle.capx

  • JohnnySheffield: Thanks for pointing that up johnny, I incorporate the fix as per your suggestion :>

    vee41: thanks for your help in solving labithiotis problem :D

    labithiotis: I was too late, so I can't download the capx. But maybe you can try using group. Set all the property "Tween Group" to "mygroup" for all the sprite you want to check, then you can use "Compare Group Progress" expression to check if all of sprite in the same group has finished tweening.

  • It's ok, let's continue this via PM :)

  • Is it something like this?

    dl.dropbox.com/u/55358831/helping/problems-2.capx

  • Jax: I really can't help without the capx, It's hard to really understand the problem with just the definition of what happened :<

  • If you can upload the capx, it would be easier for me to help.

  • I don't really understand the last question, but I'll try to answer that.

    1. EaseTween won't affect your object once it finished playing. So, once it stopped playing you don't have to worry about it anymore. Except if you are on Ping Pong/Repeat/Loop/etc playmode. If you're on Play Once mode, it will be fine.

    2. If there are two behaviour that influence the object, for example, Bullet and EaseTween active at the same time. Both will be taken into account and played simultaneously.

    3. If you don't want it to play at the start, we have "Active on Start" property on the left panel. You are free to play it anytime you need using event-action (for example when a button is clicked).

  • You can do with both method, you need to consider your event count though if you are free user, since you are limited to a max of 100 events.

    Ok, back to the case, it could be done with a well timed repeat, which then you won't need any event. But you can also use event like 'onGroupTweenEnd' then play the other tween.

    As for which is better, the event-action method is definitely better (more flexible), since you can change parameter during runtime, which is definitely an advantage. For example, you can tie a parameter to a global variable. In most use case this is definitely the best solution.

    For simple case which does not need much flexibility, like title screen animation which does not need much flexibility during runtime, I prefer using non-event method, since it would save me from alot of events.

  • R112 is not restricted to paying user I think,

    I think you can download it here

    scirra.com/construct2/releases/r112

  • Actually you can also control the order of things using events and actions, but it would be very annoying or complex.

    For triggers, there is an onTweenEnd event you can use to trigger when a tween has ended, or onTweenProgress to trigger when a tween has reached a certain percent of progress.

    As for actions, you can use "Set parameter" action, which sets all the parameter at once.

    There is also a group tween. So you can group several tween together and run it in paralel. Then you can treat this as one tween.