1
Graphics / Re: [Very Beginner] Need Help With Drawing Things
« on: November 26, 2020, 04:34:37 pm »
all the problem is solved, thankyou for helping!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
You first need to figure out how you want to draw a snake, since they can have different lengths or directions.
If you just use shape, you'd need to calculate the correct rotation for a start and end point yourself or you could also check out the LineShape someone wrote once.
But if you then have different textures for the snake or ladder, you'll have to come up with a way to add more sections of the given texture.
You just apply some math. Calculate the position of the tile, then subtract half of the width of the snake or ladder. Best you take some pen and paper and figure out the math on paper, before trying to apply something in code.