frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Help needed to dial in my enemy emit:

Hello.

In my new game Nina Nano, i want the enemies to emit "debris" when they die. I have the emit force set to 1, but the debris is still too fast. Is there a way to make my debris emit a little more slowly rather than flying immediately off the screen?

Here is my work in progress: http://www.flowlab.io/game/play/1037152

Thanks for the help!

Comments

  • Hey,

    I think you meant to link to: https://flowlab.io/game/play/1073163

    Tiny objects will move really quickly with even a small force. You could mitigate this by:

    1) Turning the physics drag way up (in game settings). This will cause everything moving to lose velocity every frame, slowing down the particles.

    -or-

    2) Cheat the physics by making the actual debris sprite large (so that the physics shape is large and will move slowly) but add a single frame animation that plays when the debris is emitted, so it still shows up as a small particle.
  • Thanks @grazer the physics cheat worked perfectly. is it better to fill the sprite frame (non-animation frame) completely and dial in the force? or try to dial in the amount of pixels and pick a constant force?
  • Hey, glad it worked. I don't know if either approach is better - whichever seems easier is probably the way to go :)
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch