AnD4D's Forum Posts

  • From the manual:

    "Note that due to the way Construct 2 expressions work, if you have multiple Particle object instances, this will only return the particle count for one of the instances - use a For Each loop to count multiple instance's total particle count."

    How?

    I have put my particle generators into a family so that I can use a For Each loop, and I have a text box that is set to count the total number of particles, but it's only showing me one instance. I've also tried using 'add' instead of 'set', and I just get an ever increasing number.

    I know this should be pretty simple, but I just can't seem to get my head around it.

  • Colludium

    Brilliant! Thank you very much!

  • RamPackWobble

    Thanks for having a go, but it's very slow to rotate, and if I speed it up the same thing happens with it going back and forth.

  • I've tried this again with Custom movement... which unfortunately I cannot see the point of. Deceleration would be a nice feature...

    I've also tried 8 direction movement, which is slightly more useful, but not great.

    Physics gives me an absolutely brilliant result, apart from the rotation! The best result I can have with rotation so far is having the object disable manual rotation upon impact with something, but this isn't exactly what I'm aiming for.

    If I were to be using a keyboard for the rotation, it would be fine, but I'm trying to use the mouse for a more accurate aim.

    Is there anyone out there that can think of a clever way to combine responsive rotation with physics?

  • I know that I can do something similar using custom movement, but I thought physics would make movement slightly different, allowing the ships to crash into other objects and lose control, making movement slightly more 'realisic'.

    It's a real shame objects more or less lose physics when other movements/behaviours are applied.

  • RamPackWobble

    If I control the rotation without physics and the ship collides with something, it doesn't spin out of control.

    If I set the angular dampening to the max, it still wobbles.

    Anglelerp would be good, but only if it eases in, rather than eases out.

  • Hey guys!

    Anyone know of a smart way to have a physics object rotate toward the mouse?

    At the moment, I've applied it to torque, but once the object is facing the correct direction it keeps on going due to momentum.

    Ideally, I need it to start applying torque in the opposite direction when it's half way toward the direction I want to it be, but with the mouse potentially always moving, this is proving to be quite the challenge.

    Any clever folk out there that can figure this out using the physics behaviour?

    CAPX

  • IntelRobert Seems like there's been a step backwards somewhere along the line for me. In trying out my game, one which I was able to use several weeks back, no longer works using Intel XDK.

    It builds fine now, nice and smooth process, but after installing and upon launching, it just shows me a white screen with the clock at battery still appearing.

  • The strange things is, if I export the game using a slightly older version of C2, my game works on Cocoon. Version 152.2... doesn't work at all!

    This leads me to think it's Construct with the problem, rather than Cocoon on this occasion, but then again I'm ignorant to the intricacies.

    Have Ludei simply not updated the exporter? Using the launcher, I just get "Unzipping" and then it just sits there doing nothing. Again, this is only games from 152.2.

  • I tried to look at your capx, but I can't tell what is actually meant to happen...

    The 'BoomBoomb' sprite is already there, and it's massive. When you click, it spawns in smaller...

    What's meant to be happening?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there!

    Is anyone else experiencing issues with CocoonJS for their exports?

    I've been struggling with it for months and months, and only just last month did I manage to get it working (Cocoon didn't support 'GetMass' up until recently).

    In any case, the speed wasn't great, and I noticed it was recently updated again, so I tried out my game. Now all I'm getting is a black screen.

    Back to square one.

    Just wondered if anyone else was experiencing issues?

  • Ahh, brilliant!

    Thanks Ashley & Much appreciated :)

  • Ah, yes! My mistake. I had set the text to show the angle, rather than the value.

    In any case, I'd still like to set it up so that I can choose my own custom values either side of the scale.

  • I'm using the value selection in the sine behaviour for a sprite, and for what I'm using it for, it's working fine.

    In setting it up, I created a text box to see exactly what values were being displayed, and was surprised to see that in setting the magnitude to 2, the value moved from a positive 2 to a sudden positive 358. This means that this behaviour, as far as I can tell, can only really be used for angles.

    Luckily that's just what I needed for, so it didn't bother me, but I did recall a question I asked a few weeks back, which was relating to an EasyEase behaviour.

    Wouldn't the angle issue also work if the figure went from 2 to -2? This would allow people to use the behaviour with both angle and position. Also, I wonder if it's possible to set the to and from figures, so it could be 2 to -20 if I wanted it to be.

    Thoughts?

  • Ashley - Hi, sorry to bother you, but can this be fixed, please? I'm needing to make a lot of separate sprite fonts, and this is taking a lot longer than it needs to :(