猫史档案馆


wangjunjiec

wangjunjiec

Lv.1

不求当大佬,只求问心无愧box3老手玩我的世界3年多编程达人求No.1

获赞:125收藏:90浏览:1696作品收藏:18

签名:做box3地图 做作品 学习

回复帖子评论
上一页2 页 / 共 7下一页

我们一起创作吧,【金币多多】 中回复

emotion_编程猫_点赞

2020-04-23T11:17:03 点赞:0

我们一起创作吧,【金币多多】 中回复

下次记得把3D模型实体化哦emotion_编程猫_点赞

2020-04-23T15:30:39 点赞:0

我们一起创作吧,【金币多多】 中回复

——特大公告——【置顶】

emotion_编程猫_紧张内测即将结束

即将更新帖emotion_编程猫_厉害了emotion_星能猫_ye子啦!

emotion_编程猫_点赞emotion_编程猫_嗨起来emotion_编程猫_紧张

职位将在那个帖子真正固定!!!!!

温馨提示:本人要对地图进行更改和实体化,期间暂时停止职业【权限】的发放,等帖子发放后会第一时间提醒你们,申请过的,%50会发放给你们,%50有大奖,记住,要在帖子中的作品中申请后在来地图申请,这次,不仅仅是直接发放那么简单了。要经过一些简单又容易的考试,期间请不要到地图打扰,可以聊天。期间的不便尽请谅解

2020-04-23T15:55:51 点赞:0

我们一起创作吧,【金币多多】 中回复

2020-04-24T11:55:49 点赞:0

【🤩快来推荐!】帮你的合作者拿编辑器! 中回复

谁推荐我一下emotion_编程猫_伤心,呜呜呜呜,被大家无视了

2020-04-24T19:13:52 点赞:0

【编程小技巧】开头标题出现效果 中回复

有bugemotion_编程猫_冷漠

2020-04-25T16:02:25 点赞:1

江湖派!夏日游轮! 中回复

center_imagecenter_image

2020-04-25T20:24:11 点赞:0

江湖派!夏日游轮! 中回复

center_imagecenter_image

2020-04-25T20:24:25 点赞:0

江湖派!夏日游轮! 中回复

center_image

2020-04-25T20:24:36 点赞:0

江湖派!夏日游轮! 中回复

center_imageemotion_编程猫_搓头

2020-04-25T20:32:31 点赞:1

江湖派!夏日游轮! 中回复

center_imagecenter_image

2020-04-25T20:33:19 点赞:0

江湖派!夏日游轮! 中回复

近距离center_image

2020-04-25T20:34:27 点赞:0

江湖派!夏日游轮! 中回复

center_image

2020-04-25T20:35:33 点赞:0

江湖派!夏日游轮! 中回复

center_image

2020-04-25T20:38:31 点赞:0

江湖派!夏日游轮! 中回复

解气center_image

2020-04-25T20:39:37 点赞:0

江湖派!夏日游轮! 中回复

哈哈哈,来张解气自拍emotion_编程猫_嗨起来center_image

2020-04-25T20:42:12 点赞:0

你们用过微信电脑版吗,现在升级可以玩源码精灵了 中回复

emotion_编程猫_点赞

2020-04-27T14:31:53 点赞:0

你们用过微信电脑版吗,现在升级可以玩源码精灵了 中回复

我一个电系(电电猴)

一个超能系(编程猫)

一个土系(涂涂狐)

二个风系(迷你雀、疾风雀)

一个水系(小水螺)

一个火系(火火熊)emotion_编程猫_搓头

 

2020-04-27T14:39:15 点赞:0

你们用过微信电脑版吗,现在升级可以玩源码精灵了 中回复

center_image把这个调成领导力,在派前两个,没凑齐也派出去emotion_编程猫_点赞

2020-04-27T14:43:25 点赞:0

你们用过微信电脑版吗,现在升级可以玩源码精灵了 中回复

center_image我的精灵

2020-04-27T14:45:35 点赞:0

我们一起创作吧,【金币多多】 中回复

-特大公告-

!!!!!!!


6:00

记得查看哦!!!!

2020-04-29T11:23:46 点赞:0

我们一起创作吧,【金币多多】 中回复

emotion_编程猫_我错了emotion_编程猫_我错了emotion_编程猫_我错了emotion_编程猫_我错了emotion_编程猫_我错了(>人<;)对不起

由于每天的事情实在太多,导致推迟,尽请谅解!

另外要说几个喵密做补偿(>^ω^<)喵

1.我有两个地图哦!!emotion_编程猫_紧张

游客:mni!?

你做那个地图都行哦!

1.【链接公开】大家可以进去先参观一下哦!

https://box3create.codemao.cn/games/282f9b19e0153839c890?

2.彩虹城市【相信你们去过的】

代码公开啦!多谢Lonely_wanderer的代码和35王梓豪的建筑

function bubble_sort(list) {
 var i, j, temp;
 for (i = 0; i < list.length - 1; i++) {
  for (j = 0; j < list.length - 1 - i; j++) {
   if (list[j] > list[j + 1]) {
    temp = list[j];
    list[j] = list[j + 1];
    list[j + 1] = temp;
   }
    }
  }
 return list;
};
world.onEntityContact(({entity,other})=>{
    if(entity.isPlayer===false){
        if(other.isPlayer===true){
            if(entity.hasTag('car')){
                if(other.mesh===''){
                    other.meshOrientation = new Box3Quaternion(0, 1, 0, 0);//调整方向
                    other.mesh=entity.mesh;
                    other.meshScale=entity.meshScale;
                    other.player.canFly=false;
                    other.player.invisible=true;
                    other.player.walkSpeed=2;
                    other.player.runSpeed=3;
                }
            }
        }
    }
});
world.querySelectorAll('.ofcar').forEach((e)=>{
    e.onEntityContact(({other})=>{
        other.player.mesh='';
        other.player.invisible=false;
        other.player.walkSpeed=0.22;//正常行走速度
        other.player.runSpeed=0.4;//正常奔跑速度
        other.player.canFly=false;
    })
})//此代码不仅用于下车,也用于下任何交通工具,甚至不是交通工具
//请先在地图中,给一个小狗模型,加上‘狗‘的标签
//这段代码可以让狗说话
world.querySelectorAll('.狗').forEach((dog) => {
    dog.say('汪汪~')
    dog.onEntityContact(({other}) =>{
        dog.say('汪,你好! '+other.player.name)
    }
    )
}
)

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.say('快来一起创作吧!欢迎你,快点申请编辑吧!我等着你哦!加油!')

                                       2.等我发布完并分配地图权限后,我要把创作

申请权限放在我即将发布的作品智能电脑中啦,到时你们可以边玩游戏边申请,我会努力做好那个作品给你们申请权限和玩转智能电脑。emotion_编程猫_厉害了

3.给你们分享一下我的生活日常

10:00写作业

11.00__φ(..;)还是写作业

3:00做作品

4:00做作品

      5:00还是做作品

6:00做地图

7:00还是做地图

3.我要出小说啦!记得看哦!

4.关注我可以获得金币哦emotion_编程猫_点赞

                                      

 

 

 

 

 

 

 

 

2020-04-29T20:15:41 点赞:0

【代码岛3.0实体AI研究室】如何让实体来回旋转? 中回复

关注你啦!emotion_编程猫_加油

2020-04-30T13:02:31 点赞:0

【代码岛3.0 BUG】我真的是崩溃了啊 中回复

我也是,娃娃哇哇哇哇哇哇哇哇哇哇哇哇emotion_编程猫_伤心emotion_编程猫_伤心emotion_编程猫_伤心emotion_编程猫_伤心emotion_编程猫_伤心emotion_编程猫_伤心一天的辛苦白费了emotion_编程猫_伤心

2020-04-30T13:04:42 点赞:0

最近Box3哪个地图比较好玩? 中回复

无聊emotion_编程猫_翻白眼

2020-04-30T13:23:51 点赞:0

关进监狱里 中回复

你敢拍...emotion_星能猫_哼【赶忙捂住】

2020-04-30T13:36:27 点赞:0

box3bug 中回复

我也是没保存emotion_编程猫_伤心

2020-04-30T13:37:27 点赞:0

【代码岛3.0 BUG】我真的是崩溃了啊 中回复

+1

2020-04-30T14:49:48 点赞:0

我们一起创作吧,【金币多多】 中回复

// When a player joins the game ...
world.onPlayerJoin(({ entity }) => {
    // ... and whenever that player touches a voxel ...
    entity.onVoxelContact(({ x, y, z }) => {
        // ... turn that voxel into air
        voxels.setVoxel(x, y, z, 0);
    });
});

console.log('event handlers installed');
function bubble_sort(list) {
 var i, j, temp;
 for (i = 0; i < list.length - 1; i++) {
  for (j = 0; j < list.length - 1 - i; j++) {
   if (list[j] > list[j + 1]) {
    temp = list[j];
    list[j] = list[j + 1];
    list[j + 1] = temp;
   }
    }
  }
 return list;
};
world.onEntityContact(({entity,other})=>{
    if(entity.isPlayer===false){
        if(other.isPlayer===true){
            if(entity.hasTag('car')){
                if(other.mesh===''){
                    other.meshOrientation = new Box3Quaternion(0, 1, 0, 0);//调整方向
                    other.mesh=entity.mesh;
                    other.meshScale=entity.meshScale;
                    other.player.canFly=false;
                    other.player.invisible=true;
                    other.player.walkSpeed=2;
                    other.player.runSpeed=3;
                }
            }
        }
    }
});
world.querySelectorAll('.ofcar').forEach((e)=>{
    e.onEntityContact(({other})=>{
        other.player.mesh='';
        other.player.invisible=false;
        other.player.walkSpeed=0.22;//正常行走速度
        other.player.runSpeed=0.4;//正常奔跑速度
        other.player.canFly=false;
    })
})//此代码不仅用于下车,也用于下任何交通工具,甚至不是交通工具
//请先在地图中,给一个小狗模型,加上‘狗‘的标签
//这段代码可以让狗说话
world.querySelectorAll('.狗').forEach((dog) => {
    dog.say('汪汪~')
    dog.onEntityContact(({other}) =>{
        dog.say('汪,你好! '+other.player.name)
    }
    )
}
)

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.say('快来一起创作吧!欢迎你,快点申请编辑吧!我等着你哦!加油!')

 

2020-04-30T18:01:07 点赞:0

我们一起创作吧,【金币多多】 中回复

没事emotion_编程猫_冷漠

2020-04-30T19:25:00 点赞:0