<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Milo的游戏开发_分类_游戏编程</title><id>http://feed.cnblogs.com/blog/u/66551/category/242554/rss</id><updated>2012-06-05T02:38:50Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/miloyip/category/242554.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/66551/category/242554/rss"/><entry><id>http://www.cnblogs.com/miloyip/archive/2011/06/14/alice_madness_returns_hair.html</id><title type="text">爱丽丝的发丝──《爱丽丝惊魂记：疯狂再临》制作点滴</title><summary type="text">今天(2011年6月14日)是《爱丽丝惊魂记：疯狂再临 (Alice: Madness Returns) Xbox360/PlayStation3/PC》(下简称《爱》)正式发售日，身为其开发程序员之一，特撰此文以作纪念。简介《爱》(图1a)是一款由上海独立游戏工作室麻辣马(Spicy Horse)制作、美商电艺(Electronic Arts)发行的惊悚动作冒险游戏。此全乃2000年发行的《爱丽...</summary><published>2011-06-14T08:27:00Z</published><updated>2011-06-14T08:27:00Z</updated><author><name>Milo Yip</name><uri>http://www.cnblogs.com/miloyip/</uri></author><link rel="alternate" href="http://www.cnblogs.com/miloyip/archive/2011/06/14/alice_madness_returns_hair.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/miloyip/archive/2011/06/14/alice_madness_returns_hair.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/miloyip/archive/2010/04/21/1717109.html</id><title type="text">用JavaScript玩转游戏编程(一)掉宝类型概率</title><summary type="text">问题定义游戏(和一些模拟程序)经常需要使用随机数，去应付不同的游戏(或商业)逻辑。本文分析一个常见问题：有N类物件，设第i类物件的出现概率为P(X=i)，如何产生这样的随机变量X？例如对概率的要求是P(X=0)=0.12P(X=1)=0.4P(X=2)=0.4P(X=3)=0.07P(X=4)=0.01输入数组&lt;0.12, 0.4, 0.4, 0.07, 0.01&gt;输出符合以上概率的随...</summary><published>2010-04-21T06:50:00Z</published><updated>2010-04-21T06:50:00Z</updated><author><name>Milo Yip</name><uri>http://www.cnblogs.com/miloyip/</uri></author><link rel="alternate" href="http://www.cnblogs.com/miloyip/archive/2010/04/21/1717109.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/miloyip/archive/2010/04/21/1717109.html"/><content type="text">问题定义游戏(和一些模拟程序)经常需要使用随机数，去应付不同的游戏(或商业)逻辑。本文分析一个常见问题：有N类物件，设第i类物件的出现概率为P(X=i)，如何产生这样的随机变量X？例如对概率的要求是P(X=0)=0.12P(X=1)=0.4P(X=2)=0.4P(X=3)=0.07P(X=4)=0.01输入数组&lt;0.12, 0.4, 0.4, 0.07, 0.01&gt;输出符合以上概率的随...</content></entry></feed>
