Search found 395 matches

by Kingdaro
Sun Jul 18, 2010 6:27 am
Forum: Support and Development
Topic: text based game
Replies: 22
Views: 3437

Re: text based game

supertails wrote:I'm doing that on linux.
Oh. Dang. Remember, my drawText thing was incorrect, and just an example. Look up on the wiki for the Hello World example to get an idea on how to ACTUALLY draw text.

As for the tank, did you name your .lua file "main.lua"?
by Kingdaro
Sun Jul 18, 2010 6:04 am
Forum: Support and Development
Topic: text based game
Replies: 22
Views: 3437

Re: text based game

supertails wrote:I inserted the text and made the .love file but when ever I open it, it just shows the love tank.
That's how you shouldn't test an incomplete game. Put your script[s] in one folder, than drag that folder onto the LOVE.exe icon or the desktop shortcut.
by Kingdaro
Sun Jul 18, 2010 5:44 am
Forum: Support and Development
Topic: text based game
Replies: 22
Views: 3437

Re: text based game

Unless you want a retarded sentence generator, yes.

And I mean like for the text box, that was my example, and when they pressed the "enter" key, it would send and check. If not a valid answer, say so, and if so, would direct to the right place.
by Kingdaro
Sun Jul 18, 2010 5:30 am
Forum: General
Topic: Avatars: OBEY!
Replies: 735
Views: 300040

Re: Avatars: OBEY!

Why do all the avatars say "OBEY"? O.o
by Kingdaro
Sun Jul 18, 2010 5:27 am
Forum: Support and Development
Topic: text based game
Replies: 22
Views: 3437

Re: text based game

Here's how I would do it: text = "" function keypressed(key) text = text ..key end function love.draw() love.graphics.drawText(text,400,300) --I KNOW ITS WRONG, JUST AN EXAMPLE. end And you know, it checks to see if text is a specific value...and then sets it back to "". So as a short answer: Yes, y...