MichaelD Posted July 5, 2014 Share Posted July 5, 2014 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". 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 More sharing options...
titmael Posted July 5, 2014 Share Posted July 5, 2014 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 More sharing options...
d13 Posted July 5, 2014 Share Posted July 5, 2014 bullet.body.velocity.x = 950;This bit of code just move the sprite to another position.Do you want to make the sprite appear as if it's moving? Link to comment Share on other sites More sharing options...
lukaMis Posted July 5, 2014 Share Posted July 5, 2014 Hello, I wanted to ask if there is some way to produce a more natural way of projectile movement. Check this out for ideas:http://gamemechanicexplorer.com/#homingmissiles-1 Link to comment Share on other sites More sharing options...
MichaelD Posted July 5, 2014 Author Share Posted July 5, 2014 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 More sharing options...
Recommended Posts