- Adding a homing projectile
- Making the projectile longer than 32
I have already checked out the S_Missile but i am confused *_*
Any help would be great
ID:150002
Jan 9 2002, 8:20 am
|
|
I need help on quite a few things
|
In response to Skysaw
|
|
Umm, well i understood the code but not how to implement it.
|
A laser is fine, a long one is fine, but a homing one? Lasers are beams of light, and simply cannot be made to follow a target. I suggest you just stick with a long lazer that shoots and if you miss, sucks to be you.
|
In response to Lord of Water
|
|
that seems fine, sure.
|
In response to Gojira
|
|
how about using step_to()?
|
In response to Air _King
|
|
Well how would i make it longer than just 32 pixels?
|
In response to Gojira
|
|
That would be the major problem. It's possible, but difficult to do things like that. You would have to have multiple iconstates to make the path of the laser look logical, you would have to keep them together and make sure no piece of the laser is hitting something that a laser cannot go through, and all the while make the laser follow the target. It would be quite a job!
|
In response to Lord of Water
|
|
Well, think of it like this. The same sort of laser like in tanks.
|
In response to Gojira
|
|
I've never seen the laser in Tanks, but is it homing?
|
In response to Lord of Water
|
|
no, but the first step would be to make it long would it not?
|
In response to Gojira
|
|
Most certianly:
obj/laser This is untested, but play with it a little and see what you can do. Good luck! -Lord of Water |
In response to Lord of Water
|
|
Thanks lord i'll see what i can do.
|
Homing projectiles and multi-tile projectiles are much more complex than S_Missile. If you had trouble with that library, you would have twice as much trying to sort out that extra complexity.