Jump to content

Natural movement of projectiles


MichaelD
 Share

Recommended Posts

Hello,

 

I wanted to ask if there is some way to produce a more natural way of projectile movement. 

 

I have: 

bullet.body.velocity.x = 950;

But it just moves fast from one place to another. To be clear I am not using a simple bullet I have the following which is supposed to be a "gust of wind".

projectile_arc3_zps4d8db2ca.png

 

The obvious answer is to create a sprite with more "variations" but I was wondering if there is a way to do this programatically. Thanks.

Link to comment
Share on other sites

I bet on a sprite with variations because it'll have better performances and will be more beautiful. I guess changing the sprite's shape programatically will create aliasing effects on your sprite.

And your shape isn't very complicated, photoshop or gimp or paint.net will be simple to use ;)

Link to comment
Share on other sites

I suspect that the emitter might add some nice touch to the projectile, so my question is this (and I hope it doesn't derail much from the topic) how could I create an emitter that resembles the actual projectile maybe with a bit less opacity etc. 

 

Thanks for your help!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...