Search found 38 matches
- Mon Dec 21, 2015 2:03 pm
- Forum: Support and Development
- Topic: Love2d - Simple explanation of graphic system
- Replies: 11
- Views: 4502
Re: Love2d - Simple explanation of graphic system
So what if I call love.graphics.print that is located in another script, inside of the love.draw() function? Don't get me wrong, I've tried testing it and the answer seems to be that it will not work. Here's what I'm trying to do: main.lua love.draw() ui.draw() end ui.lua ui:draw() love.graphics.pri...
- Mon Dec 21, 2015 2:09 am
- Forum: Support and Development
- Topic: Love2d - Simple explanation of graphic system
- Replies: 11
- Views: 4502
Re: Love2d - Simple explanation of graphic system
Okay I have a quick question about the love.draw function: From what i understand, the only way that graphics will be drawn to screen is if the call to love.graphics.draw/print is inside of the love.draw function. Is this really the case? Basically I have another file and in that file is the text i ...
- Sun Dec 20, 2015 8:50 pm
- Forum: Support and Development
- Topic: Love2d/Linux, love.window is a nil value
- Replies: 4
- Views: 1479
Re: Love2d/Linux, love.window is a nil value
That did the trick, now I'm only getting my usual bug errors lol. Thank you for your assistance.
- Sun Dec 20, 2015 7:36 pm
- Forum: Support and Development
- Topic: Love2d - Simple explanation of graphic system
- Replies: 11
- Views: 4502
Re: Love2d - Simple explanation of graphic system
This is only my first week of using love so I havent gotten to read over the whole API yet.
I was in the process of creating my own ui library.
I was in the process of creating my own ui library.
- Sun Dec 20, 2015 6:55 pm
- Forum: Support and Development
- Topic: Love2d/Linux, love.window is a nil value
- Replies: 4
- Views: 1479
Re: Love2d/Linux, love.window is a nil value
It's Linux Mint, and yes, I have love2d version 0.8.0, (rubber piggy)? lol strange
- Sun Dec 20, 2015 6:53 pm
- Forum: Support and Development
- Topic: Love2d - Simple explanation of graphic system
- Replies: 11
- Views: 4502
Re: Love2d - Simple explanation of graphic system
Wow, that was an incredible answer, I thought my question wasn't formatted in a way that anyone would understand but you knocked it out of the park! Well if it's not possible I guess that explains why I was running in circles trying to figure out how to implement that type of system lol. In any case...
- Sun Dec 20, 2015 6:33 pm
- Forum: Support and Development
- Topic: Love2d - Simple explanation of graphic system
- Replies: 11
- Views: 4502
Love2d - Simple explanation of graphic system
I've been reading through tutorials and blog posts about the graphics system but I can't seem to figure out the preferred method of implementing sprite type images. Quads, canvases, images, buffers, which should I use and when? Quads I believe that quads are mostly used to create a sprite from a spr...
- Sun Dec 20, 2015 6:14 pm
- Forum: Support and Development
- Topic: Love2d/Linux, love.window is a nil value
- Replies: 4
- Views: 1479
Love2d/Linux, love.window is a nil value
Hello I recently brought my project over from Windows to a Linux machine. On Windows, everything ran just fine but on Linux I'm not able to run the project from zerobrane using F6. When I attempt to run my project I receive the following: Program starting as '"/usr/bin/love" "/home/be...