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
Posted: 18 Mar 2012 at 6:37am |
|
|
beastly tutorial. I think i wanna use this for something.
|
|
![]() |
|
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: 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: 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 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 |