S
Sam L
Guest
For a top down game, my walls are lines that can have any angle or length, resulting in layouts such as this, for example :
(These lines are made of a 1x2 sprite (2 pixels) that are stretched on the side with xscale, and oriented with image_angle)
Now, if I want to fill the interior with a texture, and the exterior with another, can it be done? I don't know much about surfaces, but they only seem to be possible in square/rectangle shapes, or am I wrong? Can surfaces have such complex layouts? Or is there another way to fill this with a texture?
Thanks in advance! Your name will appear in the credits ;-)
(These lines are made of a 1x2 sprite (2 pixels) that are stretched on the side with xscale, and oriented with image_angle)
Now, if I want to fill the interior with a texture, and the exterior with another, can it be done? I don't know much about surfaces, but they only seem to be possible in square/rectangle shapes, or am I wrong? Can surfaces have such complex layouts? Or is there another way to fill this with a texture?
Thanks in advance! Your name will appear in the credits ;-)
Last edited by a moderator: