irina's Forum Posts

  • For some reason i cant reply on my last topic... <img src="smileys/smiley19.gif" border="0" align="middle" />

    this is what i have so far:

    dropbox.com/s/jnp0yve9gh1mnqb/LayerRotation.jpg

    And it works on left arrow (but only one full circle and i woild like it to continue indefenetly)

    But on right arrow stops aftre first click and thats it... no more movement.

    Is there any kind soul to help me out on this?

    Thank You!!!

  • Im trying now with

    System: set layer angle

    anglerotate(LayerAngle(0), LayerAngle(0)-45, 45)

    This is better becouse it rotates particles too but i dont know how to set nice smooth transition... it just jumps by 45? :(

  • its not working... :(

    dropbox.com/s/tb73bqzkkk4set7/test.capx

  • This is how it looks now.

    dropbox.com/s/qiyonvox97hfiky/rotation.jpg

  • Hm... its not working.

    how exactly to:

    When the layout has finnished rotating, set the variable to 0 again

    Couse i think im making error on this point.

  • I have some problems with seting my entire layer to rotate on keyboard.

    1. I'w managed to create rotation per 45� in arrow keys but i have problem if key is pressed again until first 45� transitiion is not yet finished... than mine 45� become eg. 45�+ 15� and everything falls apart.

    im usnig this formula:

    left arrow: set rotate to target angle to (immage.Angle + 45) % 360 , clockwise

    right arrow: set rotate to target angle to (immage.Angle - 45) % 360 , clockwise

    how can i make that mine arrow key rotates immage 45� and if pressed twice it wont apply rotation again untill reached exactly 45th degree?

    2. i cant make my particles rotate (once they are created) along with rest of the screen? I'm assuming that i can only rotate point of origin and not each particle on the fly... is that correct?

    Can particle rotation be even achieved at all in this manner?

    Thank you!

  • Help needed...

    I am looking for a way to apply an event when object stops movement.

    Anybody got some idea how to do that?

    Tnx!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That is what i am aiming for but cant figure out how to set sleeping false auto as soon as they start rolling again... :(

    I guess ill wait for your example tomorrow.

    UPDATE:

    I think i'w solved the problem for now...

  • Can you perhaps elaborate more detailed becouse iw tryed that and theres no wanted effect... :(

    Obviously i am doing something wrong...

  • Hello,

    I need some help.

    I have some physics objects that have a sleep event when static... but when active again they keep their sleep settings instead to return to presleep settings?

    example here:

    dropbox.com/s/ockxzb9mm3xw9lu/Cork%20It.capx

    Help anyone?

  • Small problem tho!

    ...all starts well, objects go to sleep and behave as expected but after they resume activity they still retain their sleep event settings!?

    how to return to the pre sleep settings again?

  • Thank you...

    It took me a while to figure all out but Your tip was helpfull!!

    Cheers!

  • Hello!

    Can anyone give me an example how to use that?

    eg. i wanna apply impulse if object is sleeping...

    Thanks!

  • You make it sound so easy... but somehow i cant find that sleep option anywhere... <img src="smileys/smiley19.gif" border="0" align="middle" />

    How can i use that condition... if object is sleeping?

  • Hello,

    I have some physics objects that occasionaly pile up and i would like them to break that pile... i was thinking to apply impulse but the impulse is on time interval wich i dont need but instead i need it only if object is stuck and not moving for second or two.

    Is that possible?

    Tnx!