what should i know in order to code a finite state machine for a text based rpg ?
quote:
Original post by vaneger
what should i know in order to code a finite state machine for a text based rpg ?
Your question is way too general for a precise answer.
Start with the Articles & Resources section right here at GameDev.net and you can find several articles that introduce you to FSMs.
And you can get the book Game Programming Gems I and read the chapter I wrote on FSMs. It has source code included.
And probably the best solution is to use google to search the web for articles and tutorials on FSMs.
After a little of this research, you should have all you need to know about FSMs. Now if your question is about how to "code" or how to "design a text based rpg", then you might try posting them in a different forum.

Good luck,
Eric
Which articles specifically should I be looking at? A search of it on gamedev turns up a few results about articles mentioning FSM but nothing specifically dedicated to the introductory of FSM concept.
--{You fight like a dairy farmer!}

--{You fight like a dairy farmer!}
July 25, 2003 01:10 AM
You might want to look into a lil bit of formal languages (automata/grammar/language theory) as there are some cool relations between ''machines''(or automata as they seem to be called alot these days) and formal languages. Google ''regular languages'' and ''deterministic finite automata''(DFA) and you''ll probably get some cool stuff.
okie thanks, I''ll look into that
--{You fight like a dairy farmer!}

--{You fight like a dairy farmer!}
quote:
Original post by Greatwolf
Which articles specifically should I be looking at? A search of it on gamedev turns up a few results about articles mentioning FSM but nothing specifically dedicated to the introductory of FSM concept.
When I did a search on gamedev for "finite state machines" I got the following reference:
http://www.gamedev.net/reference/articles/article784.asp
Looks pretty introductory to me.
Eric
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement