猫史档案馆


HC洛天依

HC洛天依

Lv.1

双鱼座,脾气暴躁喜欢热闹有时候会很开心,喜爱编程,我还喜欢画画弹琴学习还有看书和练字

获赞:284收藏:58浏览:16195作品收藏:58

签名:开始上学了,我一般都会很少编程。如果你需要我的话,等我有时间的时候你就可以了。周末可以哟!(如果喜欢我的作品的话,记得点赞或者多浏览我。千万不要只看不点赞。)

回复帖子评论
上一页3 页 / 共 12下一页

汉字——起源 中回复

这是代码的3.0的地图吗?

2020-05-13T18:38:57 点赞:0

关于f12 中回复

F12好像是p图

2020-05-13T18:39:54 点赞:0

编程猫是期真的更新了吗? 中回复

天了,我被骗了。

2020-05-13T18:49:39 点赞:0

编程猫是期真的更新了吗? 中回复

emotion_编程猫_伤心

2020-05-13T19:11:43 点赞:0

编程猫是期真的更新了吗? 中回复

emotion_话筒emotion_编程猫_嗨起来emotion_雷电猴_摇椅子

2020-05-13T19:15:49 点赞:0

编程猫是期真的更新了吗? 中回复

world.command=world.createEntity()
world.command.id='命令'
function runCmd(cmd){

w=cmd.split(' ')

if(w[0]=='/kill'){
finder=0
world.querySelectorAll('player').forEach((m)=>{if(m.player.name==w[1]){finder=m}})
if(!finder==0){finder.hurt(finder.hp,{attacker:world.command,});world.say(`玩家 ${w[1]} 已被击杀`)}
else{world.say(`ERROR:NO PLAYER NAMED ${w[1]}`)}
}else if(w[0]=='/hurt'){
finder=0
world.querySelectorAll('player').forEach((m)=>{if(m.player.name==w[1]){finder=m}})
try{
if(!finder==0){finder.hurt(parseInt(w[2]),{attacker:world.command,});world.say(`玩家 ${w[1]} 已被伤害`)}else{world.say(`ERROR:NO PLAYER NAMED ${w[1]}`)}}catch{world.say('ERROR:Fail')}
}else if(w[0]=='/hp'){
finder=0
world.querySelectorAll('player').forEach((m)=>{if(m.player.name==w[1]){finder=m}})
try{
if(!finder==0){finder.hp=parseInt(w[2]);world.say(`玩家 ${w[1]} 血量已设置`)}else{world.say(`ERROR:NO PLAYER NAMED ${w[1]}`)}}catch{world.say('ERROR:Fail')}

}else if(w[0]=='/tpto'){
finder3=0
world.querySelectorAll('*').forEach((m)=>{
if(m.isPlayer){ if(m.player.name==w[1]){finder3=m}}
else if(m.id==w[1]){finder3=m}

})
finder4=0
world.querySelectorAll('*').forEach((m)=>{
if(m.isPlayer){ if(m.player.name==w[2]){finder4=m}}
else if(m.id==w[2]){finder4=m}

})
if(!finder3==0){
try{finder3.position.set(finder4.position.x,finder4.position.y+5,finder4.position.z)
}catch{world.say('ERROR:Fail');return};
world.say(`玩家 ${w[1]} 已被传送`)
}
else{world.say(`ERROR:NO PLAYER NAMED ${w[1]}`)}


}else{
world.say(`ERROR:NO COMMAD CALLED "${w[0]}"`)

}
}

2020-05-13T19:20:03 点赞:0

【代码岛3.0】谁有权限? 中回复

给我一个可以攻击别人的代码。emotion_雷电猴_围观

2020-05-13T19:27:31 点赞:0

招人啦招人啦!! 中回复

我可以吗?

2020-05-14T10:09:08 点赞:0

招人啦招人啦!! 中回复

我要建筑师和监督。

2020-05-14T10:10:21 点赞:0

胜利在望却被卡掉线😭😭😭 中回复

太可怜了吧!

2020-05-14T10:13:07 点赞:0

代码岛3.0入口 中回复

这我早就知道了。

2020-05-14T10:13:40 点赞:0

【企鹅大盘点】盘点你不知道的编程猫隐藏网站(二) 中回复

你是搜索的。

2020-05-14T10:22:16 点赞:0

【企鹅大盘点】盘点你不知道的编程猫隐藏网站(二) 中回复

是不是这个?

2020-05-14T10:23:53 点赞:0

【公告】编程猫社区APP下线公告 中回复

Reasonable.

2020-05-16T17:36:52 点赞:0

喵喵素材店开张啦!!!! 中回复

我要小羊肖恩的素材。

2020-05-16T17:39:17 点赞:0

【代码岛3.0】谁有权限? 中回复

是有人把地图给下架了。

2020-05-16T18:50:01 点赞:0

【代码岛3.0】谁有权限? 中回复

emotion_编程猫_伤心

2020-05-16T18:50:07 点赞:0

喵喵素材店开张啦!!!! 中回复

我还要猿马运动会的素材。

2020-05-17T09:49:30 点赞:0

喵喵素材店开张啦!!!! 中回复

@追梦猫aowC emotion_编程猫_谢谢老板

2020-05-17T09:56:24 点赞:0

喵喵素材店开张啦!!!! 中回复

https://shequ.cod喵/gallery/10

2020-05-17T10:03:25 点赞:0

喵喵素材店开张啦!!!! 中回复

 lemotion_编程猫_翻白眼

2020-05-17T10:06:58 点赞:0

喵喵素材店开张啦!!!! 中回复

emotion_编程猫_谢谢老板

2020-05-17T10:34:41 点赞:0

喵喵素材店开张啦!!!! 中回复

emotion_编程猫_谢谢老板

2020-05-17T10:38:10 点赞:0

怎么弄人物????? 中回复

画一个呗!

2020-05-17T10:55:52 点赞:0

代码岛3招人了 中回复

我要,我想要建筑师,还有代码

2020-05-17T11:06:45 点赞:0

【代码岛3D画板教程第7期!】一只活生生的阿尔法 中回复

OK。

2020-05-17T11:38:22 点赞:0

找代码师射击游戏 中回复

 

2020-05-19T19:12:20 点赞:0

为什么申请的权限这么久都没反应呢? 中回复

world.say('codemao,欢迎来到射击枪战游戏!!!')

Higher = 8;
while (null == null) {
  await sleep(5000);
  while (!(Higher >= 23)) {
    Higher = (typeof Higher == 'number' ? Higher : 0) + 0.1;
    world.querySelector("."+'电梯').position=new Box3Vector3(55.36,Higher,65.36);
    await sleep(20);
  }
  buildingHigh = 2;
  await sleep(5000);
  while (!(Higher <= 9.03)) {
    Higher = (typeof Higher == 'number' ? Higher : 0) + -0.1;
    world.querySelector("."+'电梯').position=new Box3Vector3(55.36,Higher,65.36);
    await sleep(20);
  }
  buildingHigh = 1;
}
})();

world.onPlayerJoin(({ entity }) => {
    entity.enableDamage = true;
    entity.player.onPress(({ button, raycast:{ hitEntity, direction } }) => {
        if (button !== 'action0' || !hitEntity) {
            return;
        }
        hitEntity.velocity.x += direction.x;
        hitEntity.velocity.y += 0.5;
        hitEntity.velocity.z += direction.z;
        hitEntity.hurt(20 * Math.random() + 5, {
            attacker: entity,
        });
    });
});

world.onDie(({ entity, attacker }) => {
    if (attacker) {
        world.say(attacker.player.name + ' 喵了 ' + entity.player.name)
    }
    entity.player.forceRespawn();
});

world.querySelectorAll('*').forEach((e) => {
  if (e.isPlayer) {
    e.onEntityContact(({ other }) => {
      if (other.id = "彩蛋") {
        e.player.calFly = true;
      }
    });
  }
});

world.onPlayerJoin(({entity})=>{
    if(entity.player.name == '编程大师666的我1号'){//要改成你的名字,单引号里的
        entity.player.walkAcceleration=1;//加速挂(走)
        entity.player.walkSpeed=3;//加速挂
        entity.player.swimAcceleration=1//加速挂(游泳)
        entity.player.swimSpeed=3//加速挂
        entity.player.flyAcceleration=1//加速挂(飞行)
        entity.player.flySpeed=3//加速挂
        entity.player.runAcceleration=2//加速挂(跑)
        entity.player.runSpeed=4//加速挂
        entity.player.canFly = true;//飞行
        entity.player.invisible=true;//隐身
        entity.player.A=100;//伤害
        entity.player.enableDamage=false;//喵
    }
})

world.onChat(({entity,message})=>{
    if(!entity||entity.player.name ==='编程大师666的我1号'){
        if(message.indexOf('$')==0){
        try{
            world.say('->'+eval(message.slice(1)));
        }catch(err){
            world.say('Error:'+err);
        }
    }}
    
});
function prision(player){
         world.querySelectorAll('player').forEach((a) => {
               if (a.player.name == player) {
                   a.position.set(x124,y2,z97);
         }})
}

//电磁炮代码!!
world.onPlayerJoin(({entity})=>{
    entity.enableDamage = true;
})
world.onChat(({entity,message})=>{
    if(!entity||entity.player.name ==='编程大师666的我1号'||entity.player.name === " "){
        if(message.indexOf('$')==0){
        try{
            entity.player.directMessage('->'+eval(message.slice(1)));
        }catch(err){
            entity.player.directMessage('Error:'+err);
        }
    }}
});
function kaipao (name) {
    world.querySelectorAll('player').forEach((e)=>{
        if (e.player.name === name){
            world.say('火箭炮第一炮,轰!');
            e.hurt(20);
            world.say('火箭炮第二炮,轰!');
            e.hurt(20);
            world.say('火箭炮第三炮,轰!');
            e.hurt(20);
            world.say('火箭炮第四炮,轰!');
            e.hurt(20);
            world.say('火箭炮第五炮,轰!');
            e.hurt(20);
            world.say(`目标 ${e.player.name} 已击毙!`)
        }
    })

    world.querySelectorAll('.炮').forEach((e)=>{//这里需要给大炮设置好“炮”的标签
    e.onEntityContact(({entity,other})=>{
        other.hurt(100)//伤害代码
        world.say('滋滋滋')//世界广播“滋滋滋”
        other.player.directMessage('温馨提示:不要碰镭射电磁炮');//被点到的玩家私信
    })
})
world.onDie(async({entity})=>{
    await sleep(5000);//等待5秒
    entity.player.forceRespawn();//强制重生,这里需要设好出生点,不然会从天上掉下来
})

2020-05-20T20:34:15 点赞:0

编程猫程序保存为可执行文件的方法 中回复

你所说的编程猫官方怎么下载?

2020-05-24T12:53:42 点赞:0

编程猫程序保存为可执行文件的方法 中回复

TAT

 

2020-05-24T20:44:29 点赞:0