Well, i know how to do shooting based on a mob's direction but how would you go about making an obj walk quickly towards where a player clicked on his screen?
I'd greatly appreciate either the code or some help as to how to do this.
ID:164689
May 1 2007, 12:57 pm
|
|
May 1 2007, 1:42 pm
|
|
Look up walk_to in the referance.
|
In response to Revojake
|
|
Can do, looking into it.
|
In response to Darkdemonrad
|
|
obj/Bullet hrm, it works but i dislike the way the bullet travels i'mma modify that looping it and using step_towards() thanks though revojake :-) |
In response to Darkdemonrad
|
|
atom/Click() ew, it does the same thing draw two straight lines as opposed to finding a diagnol medium geeze i wanna fix this problem. any advice? |
In response to Darkdemonrad
|
|
You could use pixel movements for the projectile, there is a library(maybe demo) called "Pixel Projectiles" You may be able to use that or learn what you need from it.
-KirbyAllStar |
In response to KirbyAllStar
|
|
Sigh, it's byond scape subscription based and i didn't DL it during the month subscription wizzy gave me. Any other advice?
|
In response to Darkdemonrad
|
|
look up Real Time Line effects in the libraries. looks like that might help.
|