Hello all!
I come today with a question about PIXI Graphics. I am currently trying to get the engine to draw a PIXI Graphics line from the player to an event. I'd like it to constantly redraw itself so that the line "updates" as the player moves. I realize that this has been answered before in the past (such as here). However, when I go to implement Dev_with_Coffee's solution, the line draws itself in the corner of the game screen.
Here is the event that's running it:
My player coordinate variables are updated from a parallel event elsewhere (Variables 11 and 12).
I'm obviously missing something, but I'm not sure what. I feel like the
is just denoting a pixel measurement because when I play with the numbers, that little line moves.
If anyone has any ideas, I'd be very grateful! My head hurts from bashing it against the wall haha.
Thank you for your time!
I come today with a question about PIXI Graphics. I am currently trying to get the engine to draw a PIXI Graphics line from the player to an event. I'd like it to constantly redraw itself so that the line "updates" as the player moves. I realize that this has been answered before in the past (such as here). However, when I go to implement Dev_with_Coffee's solution, the line draws itself in the corner of the game screen.
Here is the event that's running it:
My player coordinate variables are updated from a parallel event elsewhere (Variables 11 and 12).
I'm obviously missing something, but I'm not sure what. I feel like the
JavaScript:
myLine.position.set(0, 0)
If anyone has any ideas, I'd be very grateful! My head hurts from bashing it against the wall haha.
Thank you for your time!