当前位置:首页 » 操作系统 » 十周年源码

十周年源码

发布时间: 2025-03-10 10:42:09

Ⅰ 《弹弹跳跳闪避人(VVVVVV)》:赶鸭子上架的游戏与勉强跑起来的代码

透过 X 光看《弹弹跳跳闪避人(VVVVVV)》,这是一款由特里·卡瓦纳特里在十周年纪念日开源的游戏。

开源代码,让玩家得以窥见游戏背后的代码世界,但《弹弹跳跳闪避人》的源代码却引起争议,被批评为“一团糟”。特里在博客中坦承,从技术角度看,游戏开发并非完美之作,且在独立开发者眼中显得粗糙。

开发过程复杂,涉及策划、音效等多模块,游戏最后阶段代码往往杂乱无章,只能勉强运行。游戏开发者詹姆斯·帕顿表示,每款游戏开发末期都是“赶鸭子上架”,祈祷拼凑出的代码能运行。

詹姆斯·辛普森则指出,游戏开发需多个模块协同,时间紧迫时开发者需牺牲个人时间。即便代码不完美,项目仍能运行。开源后的《弹弹跳跳闪避人》代码混乱,功能代码混杂,引发讨论。

扎克·盖奇提到,特里在开发初期未预见所有情况,代码未进行合理组织,而是仓促拼凑。这种做法在游戏发布前常见,为应对突发情况。但在热门游戏《荒诞钓鱼》中,代码混乱也未影响游戏品质。

盖奇解释,游戏中意外情况频发,重构代码意味着暂停制作新内容。开发过程中,关注破坏游戏体验的 bug 和优化玩家体验更为重要。完美主义在游戏开发中并无益处。

开源《弹弹跳跳闪避人》虽引发争议,特里却以幽默态度面对。他承认年轻时更注重视觉与体验,而不是代码质量,但开源项目证明非专业程序员也能创作游戏。《弹弹跳跳闪避人》的故事,揭示游戏开发背后的挑战与乐趣。

Ⅱ 寻一段很多网站非常常见的源码

上面这个网页是你做的吗?
如果不是你做的,那么我告诉你这个网页不是用FLASH做的

如果你的意思是这样的网页,直接用它的源码就行了。
否则的话,可以用flash来做一个,真的不难的啦。。
<html>

<head>

<title>无标题文档</title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<div style="display:none">
<table id="pictable" width="230" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width='230'align="center" valign="top">/EnpPubImg/20070402/xin_2820404021458760324152.jpg</td>
<td width='230' align="center" valign="top">九成女博士生生活幸福 非“灭绝师太”</td>
<td width='230' align="center" valign="top">http://news.xinhuanet.com/e/2007-04/02/content_5923371.htm</td>
</tr> <tr> <td width='230'align="center" valign="top">/EnpPubImg/20070402/xin_33204040210114461795413.jpg</td>
<td width='230' align="center" valign="top">香港各界青少年庆回归十周年活动启动</td>
<td width='230' align="center" valign="top">http://news.xinhuanet.com/e/2007-04/02/content_5923058.htm</td>
</tr> <tr>
<td width='230'align="center" valign="top">/EnpPubImg/20070330/xin_302030430133957409375.jpg</td>
<td width='230' align="center" valign="top">07年全国硕士研究生招考复试分数线</td>
<td width='230' align="center" valign="top">http://news.xinhuanet.com/e/2007-03/29/content_5911795.htm</td>
</tr> <tr>
<td width='230'align="center" valign="top">/EnpPubImg/20070330/xin_24203043014125321752254.jpg</td>
<td width='230' align="center" valign="top">哈利•波特十年:“魔法石”到“死亡圣徒”</td>
<td width='230' align="center" valign="top">http://news.xinhuanet.com/e/2007-03/29/content_5913533.htm</td>
</tr> </table>
</div>
<SCRIPT type=text/javascript>

<!--

var focus_width=230;

var focus_height=197;

var text_height=25;

var swf_height = focus_height+text_height;

var t=document.getElementById("pictable");

var rl=t.rows.length;

var baseu= document.URL.replace(/(http.*\/)(.*)/, "$1");

var pics=""; var links=""; var texts="";

for (var i=0;i<rl;i++) {

pics+=baseu+t.rows[i].cells[0].innerText.replace(/\/.*\//, "")+"|";

links+=t.rows[i].cells[2].innerText+"|";

texts+=t.rows[i].cells[1].innerText+"|";

}

pics=pics.substr(0,pics.length-1);

links=links.substr(0,links.length-1);

texts=texts.substr(0,texts.length-1);

var fv="pics="+pics+"&links="+links+"&texts="+texts+"&borderwidth="+focus_width+"&borderheight="+focus_height+"&textheight="+text_height;

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="'+focus_width+'" height="'+swf_height+'">');

document.write('<param name="movie" value="http://imgs.xinhuanet.com/swf/pv.swf"> <param name="quality" value="high"><param name="allowScriptAccess" value="sameDomain"><param name="menu" value="false"><param name="bgcolor" value="#ffffff"><param name="wmode" value="opaque">');

document.write('<param name="flashvars" value="'+fv+'"></object>');

//-->

</SCRIPT>
</body>

</html>

热点内容
抽象接口php 发布:2025-03-10 15:09:14 浏览:803
tomcat配置ip地址访问 发布:2025-03-10 14:54:54 浏览:689
注册淘宝密码多少 发布:2025-03-10 14:49:03 浏览:558
文件上传设备 发布:2025-03-10 14:47:47 浏览:498
江西l2tp服务器托管云服务器 发布:2025-03-10 14:47:38 浏览:885
微信如何给钱包设置手势密码 发布:2025-03-10 14:46:55 浏览:229
江苏服务器如何 发布:2025-03-10 14:46:17 浏览:179
可编程交直流电源 发布:2025-03-10 14:40:19 浏览:569
c语言编程软件安装教程 发布:2025-03-10 14:20:01 浏览:85
java判断变量类型 发布:2025-03-10 14:19:50 浏览:578