Search found 6 matches

by Calahagus
Thu Jun 20, 2013 11:23 pm
Forum: Support and Development
Topic: Drawing images in another script?
Replies: 2
Views: 2476

Drawing images in another script?

So I have a bit of a problem when I use "function love.draw ()" in a script other than my main one. I use "require("scriptname")" to load that script but when I use the draw function it draws the things from that script only, with a black screen covering up everything f...
by Calahagus
Sat Jun 15, 2013 9:06 pm
Forum: Support and Development
Topic: Changing the brightness of a graphics.draw object?
Replies: 5
Views: 3749

Re: Changing the brightness of a graphics.draw object?

Robin wrote:If you just want to darken it, you can use setColor with a gray color.
This worked perfectly, should have thought of it myself. Thanks!
by Calahagus
Sat Jun 15, 2013 9:03 pm
Forum: Support and Development
Topic: [SOLVED] How to read a specific line of a file
Replies: 3
Views: 2127

[SOLVED] How to read a specific line of a file

EDIT: I'm an idiot and got it working. Alright, get yourselves ready for a noobie question. I don't understand how I'd read a specific line of a .txt file. I'm looking to draw lines of dialogue from a text file outside of my main script, so currently I'm defining the file like this... jewelText = l...
by Calahagus
Sat Jun 15, 2013 4:46 pm
Forum: Support and Development
Topic: Changing the brightness of a graphics.draw object?
Replies: 5
Views: 3749

Changing the brightness of a graphics.draw object?

Just as the title says. Is there a function that I can use to change how bright an image I draw is, or do I have to do that outside of LOVE?
by Calahagus
Thu Jun 06, 2013 2:04 am
Forum: Support and Development
Topic: Newbie Question: How to force the screen to a specific size?
Replies: 5
Views: 4068

Re: Newbie Question: How to force the screen to a specific s

slime wrote:You can use love.graphics.setMode in love.load.
Thank you very much!
by Calahagus
Thu Jun 06, 2013 1:18 am
Forum: Support and Development
Topic: Newbie Question: How to force the screen to a specific size?
Replies: 5
Views: 4068

Newbie Question: How to force the screen to a specific size?

Just as the topic says. I've looked around the documentation but it's all very new to me; I just want to know how to make the screen a specific size. Thanks for the help!