Search found 395 matches

by Kingdaro
Wed Aug 18, 2010 7:00 pm
Forum: Games and Creations
Topic: Beat Jam - My Epix new rhythm game!
Replies: 18
Views: 8702

Re: Beat Jam - My Epix new rhythm game!

Hey guys, whether you care or not, I'm letting you know the project is still being worked on, and I'm thinking about a new gameplay mechanic, 5 key gameplay with an effects key. (Beatmania IIDX Scratch key sorta thing.) Also, the notes generation from file is a go, the music being worked on, as well...
by Kingdaro
Sat Jul 31, 2010 2:50 pm
Forum: Games and Creations
Topic: Beat Jam - My Epix new rhythm game!
Replies: 18
Views: 8702

Re: Beat Jam - My Epix new rhythm game!

I've gotten around this, and I'm working on note generation from file.
by Kingdaro
Mon Jul 19, 2010 1:32 am
Forum: General
Topic: Avatars: OBEY!
Replies: 735
Views: 307565

Re: Avatars: OBEY!

Luiji wrote:Read the beginning of this forum topic. :cool:
I did, I just made a reaction, like you guys wanted ^^
by Kingdaro
Sun Jul 18, 2010 10:11 pm
Forum: Support and Development
Topic: How to use (file):lines()?
Replies: 7
Views: 790

Re: How to use (file):lines()?

Robin wrote:OK, then what is the problem?
I send the command once, it fires it repeatedly.

EDIT: Never mind, fixed. But how do I make it wait, say half a second, between line readings?
by Kingdaro
Sun Jul 18, 2010 8:43 pm
Forum: Support and Development
Topic: How to use (file):lines()?
Replies: 7
Views: 790

Re: How to use (file):lines()?

I did, technecally, put it in love.load. Here's what I did, in reality. function love.load() file = love.filesystem.newFile("song.txt") file:open("r") generate() end function generate() for i in file:lines() do for v=1, 4 do if string.sub(i,v,v) == "1" then body = love.physics.newBody(world,(v-1)*64...
by Kingdaro
Sun Jul 18, 2010 8:41 pm
Forum: Games and Creations
Topic: Beat Jam - My Epix new rhythm game!
Replies: 18
Views: 8702

Re: Beat Jam - My Epix new rhythm game!

Midis...I never thought of that actually, that's an awesome idea, and I didn't even know LOVE was that powerful! XD I don't know about midis. Also, another question. How would you go through all the lines in a file using "for i=1, #lines do", "i" being the current line read, and "lines" being the t...
by Kingdaro
Sun Jul 18, 2010 8:06 pm
Forum: Support and Development
Topic: How to use (file):lines()?
Replies: 7
Views: 790

Re: How to use (file):lines()?

bartbes wrote:

Code: Select all

for line in file:lines() do
    print(line)
end
prints all lines in the file file.
If there was a rep system, I'd rep you. Thank you!

But how do I make it so it only does it ONCE? It keeps doing it over and over >.<
by Kingdaro
Sun Jul 18, 2010 7:45 pm
Forum: Support and Development
Topic: How to use (file):lines()?
Replies: 7
Views: 790

How to use (file):lines()?

I went to the wiki to learn how to read a file line by line, but I came across this: iterator = File:lines() returns function(?) iterator I'm sitting here confused wondering what the heck this means. How would you go through all the lines in the file using this err...function? I've never really work...
by Kingdaro
Sun Jul 18, 2010 6:29 pm
Forum: Games and Creations
Topic: Beat Jam - My Epix new rhythm game!
Replies: 18
Views: 8702

Re: Beat Jam - My Epix new rhythm game!

Midis...I never thought of that actually, that's an awesome idea, and I didn't even know LOVE was that powerful! XD The notes are randomly generated, so any amount can come at any time. A highlight area would also be a good idea. Thanks for the feedback. Also, another question. How would you go thro...
by Kingdaro
Sun Jul 18, 2010 8:14 am
Forum: Games and Creations
Topic: Beat Jam - My Epix new rhythm game!
Replies: 18
Views: 8702

Beat Jam - My Epix new rhythm game!

Right now it's just the engine, no flashy graphics or anything. Use the number keys 1-4 to hit the notes falling to the red bar. Right now the notes are randomly generated, but I plan to make it so you can load songs from a .txt file so the notes go with the music. If I added music now, you'd be try...