WeneW's Recent Forum Activity

  • Beautiful, I saw a screenshot already in another topic.

    Planned to be released on steam ?

  • https://www.scirra.com/manual/143/gamepad

    at gamepad expressions , its said :

    gamepad.Axis(gamepad,index) ??? but no example of expression usage. I can't find how to use thoses values properly.

  • thank you, sorry, i should have tryed the behavior in a clean project, true !

  • thats what i'm saying. It does the invert. Like an "s" . wait I'll post a capx so you can see.

  • I just noticed, my car turns to the left when i press right and move backward.

    When i go front it turns right (of course)

    But as a "car behavior" it should go right also when going backward.

    kind of confusing when you handle the game. (can still work it out with simulate controls things.)

  • Set angle of movement : angle(player.x,player.y,target.x,target.y) should work..

    my bad !! ^^

    It's exactly what i was looking for ! (yes, i should read the manual.... duh)

  • Try Construct 3

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

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

    > You could just set "set angle" to "no" in the bullet properties..

    > And instead of using set angle, set the angle of motion of the bullet..

    >

    No. because set angle of motion ask a degree. Wich i don't have. I have a target (object .X and Y) and thats all.

    Its a big hole in C2 i think, to at least not have a kind of "lengthdir" function in it...

    People could easily code their own tween movements with events if there was just that.

    or a simple option "move toward position" with a pixel per tick.

    But , you can still use a var to store the angle toward position, then reset angle of the object to 0.

    And use this var to set angle of motion.... it works, but OMG its complicated for such a small thingy.

    Anyway LiteTween is better i find than moveTo. Hope it'll be stable :s seems pretty heavy behavior

  • Ok, i finally found how to install and use MoveTo " by Rex, seriously this thing is crazy useful.

    Why not in C2 ? like , it shouldn't be hard to implement it no ?

    even like this as it is, just add rex's folder (if he accept) into the install of the software ?

    Thank you so much anyway, i'll gain soooo much time now.

  • Ok i see for the bullet example, but it rotates the sprite.

    You cannot set angle to position without rotating the sprite... so that doesn't do it for me.

  • Thanks ! i'll check that

    Or maybe make a function that i can use anywhere, with Custom movements or i dunno

  • you need a plugin to set a vector movement ....? hu... ok. i'll check then.

    thank you

    PS: but there is no other way than using pugin ? (just asking)

WeneW's avatar

WeneW

Member since 5 Jan, 2014

None one is following WeneW yet!

Connect with WeneW

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies