RamPackWobble's Recent Forum Activity

  • Here is another slightly different method that uses physics (although that should be easy to change) and measures the time from the touch to the release to alter the speed of the throw.

    capx

  • Can you post a link to a video ?

  • so you want

    "I want to be attracted then stick" and "I want you to attract and not stick..." ? We must be losing something in the translation to English.

    How about a drawing of what you want ?

    "attract when close but stop attracting when too close" ?

  • version 2

    version 3

    I am not sure what you want - in post 4 you said "RamPackWobble I do not want them to stick, I want to be attracted then stick" - which is what I did?

    Anyway - let me know if version 2 or 3 are close (I now think it is 3...)

  • Have a look at

    https://www.scirra.com/tutorials/253/how-to-make-a-platform-game/page-1#tuttop

    is contains quite a bit about animations

  • I have tried everything and there is no way ... I'm going crazy.

    I bet you a pint you haven't and a second pint there is ? <img src="smileys/smiley1.gif" border="0" align="middle">

    Does your part one attract as you want it to ?

    Does the physics distance joint stick them together when they collide ?

    If they do work (separately) as you want them to then all you have to do is combine them...

    separate events. your part one followed by my suggestion.

    try it - if it doesn't work post your capx.

    is this what you are after ?

  • The only thing I can thin of is that you have somehow altered the platform behaviour "acceleration" - mine is set to 4000. Click on the player (pig) and see what yours is set to ?

    <img src="https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/Ashampoo_Snap_2014.02.15_19h33m10s_001.png" border="0" />

  • so you have worked out how to do the attracting ? (your part 1 ?)

    I have a way to "lock" them together once they touch....

    All you need to do is put the stick after your attract...

    You might (probably will) need to also turn off the attract once they are together or the force of the attract will start to push them around (I suggest a boolean along the line of

    if close enough and boolean "stuck together" is not set then apply force towards the other one

    collision ? apply distance joint and set boolean to true.

  • Yann

    Thank you for that - I am pleased to have been wrong (again) because I rather liked using sprites as zones/spawners.

    Just to prove my stupidity ( in case you had any doubts ?) I was just making them with an alpha (or just giving them an opacity of zero) but leaving them visible (which I know does give the GPU a hit) rather than setting them to invisible!

    I swear I learn something new nearly every day about C2 (I just wish I remembered it all) - best �70 spent on a computer program ever!

  • I think you want to look at...

    https://www.scirra.com/manual/88/anchor

  • You also have scroll to on 3 or 4 other objects on the screen - usermedia, stopwebcam, etc. Try removing these extra scroll to and see what happens.

    If you want these extras to stay on the screen look at the way that the HUD is put together in the introductory tutorials ?

    And What's The Deal With The Capital Letters ? <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you want them to "stick together" when they collide ? Try...

    <img src="https://dl.dropboxusercontent.com/u/143636437/examples%20for%20web/Ashampoo_Snap_2014.02.15_15h00m11s_001.png" border="0" />

RamPackWobble's avatar

RamPackWobble

Member since 2 Feb, 2013

None one is following RamPackWobble yet!

Trophy Case

  • 11-Year Club
  • x4
    Coach One of your tutorials has over 1,000 readers

Progress

12/44
How to earn trophies