blog.spreendigital.de
Archive Delphi Programming | The curse of Dennis D. Spreen
http://blog.spreendigital.de/category/delphi
The curse of Dennis D. Spreen. A blog about Delphi programming, web and other technical stuff. Pass a multidimensional array as a parameter (with a hidden caveat). Monday, August 1st, 2016. How to pass a multidimensional array as a parameter? Long ago this question was answered on Stack Overflow. With a simple answer: make a specific type for your array. But there is a hidden caveat… › Continue reading. Generic cialis by mail. Best coctail for viagra ciialas. Friday, July 1st, 2016. Delphi 10.1 Berlin.
blog.spreendigital.de
Delphi Programming | The curse of Dennis D. Spreen
http://blog.spreendigital.de/tag/delphi
The curse of Dennis D. Spreen. Can you buy viagra in puerto rico. A blog about Delphi programming, web and other technical stuff. Pass a multidimensional array as a parameter (with a hidden caveat). By cialis from london. Monday, August 1st, 2016. How to pass a multidimensional array as a parameter? Long ago this question was answered on Stack Overflow. With a simple answer: make a specific type for your array. But there is a hidden caveat… › Continue reading. Generic cialis by mail. The program can't st...
godorz.info
Programming - godorz…
http://godorz.info/category/programming
RSS Feed :-) 订阅(墙外). 可惜此后一直未有机会实践. 这两天趁着假期 用C写了实现(github repo). 在游戏AI中, 常见的实现有决策树、状态机等, 它们各自存在着不足. 以状态机FSM为例, 它非常难以通用和扩展, 状态转化的复杂度随着每个新增状态将变得越发缭乱. 考虑到可能存在多个并行的状态机, 它们之间的交互更是复杂交错, 难解难分. 于是大神们创造了行为树(BehaviourTree),. 显而易见, 行为树作为一棵树, 必然有中间节点和叶子节点, 它们分别负责选择节点和执行AI逻辑. 在游戏中, 一般是每帧或者核心状态变化时执行行为树的Update(或称Tick)接口, 该接口从树根开始通过中间节点进行判断, 以此搜索到叶子节点. Enter: 进入叶子节点, 一般用于初始化状态, 分配内存等. Exit: 退出叶子节点, 一般用于清理状态, 回收内存等. 其中, excute/tick的执行结果分为完成和执行中两种运行状态. 行为树每次执行时, 可以从树根开始重新搜索, 也可以记忆最后一个返回执行中的子节点, 从该节点开始执行, 两种方式各有利弊. 代码, 它通过内...