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
701 Rep
Post Options Post Options   Quote LE5LO Quote  Post ReplyReply Direct Link To This Post Topic: Missile that leaves behind a crisp line where it flew
    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
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
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
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
2,221 Rep
Post Options Post Options   Quote zyblade Quote  Post ReplyReply Direct Link To This Post Posted: 06 Jan 2012 at 12:31pm
Just what Tulamide said...
Strike911
Last Active
1 year and 6 months ago

I think he won't reply in the next time.

Edited by zyblade - 06 Jan 2012 at 12:31pm
Back to Top
252 Rep
Post Options Post Options   Quote TKO Quote  Post ReplyReply Direct Link To This Post Posted: 06 Jan 2012 at 12:36am
Strike did you say you made an object seeking missle? I am looking to make bullets project towards an object that is moving at different locations.
Back to Top
552 Rep
Post Options Post Options   Quote bizla Quote  Post ReplyReply Direct Link To This Post Posted: 10 Dec 2011 at 2:55pm
ah good point :L i didnt notice the dates
Back to Top
5,280 Rep
Post Options Post Options   Quote tulamide Quote  Post ReplyReply Direct Link To This Post Posted: 10 Dec 2011 at 2:28pm
@bizla you ask on a thread that is more than two years old. Also, the one you adress to was last active 1 year and 5 months ago, according to his profile.
Back to Top
552 Rep
Post Options Post Options   Quote bizla Quote  Post ReplyReply Direct Link To This Post Posted: 10 Dec 2011 at 1:26pm
After about an hour or so of tweaking, everything is running perfectly!

Now i can have multiple heat seeking missiles chaotically flying towards different enemies on screen, all with crazy light trails everywhere and it actually looks exactly how I wanted it to! <!-- s:D -->:D<!-- s:D -->

thanks guys.[/QUOTE]
would you mind uploading the cap so i can have a quick look at how you done it as im a little stumped atm, and im wanting to do bassicly the same thing but with a trail of paint after my paintbrush sprite.
Back to Top
1,125 Rep
Post Options Post Options   Quote strike911 Quote  Post ReplyReply Direct Link To This Post Posted: 08 Dec 2009 at 10:07pm
Thanks so much guys. This thread was very very useful. I got the effect I wanted by using some of the techniques you guys mentioned. At first I thought I could just up and copy most of the events from DeadEye's cap. My laziness didn't pay off so well, it didn't work so smoothly, but it served as an excellent outline for how the basic set up should be. After about an hour or so of tweaking, everything is running perfectly!

Now i can have multiple heat seeking missiles chaotically flying towards different enemies on screen, all with crazy light trails everywhere and it actually looks exactly how I wanted it to! :D

thanks guys.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down