当前位置:首页 > 编程知识 > 正文内容

黑客帝国代码对照表(黑客帝国代码图)

hacker2年前 (2022-07-13)编程知识95

本文目录一览:

黑客帝国--绿色字母雨代码--知道的进

BODY

script language="JavaScript"

!--

if (document.all){

Cols=6;

Cl=24;//Space's are included so real length is 48!

Cs=10;

Ts=10;

Tc='#008800';

Tc1='#00ff00';

MnS=20;

MxS=30;

I=Cs;

Sp=new Array();S=new Array();Y=new Array();

C=new Array();M=new Array();B=new Array();

RC=new Array();E=new Array();Tcc=new Array(0,1);

document.write("div id='Container' style='position:absolute;top:0;left:-"+Cs+"'");

document.write("div style='position:relative'");

for(i=0; i Cols; i++){

S[i]=I+=Cs;

document.write("div id='A' style='position:absolute;top:0;font-family:Arial;font-size:"

+Ts+"px;left:"+S[i]+";width:"+Ts+"px;height:0px;color:"+Tc+";visibility:hidden'/div");

}

document.write("/div/div");

for(j=0; j Cols; j++){

RC[j]=1+Math.round(Math.random()*Cl);

Y[j]=0;

Sp[j]=Math.round(MnS+Math.random()*MxS);

for(i=0; i RC[j]; i++){

B[i]='';

C[i]=Math.round(Math.random()*1)+' ';

M[j]=B[0]+=C[i];

}

}

function Cycle(){

Container.style.top=window.document.body.scrollTop;

for (i=0; i Cols; i++){

var r = Math.floor(Math.random()*Tcc.length);

E[i] = 'font color='+Tc1+''+Tcc[r]+'/font';

Y[i]+=Sp[i];

if (Y[i] window.document.body.clientHeight){

for(i2=0; i2 Cols; i2++){

RC[i2]=1+Math.round(Math.random()*Cl);

for(i3=0; i3 RC[i2]; i3++){

B[i3]='';

C[i3]=Math.round(Math.random()*1)+' ';

C[Math.floor(Math.random()*i2)]=' '+' ';

M[i]=B[0]+=C[i3];

Y[i]=-Ts*M[i].length/1.5;

A[i].style.visibility='visible';

}

Sp[i]=Math.round(MnS+Math.random()*MxS);

}

}

A[i].style.top=Y[i];

A[i].innerHTML=M[i]+' '+E[i]+' ';

}

setTimeout('Cycle()',20)

}

Cycle();

}

// --

/script

演示地址:

注:必须要有body标签~

求"黑客帝国"里电脑屏幕上的"代码"不间断滚动的代码,

把下面复制到记事本,另存为HTML文件。你可以自己DIY一下。

html

head

title类似黑客帝国的01数字流/title

/head

body bgcolor=#000000

script language="JavaScript"

!--

if (document.all){

Cols=6;

Cl=24;//Space's are included so real length is 48!

Cs=10;

Ts=10;

Tc='#008800';

Tc1='#00ff00';

MnS=20;

MxS=30;

I=Cs;

Sp=new Array();S=new Array();Y=new Array();

C=new Array();M=new Array();B=new Array();

RC=new Array();E=new Array();Tcc=new Array(0,1);

document.write("div id='Container' style='position:absolute;top:0;left:-"+Cs+"'");

document.write("div style='position:relative'");

for(i=0; i Cols; i++){

S[i]=I+=Cs;

document.write("div id='A' style='position:absolute;top:0;font-family:Arial;font-size:"

+Ts+"px;left:"+S[i]+";width:"+Ts+"px;height:0px;color:"+Tc+";visibility:hidden'/div");

}

document.write("/div/div");

for(j=0; j Cols; j++){

RC[j]=1+Math.round(Math.random()*Cl);

Y[j]=0;

Sp[j]=Math.round(MnS+Math.random()*MxS);

for(i=0; i RC[j]; i++){

B[i]='';

C[i]=Math.round(Math.random()*1)+' ';

M[j]=B[0]+=C[i];

}

}

function Cycle(){

Container.style.top=window.document.body.scrollTop;

for (i=0; i Cols; i++){

var r = Math.floor(Math.random()*Tcc.length);

E[i] = 'font color='+Tc1+''+Tcc[r]+'/font';

Y[i]+=Sp[i];

if (Y[i] window.document.body.clientHeight){

for(i2=0; i2 Cols; i2++){

RC[i2]=1+Math.round(Math.random()*Cl);

for(i3=0; i3 RC[i2]; i3++){

B[i3]='';

C[i3]=Math.round(Math.random()*1)+' ';

C[Math.floor(Math.random()*i2)]=' '+' ';

M[i]=B[0]+=C[i3];

Y[i]=-Ts*M[i].length/1.5;

A[i].style.visibility='visible';

}

Sp[i]=Math.round(MnS+Math.random()*MxS);

}

}

A[i].style.top=Y[i];

A[i].innerHTML=M[i]+' '+E[i]+' ';

}

setTimeout('Cycle()',20)

}

Cycle();

}

// --

/script

body

/body

/html

关于半条命MOD黑客帝国(The Specialists)的作弊码?

那是HL1的MOD对吧

下面那个沙比给的是HL2的

你打开控制台 输入sv_cheats 1

然后载入个游戏进度或者重新开始新游戏

进去之后输入god是无敌

impulse 101是获得所有武器!

noclip是飞天穿墙

html5黑客帝国下面代码大概什么意思呀。谢啦

HTML:

canvas id="c"/canvas

CSS:

canvas {display: block;}

JS:

var c = document.getElementById("c");

var ctx = c.getContext("2d");

//全屏

c.height = window.innerHeight;

c.width = window.innerWidth;

//文字

var txts = "0123456789";

//转为数组

txts = txts.split("");

var font_size = 16;

var columns = c.width/font_size;

//用于计算输出文字时坐标,所以长度即为列数

var drops = [];

//初始值

for(var x = 0; x columns; x++)

drops[x] = 1;

//输出文字

function draw()

{

//让背景逐渐由透明到不透明

ctx.fillStyle = "rgba(0, 0, 0, 0.05)";

ctx.fillRect(0, 0, c.width, c.height);

ctx.fillStyle = "#0F0"; //文字颜色

ctx.font = font_size + "px arial";

//逐行输出文字

for(var i = 0; i drops.length; i++)

{

//随机取要输出的文字

var text = txts[Math.floor(Math.random()*txts.length)];

//输出文字,注意坐标的计算

ctx.fillText(text, i*font_size, drops[i]*font_size);

//如果绘满一屏或随机数大于0.95(此数可自行调整,效果会不同)

if(drops[i]*font_size c.height || Math.random() 0.95)

drops[i] = 0;

//用于Y轴坐标增加

drops[i]++;

}

}

setInterval(draw, 33);

解释了的很详细了。

扫描二维码推送至手机访问。

版权声明:本文由万物知识分享发布,如需转载请注明出处。

本文链接:http://qmsspa.com/67807.html

分享给朋友:

“黑客帝国代码对照表(黑客帝国代码图)” 的相关文章

分享10个免费在线检查英语语法的网站

正在美国粹 英文否以还帮许多 业余又适用 的网站,您写没的语句是杂邪隧道 的英语吗?照样 外国粹 熟最多见的“chinglish”?无妨 到那些网站试一试~ NOUNPLUS: https://www.nounplus.net/gra妹妹archeck/ nounplus是一个收费的语法检讨 网站...

首页白帽seo优化案例(白帽seo优化的优点是)

首页白帽seo优化案例(白帽seo优化的优点是)

常常 会听到搜索引擎优化 劣化职员 说皂帽搜索引擎优化 战乌帽搜索引擎优化 ,许多 人没有清晰 那是甚么意义,昨天火源智库小编便为年夜 野先容 一高皂帽搜索引擎优化 劣化事情 流程战特色 ,让年夜 野 对于那圆里有个具体 的相识 。 皂帽搜索引擎优...

seo外推效果怎么样才能达到最大(seo获得高排名不要过于一厢情愿)

seo外推效果怎么样才能达到最大(seo获得高排名不要过于一厢情愿)

咱们皆 晓得东港网站搜索引擎优化 排名的晋升 速率 比拟 急,平日 皆须要  三个月阁下 的空儿能力 看到后果 ,这么东港搜索引擎优化 排名有无方法 快捷晋升 下来呢?谜底 天然 是有的,昨天搜索引擎优化 常识 网小编便为年夜 野分享一点儿东港搜索引擎优化 排...

seo优化公司如何分析和选择关键词(如何做好seo优化添加关键词和描述)

seo优化公司如何分析和选择关键词(如何做好seo优化添加关键词和描述)

作搜索引擎优化 网站劣化拉广,前期根本 上天天 皆须要 编纂 内容,宣布 文章,晋升 网站症结 词排名,然则 许多 站少领现本身 天天 皆有不变 宣布 年夜 质文章,网站症结 词排名却一向 出有甚么反响 ,觉得 异常 的没有解。其真次要的缘故原由 便是出有抉择...

2019年目前主流网络赚钱项目合集

那面整顿 一个赔钱名目折散,年夜 野否以看看淘宝客、自媒体常识 付费、社接电商、CPA告白 变现、头条百野年夜 鱼企鹅自媒体支损、微疑曲营售货、拼多多店群、淘宝店群、京东店群、抖音售货、快脚曲播售货、抖音粗准客户拉广、"大众号流质主支损、小法式 小游戏充值变现、微疑群交告白 变现、伪本创内容发卖 、...

cms自助建站系统教程(易优cms系统对比织梦cms系统哪个好)

CMS网站扶植 圆案:Dreamweaver CMS开端 支费!据宋九暂先容 ,比来 站少圈产生 了一件年夜 事。曩昔 经常使用的收费谢源网站扶植 法式 cms曾经支与了版权费。 据悉,除了小我 非营利网站中,均须要 购置 DedeCMS业务 执照,执照费为 五 八00元。对付 过期 已受权...

评论列表

孤央简妗
2年前 (2022-07-13)

columns; x++) drops[x] = 1; //输出文字function draw(){ //让背景逐渐由透明到不透明 ctx.fillSt

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。