原创 three紋理使用(四)

1.用紋理渲染圖形 給六個面添加一個紋理圖的形式 var geometry = new THREE.CubeGeometry( 1, 1, 1 ); var texture = THREE.ImageUtils.loadTexture(

原创 vue總結

Vue項目總結Vue項目基本使用Vue項目搭建1.      安裝node,使用node –v檢測node版本2.      使用npm install vue安裝vue3.      全局安裝vue-cli,npm install vu

原创 tween紋理使用(四)

1.用紋理渲染圖形給六個面添加一個紋理圖的形式var geometry = new THREE.CubeGeometry( 1, 1, 1 ); var texture = THREE.ImageUtils.loadTexture("ea

原创 白鷺引擎使用(二)

白鷺引擎使用(二)1.timer:設置一個倒計時功能,要求玩家在30秒內進行遊戲操作,並達到一定要求可過關二個屬性:deplay和repeatCount每次間隔時間和執行次數(次數爲0則不停的執行)2.三個方法start,reset和st

原创 audio的bug

1.audio.currentTimes設置後不起作用,原因就是設置的時候音樂還沒加載,所以是無效設置,解決方法:監聽音樂能播放的時候設置currentTime:如下:audio.addEventListener("canplay",fu

原创 前端工具網址大全

在線圖片壓縮工具文章:http://sc.chinaz.com/info/150725305748.htm;網址如下:1.http://optimizilla.com/zh/2.https://tinypng.com/(有時候網站打不開)

原创 node學習(1)

1.服務器的創建下載最新版node新建一個文件node ,新建一個app.js,創建代碼const http=require('http'); const hostname='127.0.0.1'; const port='3000';

原创 git命令行

將本地文件上傳到github或git上基本步驟: git add . ( 將改動添加到暫存區)git commit -m "first commit"   (上傳備註或者說明)git remote add origin https://g

原创 Three筆記-輔助工具的使用(二)

1.stats    Three的性能測試工具  使用方法: //初始化統計對象 var stats = initStats(); stats.update();//更改數據後更新 //初始化統計對象

原创 白鷺引擎的使用(一)

白鷺引擎學習文檔:http://edn.egret.com/cn/index.php/article/index/id/154一:命令行手冊1.本地開啓egret服務器:egret startserver HelloWorld --por

原创 tween使用(1)

1.使用tween的案例<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title>

原创 優秀h5收藏

優秀h5收藏:1.http://s.auto.163.com/2017/1104/vwgolf/2.故宮h5:http://nigg.treedom.cn/;3.淘寶親親節:http://qinqinh5.com/?from=single

原创 分享網址

webapp的分享:https://lavas.baidu.com/mip/doc/README 介紹pwa的比較好的文章:https://blog.csdn.net/qq_19238139/article/details/7753119

原创 three學習網址分享(三)

1.簡單案例地址:http://stemkoski.github.io/Three.js/2.three建模網址:https://threejs.org/editor/3.https://www.cnblogs.com/pursues/p

原创 前端好玩的網址

1.codeopen 好玩的開源編輯器,上邊有比較好玩的好東西,可以自己玩一玩,關於3d或者three的東西居多    https://codepen.io/ 2.github上開源項目適合練手:1》https://github.com/