佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

楼主: tensaix2j

游戏编程,技术讨论 第五章 : unit design

[复制链接]
 楼主| 发表于 1-11-2008 05:29 PM | 显示全部楼层
简述:

Separation: a boid should avoid his neighbors. To do so, you just need to steer the boid away from the center of his nearest neighbors.



Alignment: a boid tends to align his velocity with his neighbors.



Cohesion: a boid tends to go towards his neighbors
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 13-11-2008 10:03 PM | 显示全部楼层
不晓得有人玩过这个boxhead zombie的 flash game 吗



作者还教你怎么写呢。。。
http://www.games.seantcooper.com/Develop.aspx

but 我看过最美的flash 游戏还是这个
http://www.rocksolidarcade.com/games/robokill/

[ 本帖最后由 tensaix2j 于 13-11-2008 10:11 PM 编辑 ]
回复

使用道具 举报

 楼主| 发表于 14-11-2008 06:10 PM | 显示全部楼层
boxhead zombie 使用的是一个叫flood fill 的方法

http://en.wikipedia.org/wiki/Flood_fill

简单有效。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 22-12-2025 11:15 AM , Processed in 0.127381 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表