Search found 395 matches
- Thu Mar 24, 2016 4:19 pm
- Forum: General
- Topic: I am an unfortunate victim of perfectionism.
- Replies: 13
- Views: 7277
I am an unfortunate victim of perfectionism.
I am making this topic because I am absolutely fed up with the way I do things. Rather, the way I don't do things. I've managed to "finish" a few games, but only incredibly small games compared to those only slightly larger in scale that I'd like to complete. I'm no professional, but I've ...
- Mon Mar 21, 2016 3:58 am
- Forum: General
- Topic: Your must-have LÖVE libraries for new projects
- Replies: 11
- Views: 10540
Re: Your must-have LÖVE libraries for new projects
I was actually curious about that when I saw it. Is the whole of the new interface going to still be object-oriented, or are you going with something different? Maybe post example code of the new API's usage? Somewhat off-topic: I feel like UI is a pretty significant hole right now in libraries. Thr...
- Mon Mar 21, 2016 3:20 am
- Forum: General
- Topic: Modules and scope
- Replies: 9
- Views: 5352
Re: Modules and scope
I'll add that, I understand the reason for the "locals only" approach when using Lua, but in my opinion it's really just not worth it a lot of the time. I've never bothered. I always just define my game classes/objects as global variables and require them all in main.
- Fri Mar 18, 2016 4:37 am
- Forum: Libraries and Tools
- Topic: Fäncy, a small lib to see your variables
- Replies: 2
- Views: 2253
Re: Fäncy, a small lib to see your variables
I like it. Being able to drag around the UI is a nice touch.
- Tue Mar 15, 2016 1:06 am
- Forum: Support and Development
- Topic: Filesystem not working properly on Android?
- Replies: 4
- Views: 2631
Re: Filesystem not working properly on Android?
Here's what the root path shows from my computer: https://dl.dropboxusercontent.com/s/k1o883gup5hi28z/explorer_2016-03-14_21-04-57.png?dl=0 And from my phone: https://dl.dropbox.com/s/ymolr563rd11xrh/tempFileForShare_2016-03-14-20-57-20.jpg In both cases, the 'data' folder looks like this: https://d...
- Mon Mar 14, 2016 7:06 pm
- Forum: Support and Development
- Topic: Filesystem not working properly on Android?
- Replies: 4
- Views: 2631
Re: Filesystem not working properly on Android?
No, I meant that I can't see the files on my phone when I look at them on my PC. The save directory works fine on my PC.
- Mon Mar 14, 2016 6:15 am
- Forum: Support and Development
- Topic: Very basic problem with Font:getWidth/getHeight
- Replies: 6
- Views: 2993
Re: Very basic problem with Font:getWidth/getHeight
I'm willing to bet there's no font set yet. You're going to want to make a new font instead. local font = love.graphics.newFont(24) obj.w = font:getWidth(obj.text) obj.h = font:getHeight(obj.text) table.insert(UserInterface.drawables, obj) However, make sure you only make it once and put it somewher...
- Mon Mar 14, 2016 6:10 am
- Forum: Support and Development
- Topic: Pygame Rect in Love?
- Replies: 16
- Views: 7287
Re: Pygame Rect in Love?
It's fairly trivial to make your own. Here's a part of the implementation I use: Rect = {} Rect.__index = Rect function Rect.new(width, height, ...) local self = setmetatable({}, Rect) self.x, self.y = 0, 0 self.width = width self.height = height if ... then self:setPoint(...) end return self end fu...
- Mon Mar 14, 2016 12:15 am
- Forum: Support and Development
- Topic: Filesystem not working properly on Android?
- Replies: 4
- Views: 2631
Filesystem not working properly on Android?
Apologies in advance if there's a thread or issue on this and I've missed it. I own a Samsung Galaxy Note 5, and I'm attempting to access the love2d save directory on both my phone and from my PC (Windows 10), but it doesn't seem to exist when I look through either of them. The directory is reported...
- Mon Feb 22, 2016 12:08 am
- Forum: Libraries and Tools
- Topic: Sodapop - sprite and animation library
- Replies: 4
- Views: 4395
Re: Sodapop - sprite and animation library
This looks really great. Nice work.