Majinboo's Forum Posts

  • i want to identify objects with pinned objects, i tried a lot of combinations and i cant find the solution, please help me! and explain me why this didn't works because i spend 3 days trying to solve this, i really want to understand.

  • Try this :

    Finally this worked, thank you so much!!

  • I want to count each different objects inside the family instead the whole family objects ( example two charlie names exist then = Boolean duplicated true ), i cant realize how to do this, please help me! , i cant use local or global variables because i have a lot of names, i just want set Boolean in duplicated objects, i tried a lot of combinations, i have several hours breaking my head with this, this cant be done?

  • It seems that this solved your situation.

    No, the example below isn't worked

  • Lol I had prepared a little capx to show you the method (with local variable and pickedcount for the last)

    thanks for the example but think if i have hundred of different fruits, i cant use local variables.

    i tried this again and now didn't work, the last object didn't update the Boolean, if i have two oranges or more i want to set the Boolean duplicated true but only to oranges or other duplicated objects, how this can be done? i cant use local variables because if i have a lot of objects in a family then will be a lot of local variables.

  • you could use something like

    1/ system pick by comparaison object fruits families when fruits.animationName= "Orange"

    - system compare two value fruits.pickedcount >=2 ---> Set text to "I like Oranges"

    Now Its Working, thank you!!!!! i learned something new today

  • I don't understand why this didn't work, i want to do this: If two or more objects with the same variable value exist then action, i need to use families.

  • Here it is

    https://drive.google.com/open?id=0B_ZRh ... U51aDBOeU0

    Thank You so much for your help!!!! <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> , i will read a lot about the differences between Pin Behavior and set position! because i don't understand why set position didn't work here.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • add another condition? Compare distance(x1, y1, x2, y2) ? system -> compare two values: distance(x1, y1, x2, y2) >400 etc...

  • More of 10 Hours trying to solve this and i cant, when i kill an enemy then my HealthBars move out of position, after some seconds they back to the original position, why? i don't know, i need to use "pick" in everytick because if not then when i kill an enemy my healthbars of alive enemies move to my dead enemy and after some seconds back to my alive enemy, i need to use families and alive Boolean, i don't want to use container because i need to use families, i need help please, i am very frustrated with this.

    my Capx:

    http://www.filedropper.com/nightmare

  • thank you! i solved it using a variable, i just put: every 0.05 seconds -> set effect "pixellated" parameter 0 to sprite.effect , ADD 1 to effect, and now its working!

  • my event its [every 0.5 seconds set effect parameter index 0 , value +1] and i get syntax error, i tried 1 +1 and i dont get the syntax error but didn't work, i want to add +1 every 0.5 seconds to the value of effect, i tried with a variable ( sprite.valueeffect +1 ) and didn't work, please explain me why?

  • i created a nice dissolve effect over my sprite with adobe after effects, i exported the project as PNG Sequence, the dissolve animation took me 42 frames, doing this for each sprite that i have will take me too much time, 42 frames for an animation its a big number to use in construct 2? i am trying to get the same effect with this: , but didn't work .

  • Add the sine behavior to it. Now use lerp to move it smoothly and constantly toward a specific point relative to the player. My example below will give you smooth and floaty movement that is relative to which way the player is facing.

    Here is a working example of it with no plugins and just a few events: https://drive.google.com/file/d/0B4Cyki0BEAFdNUxmMzJEYTNWT0E/view?usp=sharing

    this is exactly what i want!!!!!!!!!, thank you so much for your help!!!!!!!!!

  • Using search, I found the following: https://www.scirra.com/forum/nearly-daily-effects-by-somebody-neat-things-big-gifs_t123401?&hilit=dissolve+effect.

    Might be what you're after.

    thanks for the link, but looks too generic, maybe the best solution its animate the a sprite but its a laborious work, i am trying to find some tool that do this work automatic.