Search found 5 matches

by a neobum
Fri Apr 06, 2012 3:12 pm
Forum: General
Topic: Text adventures & state machines (a newb approaches!)
Replies: 16
Views: 12343

It did clear a lot up for me, yeah. As before, I'll fiddle with it and see what I can come up with. Thanks a bunch.
by a neobum
Thu Apr 05, 2012 2:00 am
Forum: General
Topic: Text adventures & state machines (a newb approaches!)
Replies: 16
Views: 12343

That much I gathered and I was told that it's far from a smooth implementation. But I was hoping somebody would walk me through the process; function by function and explain what's doing what to what, in what order, why things are where they are and so on. Yes, folks, I'm really that thick.
by a neobum
Wed Apr 04, 2012 11:25 pm
Forum: General
Topic: Text adventures & state machines (a newb approaches!)
Replies: 16
Views: 12343

Thanks a bunch, guys. You people are the best. But I'm beginning to fear that I might be a lost cause. I wonder what you guys would make of the following code: function love.load() love.graphics.setFont(12) StateManager = {} function StateManager:processKey(key) local returnState = self.state.action...
by a neobum
Fri Mar 30, 2012 10:16 pm
Forum: General
Topic: Text adventures & state machines (a newb approaches!)
Replies: 16
Views: 12343

I realize full well that I didn't have a state machine but I didn't even have an inkling as to how I should make one. Since my original post I had an acquaintance write me up the program I described but I've had no end of trouble trying to reverse-engineer it. At first glance your post seems to have...
by a neobum
Fri Mar 30, 2012 7:29 pm
Forum: General
Topic: Text adventures & state machines (a newb approaches!)
Replies: 16
Views: 12343

Text adventures & state machines (a newb approaches!)

Hi, guys! I should start by saying that until a week ago I'd never written a line of code in my life. But my head is bursting with game ideas and after some searching I stumbled across Lua and Löve and it seemed the best of possible places to start. I quickly fell in löve (I'm sorry but these damn p...