Search found 6 matches

by n0ug4t
Wed Jul 06, 2011 8:28 pm
Forum: Support and Development
Topic: Images help
Replies: 7
Views: 4031

Re: Images help

Thanks again.
by n0ug4t
Wed Jul 06, 2011 8:18 pm
Forum: Support and Development
Topic: How do I use LÖVE?
Replies: 5
Views: 3298

Re: How do I use LÖVE?

What do you mean 'use' LOVE? What are you trying to do?
by n0ug4t
Wed Jul 06, 2011 8:09 pm
Forum: Support and Development
Topic: Images help
Replies: 7
Views: 4031

Re: Images help

@Noble
Images are in the same folder as the main.lua file, I wouldn't suspect problems with the file path. Although I did notice that LOVE removes backslashes (\). Any way to get around that for files stored in other places?

@Nevon
PO2 syndrome seemed to be the culprit. Thanks a bunch. Karma++
by n0ug4t
Wed Jul 06, 2011 7:56 pm
Forum: Support and Development
Topic: Images help
Replies: 7
Views: 4031

Images help

I am trying to display an image on screen, but when I draw it all I'm getting is a white box. Here's the main.lua:

Code: Select all

function love.load()
	img = love.graphics.newImage("tile0.png")
end

function love.draw()
	love.graphics.draw(img)
end
Am I doing something wrong with the .draw method?
by n0ug4t
Tue Jul 05, 2011 11:37 pm
Forum: Support and Development
Topic: What is a triangle "mode"?
Replies: 2
Views: 2757

Re: What is a triangle "mode"?

Thanks!
by n0ug4t
Tue Jul 05, 2011 11:20 pm
Forum: Support and Development
Topic: What is a triangle "mode"?
Replies: 2
Views: 2757

What is a triangle "mode"?

I'm new to LOVE (but not to Lua) and in the love.graphics module there's a triangle. I looked at the triangle and the first argument is "mode." Playing around with it I know now it's a string value, but I don't know what string values are valid. So, what is mode?