vs

vue-steve

A Vue.js project, Minecraft's Steve-Model

Showing:

Popularity

Downloads/wk

1

Maintenance

No Maintenance Data Available

Package

Dependencies

2

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

vue-steve

A Vue.js project, Minecraft's Steve-Model

Usage

npm install three --save
npm install vue-steve --save
<steve :skinUrl="skin" :followScope="scope"></steve>
import Steve from 'vue-steve'

export default {
    ...
    data() {
      return {
        skin: './xxx.png',
        scope: 'window'
      }
    }
    components: {
      Steve
    }
    ...
}

Demo

Vue-steve

Dependencies

three.js

Props

propvaluedefault
width画布宽度480
height画布高度640
pace步伐距离 1 ~ 106
speed速度 Number -20 ~ 202
rotationX水平旋转 Number(deg)10
rotationY垂直旋转 Number(deg)10
skinUrl自定义皮肤
base64 or URL (32px*64px)
steve-skin by base64
scale模型缩放 ≥ 01
followMouse视线是否跟随鼠标 Booleantrue
followScope视野跟随鼠标区域
"window"|"box"
"window"
walkable行走动作 Booleantrue
throttle节流时间(毫秒)8

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial