Search found 98 matches
- Fri Nov 26, 2010 12:13 am
- Forum: Libraries and Tools
- Topic: No Comment
- Replies: 40
- Views: 22927
Re: No Comment
But your table is not completely correct. Well, it's not really my table, I just used a regular expression to convert com_1's string. :) Mostly I just wanted to show him how he could save some work by using Lua more idiomatically. it is probably simpler to do this: love.graphics.print(u .. " &...
- Thu Nov 25, 2010 10:21 pm
- Forum: Libraries and Tools
- Topic: No Comment
- Replies: 40
- Views: 22927
Re: No Comment
No need to do all that parsing yourself. Lua can do it for you (really fast): local scrx, scry = 640, 480 local keys = { 'a','b','c','d','e','f','g','h','i','j','k','l','m','keyn','o','p','q','r','s','t','u','v','w','x','y','z', '0','1','2','3','4','5','6','7','8','9','(space)','!','#','$','&','...
- Tue Nov 23, 2010 10:28 pm
- Forum: Games and Creations
- Topic: Cannonship - 2d shooter
- Replies: 15
- Views: 10727
Re: Cannonship - 2d shooter
Apparently, that's when it was created, short for "mobile unit" in MUD1. I first heard it when playing WoW, where players use it to refer to hostile units (monsters).nevon wrote:The earliest that I've heard was during the MUD days
- Tue Nov 23, 2010 7:08 pm
- Forum: Libraries and Tools
- Topic: Suggestion/inspiration for a physics puzzler
- Replies: 2
- Views: 1632
Re: Suggestion/inspiration for a physics puzzler
Yeah, I quit because the puzzle's sucked. To be fair, the author acknowledges that fact.arquivista wrote:I feel that idea is good but somehow badly used (bad puzzles/levels).
But yeah, it would take an hour to duplicate the core of that engine in Love, and a few hours more to write a decent level editor for it.
- Mon Nov 22, 2010 9:07 pm
- Forum: Libraries and Tools
- Topic: Watch the stars fly!
- Replies: 20
- Views: 8540
Re: Watch the stars fly!
I'm much more comfortable with using for i=1, #table [..] I never really bothered to get the concept of pairs/ipairs Iterating arrays that way can be faster (eliminating iterator function call overhead), but only if you index the table you're iterating no more than ~1-2 times in the loop body, and ...
- Mon Nov 22, 2010 12:03 am
- Forum: Libraries and Tools
- Topic: Watch the stars fly!
- Replies: 20
- Views: 8540
Re: Watch the stars fly!
Here's an attempt at using the particle system for a star field (move mouse around to 'turn'): local stars, center function love.load() center = { x = love.graphics.getWidth()/2, y = love.graphics.getHeight()/2, } stars = love.graphics.newParticleSystem( love.graphics.newImage('fire.png'), 300 ) sta...
- Sat Nov 20, 2010 2:16 am
- Forum: Support and Development
- Topic: How do I use Komodo IDE with love2d?
- Replies: 4
- Views: 3069
Re: How do I use Komodo IDE with love2d?
Well, I've never used (or heard of) Komodo, but "%F" looks like a macro for the current filename. You should lookup it's macro for the current directory or the directory portion of the current file's path. You may also need to add Love to the path, or using the fully qualified path to Love...
- Fri Nov 19, 2010 3:03 am
- Forum: Support and Development
- Topic: love.audio.setVolume()
- Replies: 7
- Views: 1918
Re: love.audio.setVolume()
What does the f mean? I assume float? Get me 0.59999996423721? I would have thought it'd be, you know, .6. It's a number very close to .6. What you're seeing is just an artifact of how numbers are stored in the computer. If you're in Windows, bring up Calc can compute the sqrt(4)-2 for a laugh. :)
- Thu Nov 18, 2010 11:50 am
- Forum: Support and Development
- Topic: Vine AI graphics.
- Replies: 5
- Views: 1844
Re: Vine AI graphics.
Holy crap! It's the grapist!arquivista wrote:http://assets.kaboose.com/media/00/00/0 ... 76x357.jpg
- Thu Nov 18, 2010 10:04 am
- Forum: Games and Creations
- Topic: Zombie Game
- Replies: 36
- Views: 11152
Re: Zombie Game
Switched it to the new version (original post updated).arquivista wrote:Well seems nice but you did the things in the version without 2nd type of mob.