How can I detect collisions between 2 line objects?
Its not supported.
How ever you can use a sprite as a dummy, and set the sprites to the start and end positions of the lines.
I was afraid that this is only option.
--- edit ---
Is there any way to retrieve line objcet angle in event sheet editor?
Develop games in your browser. Powerful, performant & highly capable.
There's no specific command for it, but it's doable with a bit of math.
I'd figure it out for you but all I remember from college is how to drink and smoke.
You can use the angle() expression to get the angle between the start point and end point, which will give you the angle of the line:
Angle(Line.StartX, Line.StartY, Line.EndX, Line.EndY)
There should probably be an included expression, though.
Well there ya go. That's actually a lot easier than I thought it would be.
Guess I should pay more attention to the system expressions.