• 0

    posted a message on Understanding Problem, need help ...
    Is there any easy way to repeat the background image in a frame?

    i'm not so good at lua coding so i will give you a code example in xhtml/css

    lets say i have an div with 50% width, the browser has a vieport of 1024px so the div has 512px, the problem is, my texture has a width off 50px and is repeatable on the x-axis. in xhtml/css i would code is like this:
    <div id="foo" style="background-repeat: repeat-x;">
     a lot of bar
    </div


    but how i can code such thing in lua?
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.