摘要: nodejs+mongodb+express API快速生成 使用说明 安装 $ npm install duzq-quick-mongo 建立mongodb数据模型 const mongoose = require("../utils/mongodb") const dayjs = require 阅读全文
posted @ 2020-12-26 12:40 杜增强 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-10-22 19:33 杜增强 阅读(1291) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-10-22 19:33 杜增强 阅读(1914) 评论(0) 推荐(0) 编辑
摘要: 本节主要讲解发射子弹时的蓄力效果如何实现 阅读全文
posted @ 2018-10-22 19:31 杜增强 阅读(1964) 评论(0) 推荐(0) 编辑
摘要: 8 子弹碰撞处理 为了处理子弹打到坦克的伤害我们在这里新建一个Shell.cs 子弹有两种情况,碰到坦克炸开,没有碰到坦克则过2s子弹销毁. void Start () { 碰到子弹我们这里使用OnTriggerEnter,要想这个发生首先要确保Shell预设体里面Collider的Is Trigg 阅读全文
posted @ 2018-10-22 19:30 杜增强 阅读(1711) 评论(0) 推荐(0) 编辑
摘要: 7 坦克血条 点击菜单GameObject->UI->Slider创建Slider 选中EventSystem,设置Horizontal Axis为HorzontalUI,Vertical Axis为VerticalUI image 选中Canvas,设置Render Mode为World Spac 阅读全文
posted @ 2018-10-22 19:29 杜增强 阅读(1649) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-10-22 19:28 杜增强 阅读(1596) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-10-22 19:27 杜增强 阅读(1356) 评论(0) 推荐(0) 编辑
摘要: 本节主要讲解如何使用键盘控制两个坦克的移动和旋转 阅读全文
posted @ 2018-10-22 19:24 杜增强 阅读(3099) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-10-22 19:22 杜增强 阅读(1672) 评论(0) 推荐(0) 编辑