Missile that leaves behind a crisp line where it flew

Forum Home Forum Home > Construct Classic > Construct Classic Discussion > Help & Support using Construct Classic
 Post Reply Post Reply Page  <12
Author
3,395 Rep
Post Options Post Options   Quote AarongamerX Quote  Post ReplyReply Direct Link To This Post Posted: 18 Mar 2012 at 6:37am
beastly tutorial. I think i wanna use this for something.
Back to Top
5,280 Rep
Post Options Post Options   Quote tulamide Quote  Post ReplyReply Direct Link To This Post Posted: 19 Mar 2012 at 2:31pm
If someone still needs an example .cap, my all-purpose tutorial/example game "Verve!" also shows how to do sprite-based trails.

You can find it in the tutorial/example forum.
Back to Top
701 Rep
Post Options Post Options   Quote LE5LO Quote  Post ReplyReply Direct Link To This Post Posted: 26 Mar 2012 at 12:13pm
I haven't tried this out yet, in theory though it should work, for a homing missile, you could insert a sprite with bullet and 8 direction behavior and have it rotate towards the moving object you want it to target.

con 1: on mouse clicked
con 2: 'crosshair' overlapping enemy >

action1: spawn 'homing missile' at 'launcher' (X,Y,)0
action 2: rotate towards enemy

let us know how you do ;)
Back to Top
701 Rep
Post Options Post Options   Quote LE5LO Quote  Post ReplyReply Direct Link To This Post Posted: 26 Mar 2012 at 12:23pm
answer to crisp line missile question:
just make a small white box sprite with fade behavior, give it around 85% opacity and if your bullet sprite with bullet behavior is on screen spawn the white sprite with fade behaviour at the bullet's X,Y co-ord ;) it works beautifully.
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down