Search found 20 matches

by lesslucid
Sat Apr 16, 2011 2:30 am
Forum: Support and Development
Topic: Help me decide what to do next?
Replies: 30
Views: 8022

Re: Help me decide what to do next?

Thankyou both for your help! ...I think the problem with trying to make something I'm excited about is that the kind of thing I find firing my imagination tends to be some kind of big, complex, absurdly over-ambitious project, and my technical skills fall a long way short of even starting on somethi...
by lesslucid
Thu Apr 14, 2011 2:31 pm
Forum: Support and Development
Topic: Help me decide what to do next?
Replies: 30
Views: 8022

Help me decide what to do next?

Hi, Slow but determined beginner here. I've just "finished", sort of, making a pong clone with love. I want to embark on another project in order to learn Love & lua. What should I do next? Improve my pong game (with lives, an intro screen, instructions, &c?) Improve the code of my pong game so it's...
by lesslucid
Sun Mar 27, 2011 12:19 pm
Forum: Support and Development
Topic: Strange Audio thing: sound sometimes doesn't play
Replies: 13
Views: 934

Re: Strange Audio thing: sound sometimes doesn't play

So I guess what's wanted here is a Sound class, which everytime you want it to play, a new source will be created. ...also, this prompts me to ask a really dumb question: I read somewhere that Lua is not an object-oriented language, although it's possible to add an object system through a module or...
by lesslucid
Sun Mar 27, 2011 10:27 am
Forum: Support and Development
Topic: Strange Audio thing: sound sometimes doesn't play
Replies: 13
Views: 934

Re: Strange Audio thing: sound sometimes doesn't play

So, I made two sounds from the same wav file, called Blop and Blup. Each bat plays a different one, and now it works!

...but if I discover a need for a more complex sound system, I'll definitely check out TEsound. :)
by lesslucid
Sun Mar 27, 2011 6:53 am
Forum: Support and Development
Topic: Strange Audio thing: sound sometimes doesn't play
Replies: 13
Views: 934

Strange Audio thing: sound sometimes doesn't play

I've been writing a simple pong game as a way of teaching myself how to use love, and I've run into something weird... I've set up a sound to play each time the ball hits either the player's bat or the enemy bat. However, despite using what is to my eye identical code, the sound does play when it hi...
by lesslucid
Mon Mar 21, 2011 6:13 am
Forum: Support and Development
Topic: Indexing strings in Lua?
Replies: 14
Views: 1300

Re: Indexing strings in Lua?

Wow, I'm impressed that that's possible... thanks!
by lesslucid
Sun Mar 20, 2011 11:36 am
Forum: Support and Development
Topic: Indexing strings in Lua?
Replies: 14
Views: 1300

Re: Indexing strings in Lua?

Ah, wonderful, thankyou both!
by lesslucid
Sun Mar 20, 2011 11:07 am
Forum: Support and Development
Topic: Indexing strings in Lua?
Replies: 14
Views: 1300

Re: Indexing strings in Lua?

Thanks for your advice! ...I'm still a little lost, though. :( If I had some way to index characters in a string, I could write a tablifyString function, like this: function tablifyString(str) local tempTable = {} for i, char in ipairs(str) temptable[i] = str[i] end return tempTable end Or something...
by lesslucid
Sun Mar 20, 2011 10:41 am
Forum: Support and Development
Topic: Indexing strings in Lua?
Replies: 14
Views: 1300

Indexing strings in Lua?

Hallo, I'm just trying to work my way through some tutorials and there's something that I find quite confusing. I thought I'd make my own simpler version by using the indices of a string to create a table and write a function so that, eg -> tablifyString("word") -- would produce the output { "w", "o...
by lesslucid
Sun Mar 20, 2011 8:45 am
Forum: General
Topic: Offline LÖVE documentation for download
Replies: 90
Views: 97547

Re: Offline LÖVE documentation for download

Useful, thanks!