Search found 299 matches
- Sun Jun 24, 2012 6:11 pm
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1796
- Views: 1568490
Re: What's everyone working on? (tigsource inspired)
My friends and I have decided to risk our professional and personal futures on pursuing our dream of creating games. And our first title will be a 2D shmup with some fun online aspects to set it apart, among other things. We are working on getting our studio website and project information online so...
- Sat Jun 23, 2012 10:15 am
- Forum: Support and Development
- Topic: Using LuaXML in a .love file
- Replies: 7
- Views: 4362
Re: Using LuaXML in a .love file
Hi, I am trying to deal with an XML file in my love program. I use LuaXML an it works fine, though i have to add a lua.exe in the game directory, which i suppose makes it windows-only, or at least require the user to have Lua installed on other platforms. My problem is that when i try to build the ...
- Fri Jun 22, 2012 11:59 am
- Forum: General
- Topic: Game License
- Replies: 1
- Views: 1516
Game License
Hello all! I would like to know the opinions of experienced LÖVE developers with regard to licenses. When you release your games, what copyright license do you prefer to use and why? This has been a subject of debate on the game I am currently developing. Personally I am someone who prefers to use t...
- Thu Jun 21, 2012 11:15 am
- Forum: General
- Topic: Color Constant Trick
- Replies: 17
- Views: 7882
Re: Color Constant Trick
It works without any errors or problems. I have not tried it, but I'm very sure trying to combine the Colors lib with an alpha value would fail: love.graphics.setColor(Colors.darkOrange, 128) -- I want to apply the color, and some alpha, too This is true; it does fail in this circumstance. Thank yo...
- Thu Jun 21, 2012 5:45 am
- Forum: General
- Topic: Color Constant Trick
- Replies: 17
- Views: 7882
Re: Color Constant Trick
Thanks! Xgoff is correct, however, in that __index() is not even called in my specific example. But the trick could be useful in other situations where you want to unpack() something automatically or modify the behavior of normal table access.
Ah, I do love the power of metatables in Lua
Ah, I do love the power of metatables in Lua
- Thu Jun 21, 2012 1:05 am
- Forum: General
- Topic: Color Constant Trick
- Replies: 17
- Views: 7882
Re: Color Constant Trick
It works without any errors or problems.Xgoff wrote:i'd be surprised if that would work because iirc __index always truncates to 1 return value
Looks like a change added in version 7.0.0. Thanks for pointing this out.also, setColor can take a table directly so you don't need to unpack anyway
- Wed Jun 20, 2012 11:11 pm
- Forum: General
- Topic: Color Constant Trick
- Replies: 17
- Views: 7882
Color Constant Trick
I recently posted a thread asking for some help, and got some great responses. So I wanted to give back by sharing a trick I learned while working on my current game project which others may find useful. I found myself reading writing lots of calls like love.graphics.setColor(96, 85, 64) Unless you ...
- Wed Jun 20, 2012 10:52 pm
- Forum: Support and Development
- Topic: Debugging Tools and Tips
- Replies: 14
- Views: 11447
Re: Debugging Tools and Tips
Thank you everyone for the suggestions and advice.
- Wed Jun 20, 2012 9:34 am
- Forum: Support and Development
- Topic: Debugging Tools and Tips
- Replies: 14
- Views: 11447
Debugging Tools and Tips
Hello everyone! I would like to know what debugging tools you find useful when creating LÖVE games. These can be either specific to LÖVE or more general-purpose tools designed for Lua. I am doing the majority of my work on a Linux box, so I would prefer tools that work well in that environment; howe...