Little Fighter Empire - Forums
Alectric's BG tut!!! :D - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Sprites (https://lf-empire.de/forum/forumdisplay.php?fid=15)
+---- Forum: Tutorials & Resources (https://lf-empire.de/forum/forumdisplay.php?fid=16)
+---- Thread: Alectric's BG tut!!! :D (/showthread.php?tid=2955)

Pages: 1 2 3


RE: Alectric's BG tut!!! :D - Marshall - 05-29-2009

totally beats the one i made quite a while ago lol


RE: Alectric's BG tut!!! :D - Ascor - 05-29-2009

just noticed that you have the same idea with the stars like me :D


RE: Alectric's BG tut!!! :D - Alectric - 05-30-2009

yeah, since i posted that star tut, i have got a few previews of BG's in progress with a stary sky.
you can use photo's as well people, just use a slight gaussian blur filter.
or if you want clouds, you have to use filter>render>clouds overlayed on a gradient layer.
or make big grey circles everywhere and and smudge like hell.
BP is right about the black bar. its the lazy way, but it works rolleyes

does anybody have any questions about the tut?


RE: Alectric's BG tut!!! :D - dunce326 - 06-20-2009

it so cool :) now i can make a bg by myself, tnx alec for great tutorial :D


RE: Alectric's BG tut!!! :D - Vladuss - 08-04-2009

Lol. nice bg it its amazing 2 play on it


RE: Alectric's BG tut!!! :D - RMaster28 - 08-13-2009

Nice Tut. Thanks. BTW i dont get the coding part for x and y. How do we position where we want our BG objects to be like poles and trees. If i wanted to make trees go in a straight line with 8 how would i do it. Thanks.


RE: Alectric's BG tut!!! :D - Alectric - 08-13-2009

ok, to the first question,
how to find X: and Y:
well, i dont actually know a good method, and thus experiment. Change the values by making a guess on where you think it would be. I dont think there is a mathematical method, so yeah, experiment.
second question,
How to line up a row of trees/objects
this is fairly simple. Have the tree sprite on a layer, with a specific width (you choose what width it has) then, on the next layer, have it placed exactly under it on the DC, and make it have the same width and Y: value, but a different X: value, to move it next to the first tree
it should look a little like this:
    DC-Code:
name: forest
width: 1280   zboundary: 510 550
shadow: bg\sys\forest\s.bmp  shadowsize: 37 9
 
layer: 
  bg\sys\forest\tree.bmp
  transparency: 0  width: 500  x: 0  y: 129
layer_end
 
layer: 
  bg\sys\forest\tree.bmp
  transparency: 0  width: 500  x: 460  y: 129
layer_end


the width is the important thing in this. it makes object scroll slower, to get a better 3D-effect. The X: value should be about the same width of the tree sprite, to move it next to one another.

hope this helped ;)


RE: Alectric's BG tut!!! :D - Silverthorn - 08-13-2009

Technically, you could also use "loop: 460". Would save you 3452456243216354625641654165416 layers :P


@ v: lol


RE: Alectric's BG tut!!! :D - Alectric - 08-13-2009

damnit, i forgot that function completely!
[Image: fuuuuu.png]


RE: Alectric's BG tut!!! :D - RMaster28 - 08-14-2009

Thank you sooo much alectric and blue phoenix. But one quesiton about blue phoenix's post. What is loop: 460
Sorry i am just new to coding backgrounds and want to become good at it.
Also LOL at that pic.