Groups
Groups
Sign in
Groups
Groups
game.dev.top
Conversations
About
Send feedback
Help
关于FPS中的有限状态机
25 views
Skip to first unread message
Neo Wind
unread,
Mar 20, 2012, 4:17:01 AM
3/20/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to game.dev.top
我尝试在一个FPS游戏中通过有限状态机来实现角色的控制,角色的状态类该如何定义呢?有些迷惑:
根据我的理解和了解,角色状态定义如下:
空闲
空闲 + (跳、下蹲、射击、换子弹、换枪)
走
走 + (跳、下蹲、射击、换子弹、换枪)
我的状态定义得是否过细,繁多?FPS游戏中一般是如何使用状态机的呢?
dogvane Huang
unread,
Mar 20, 2012, 8:57:37 PM
3/20/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gamed...@googlegroups.com
是不是考虑用过个状态机来管理状态,单一一个状态机模式貌似不够用。
Reply all
Reply to author
Forward
0 new messages