作者qrtt1 (null)
看板Ajax
标题[url] Super Mario in 14kB Javascript
时间Fri Apr 11 12:26:05 2008
http://blog.nihilogic.dk/2008/04/super-mario-in-14kb-javascript.html
<%
Here's an experiment in keeping things small and confined to one Javascript
file. There are no external image files or anything, everything is rendered
with Javascript using either canvas elements or old fashioned div-making
tactics (for IE). The sprites are stored in custom encoded strings in a
format that only allows 4 colors for each sprite but in turn only takes up
around 40-60 bytes per sprite.
%>
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.133.80.216
1F:推 FantasyRyu:……很好很强大 04/11 19:45
2F:推 kennyliao:太神了 Orz 04/11 22:20
3F:→ grence:没有香菇、下水道,也没有敲不完的金币XD 04/12 00:09
4F:推 motokare:酷毙了!!!!! 04/12 13:36
5F:推 vip82:死了还可以跳XDD 04/12 20:35
6F:推 abgne:别太苛求他了嘛... 04/13 10:38
7F:推 okdla:好难玩喔!!过关了还反白!! 04/13 18:32
8F:推 kkc:好厉害喔!! 04/14 20:54