Missile that leaves behind a crisp line where it flew Forum Home > Construct Classic > Construct Classic Discussion > Help & Support using Construct Classic |
Post Reply
|
Page 12> |
| Author | |
Post Options
Quote Reply
Topic: Missile that leaves behind a crisp line where it flewPosted: 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. |
|
![]() |
|
Post Options
Quote Reply
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 ;) |
|
![]() |
|
Post Options
Quote Reply
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. |
|
|
|
![]() |
|
Post Options
Quote Reply
Posted: 18 Mar 2012 at 6:37am |
|
|
beastly tutorial. I think i wanna use this for something.
|
|
![]() |
|
Post Options
Quote Reply
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 |
|
![]() |
|
Post Options
Quote Reply
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.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 10 Dec 2011 at 2:55pm |
|
|
ah good point :L i didnt notice the dates
|
|
![]() |
|
Post Options
Quote Reply
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.
|
|
![]() |
|
Post Options
Quote Reply
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 --> 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. |
|
![]() |
|
Post Options
Quote Reply
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! thanks guys. |
|
![]() |
|
Post Reply
|
Page 12> |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |