Search found 5 matches
- Wed Mar 27, 2013 2:40 am
- Forum: Support and Development
- Topic: When to use love.load()?
- Replies: 1
- Views: 1564
When to use love.load()?
I don't understand the purpose of love.load(). It loads all data within the function before the window is created, but what's the point in using it, as opposed to simply putting data outside the function? ie: rat = love.graphics.newImage("rat.png") VS function love.load() rat = love.graphi...
- Thu Jan 24, 2013 1:07 am
- Forum: Support and Development
- Topic: Setting and getting an accurate FPS?
- Replies: 1
- Views: 2877
Setting and getting an accurate FPS?
I found some code on the Love2D wiki for locking the FPS of my game to a specified amount at https://love2d.org/wiki/love.timer.sleep . Visibly it seems to be working (in my project), but love.timer.getFPS() is reporting numbers other than what I set the FPS to. Attached is a .love file that shows t...
- Fri Jan 11, 2013 9:49 pm
- Forum: Support and Development
- Topic: Can Love2D display multiple windows?
- Replies: 6
- Views: 3751
Can Love2D display multiple windows?
I've browsed through the wiki and couldn't find anything that hinted at it.
- Tue Jan 01, 2013 11:35 pm
- Forum: Support and Development
- Topic: Trouble handling collision using Advanced Tiled Loader
- Replies: 1
- Views: 1993
Trouble handling collision using Advanced Tiled Loader
I'm using https://github.com/Kadoba/Advanced-Tiled-Loader/wiki to handle map loading from Tiled, but I'm having difficulty getting the coordinates of individual tiles. I had planned to iterate through every tile and check for if tile.properties.solid == true and tile.x >= (etc..) but I can't pull th...
- Tue Dec 25, 2012 4:41 am
- Forum: Support and Development
- Topic: Need help formatting imageFonts
- Replies: 3
- Views: 1800
Need help formatting imageFonts
I need help getting an imageFont to format correctly; Capture2.PNG The first line is how you'd organize your font so it can be read by Love, from what I understand of https://love2d.org/wiki/ImageFontFormat . The second line shows how Love would render the font after a love.graphics.print('ABCDE') T...