I'm having a trouble with my new game and I would like to get a small help please.
First I have a line of size (220x22) pixels. I have two points : the origin where the line will be spawned and imagepoint1 where the spawn will occur.
It worked perfectly for now. The thing is I needed to make lines go up and down. Let's take Up for now. I have set the origin and imagepoint1 of animation Up by Apply To All Animation from the origin and imagepoint of line straight. The angle of the line in Up is 35 so how can I get the points on the line perfectly so it can spawn right? I want the lines to be smooth since they are going to move along each other as one line of combined lines.
Is there any way to get the origin and imagepoint at the right position with respect to the angle or size?
not: The size of the animation Up is (192,144)
Thanks in Advance!