TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

How do you make tiled angled lines?

Page: 1 2 Reply
May 5th 2003#102199 Report
Member since: Jul 26th 2002
Posts: 19
I was wondering if anyone had any ideas about how to make those yellow and black warning lines that tile. For textures for games. I basically will make a concrete floor 512x512, then i need some yellow and black lines going across it: /////// like that. But how on earth do u make the lines the same width and angle and how do you get them so there tiled?
Reply with Quote Reply
May 5th 2003#102202 Report
Member since: Nov 26th 2001
Posts: 2586
Do you have an example to show us?

One method that is a very handy tool:

create a small, single example of your tile pattern. Go to "edit --> define pattern"

Now when you use the "Edit --> fill" you can select that pattern to fill in the area you selected or your entire document.

Note: When using the edit --> define pattern, make sure you dont have a background and just select the image you want to be defined. So if there were 2 layers, one was a background - hide the background layer and make sure your image layer was selected.

So, for example. I was an "X" pattern across my background to tile nicely. Create a new document, lets say 9 pixels by 9 pixels, clear background. Now I just make an "X". Define pattern. Now on the image I want the "X" to tile across I just fill with the "X" pattern and I got a screen full of "X" 's .
Reply with Quote Reply
May 5th 2003#102206 Report
Member since: Mar 29th 2003
Posts: 1326
He wants lines that aren't at 90 degree angles though.

tom
Reply with Quote Reply
May 5th 2003#102207 Report
Member since: Nov 26th 2001
Posts: 2586
I am not exactly sure what kind of lines he is asking for, but the tiling method above should work. You might have to make the pattern image large so it fits in context of your image.

Drawing a line is easy. Select the right tool (pencil, brush) and draw a line? or am I missing something....?
Reply with Quote Reply
May 5th 2003#102211 Report
Member since: Jul 26th 2002
Posts: 19
Well that wont work with these, i need pics really sorry, done some very quick and rough:



Thing is i can niether get the lines the same thickness or get them tiled, as they are here its not tiled]

For quickness i would then put it in say a concrete floor, rough example:



rubbish i know, just to show u what i mean, the problem is getting the lines right, i dont know what method to use im just using the line tool and i cant understand how to get them to tile, i use for other textures the offset too and clone tool to make it repeatable, but the lines u cant do that:



even if the lines were the same thickness, i prolly could make them the same taking more time, but theyd still be untileable, also if you draw say one line and make it a pattern it doesnt tile either as the ends of the line dont make it a complete line,

pattern:



How it looks:

Reply with Quote Reply
May 5th 2003#102221 Report
Member since: Nov 26th 2001
Posts: 2586
K there is an easy way to do what you want....

1. Make a vertical bar using the rectangle marquee.

2. Hit Cntrl-T and make the vertical size, 300%? just make it a lot larger than your image canvas.

3. Then rotate it to the right angle you need. and say OK for the change.

4. Now copy and paste that bar till you have enough of them. Space them out how you feel. Voila.

You can merge them all onto one layer if you need by hitting cntrl - e or going to layer --> merge down.
Reply with Quote Reply
May 5th 2003#102224 Report
Member since: Jul 26th 2002
Posts: 19
but they wont be repeated properly, and still the lines wont be exactly the same as they wont join up together exactly , but besides the problem is how to tile and repeat them, oh well i guess noone knows, never mind, thanks anyway
Reply with Quote Reply
May 6th 2003#102231 Report
Member since: Nov 26th 2001
Posts: 2586
Dude, please.... Hold shift and use the Arrow keys to move them. That way you can move them all an equal amount and they will .... Here I will show you what I can make in about 4 minutes....

**** edit.... k, 4 minutes, including opening PS and uploading it:

http://www.mardala.com/john/test.gif

It might not be exact, but I used the same method I just described above, so please give it a try rather than shoot it down.
Reply with Quote Reply
May 6th 2003#102266 Report
Member since: Apr 9th 2002
Posts: 285
Or you could define a pattern with vertical or horizontal bars (using the method marble mentioned)...and then fill with that pattern on its own layer....and then rotate the pattern to whatever angle you want to use.
Reply with Quote Reply
May 6th 2003#102279 Report
Member since: Jul 26th 2002
Posts: 19
OK Ok sorry, yes i can probably use marbles method to get the lines but what i wanted was how to repeat them, like that they do not tile, but il try look at a texture see how its done then maybe, thanks for all your help guys, sorry to seem impatient
Reply with Quote Reply
Page: 1 2 Back to top
Please login or register above to post in this forum