keepee's Recent Forum Activity

  • I'm not sure exactly what you mean but you could use the expression:

    choose(string1,string2,string3,...)

    which will randomly return one of the strings

  • Does the error message say anything else?

    I had a similar problem after a crash, where certain images couldn't be located.

    I fixed it by opening the .capx in winrar and renaming image files :\

    dunno if it's the same for you though.

  • You're using a 'step' behaviour plugin which means anyone without that plugin can't open your .capx

    Just letting you know.

  • I gave Orange an instance variable

    dl.dropbox.com/u/53374990/overlapping.capx

    People have been saying they can't download from my dropbox.. if that's the case for you, then try in firefox, otherwise I'll just write down what I did here.

  • If you do decide to use the mouse I think the best way to do it would be to make the helicopter move simply camera-relative.. (where pressing up/down/left/right will always move the helicopter in that direction relative to the screen, regardless of the helicopters angle)

    Also, you can smooth out and limit the rotational speed in a similar way you smooth out directions and limit their move speed.

    Instead of setting the heli's angle to the mouse, set a variable 'targetangle' to the mouse... and have the heli.angle move towards that gradually using one of ..many.. methods..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hmm not sure If i know what you mean..

    just to check, you are aware that the helicopter faces the direction of the mouse, right?

  • wut.. :S can anyone else try the link and confirm that?

  • Zephlon, try increasing the buttons 'linear damping' quite a lot. All this does is slow the objects velocity over the time.

  • You could try changing it from 'continuous' to 'one-shot' in the particle properties.

    And have it create a new particles object every 0.05 seconds or something. Or every x seconds, where x can be proportional to the objects speed.

    another thing that you may find useful is clamp() expression where you can set minimum and maximum limits for any value.

  • There are manual entries for this if you have a look..

    You need to use the scrollx and scrolly system actions

    To simply pin the scroll position onto an object you just have:

    every tick: scroll to position: object.x, object.y

    It might also help to enable Unbounded scrolling in the project properties

  • Reverse the conditions so that number=2 is above Pick nearest.

  • In short:

    for x position you need to refer to Cos(heli.angle)

    and for y position: Sin(heli.angle)

    Sin and Cos basically generate a number between 1 and -1 depending on the angle given.

    https://dl.dropbox.com/u/53374990/helirelative.capx

keepee's avatar

keepee

Member since 6 Jan, 2012

None one is following keepee yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies