Search found 5 matches
- Fri Apr 06, 2012 3:12 pm
- Forum: General
- Topic: Text adventures & state machines (a newb approaches!)
- Replies: 16
- Views: 13253
- Thu Apr 05, 2012 2:00 am
- Forum: General
- Topic: Text adventures & state machines (a newb approaches!)
- Replies: 16
- Views: 13253
- Wed Apr 04, 2012 11:25 pm
- Forum: General
- Topic: Text adventures & state machines (a newb approaches!)
- Replies: 16
- Views: 13253
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...
- Fri Mar 30, 2012 10:16 pm
- Forum: General
- Topic: Text adventures & state machines (a newb approaches!)
- Replies: 16
- Views: 13253
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...
- Fri Mar 30, 2012 7:29 pm
- Forum: General
- Topic: Text adventures & state machines (a newb approaches!)
- Replies: 16
- Views: 13253
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...