This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
我做了类似的东西,它在我的网站上,它主要是用 Canvas 和 CSS3 制作的。它将加载《我的世界》玩家的用户名并使用他们的皮肤。我添加了在 iPad/iPhone 等设备上查看的基本功能,这样您就可以转动设备,模型就会移动,就像您在移动相机一样。该链接是
mjstk.co.uk/dev/minechar/
或用于加载自定义用户的皮肤(如果您想添加,可以上传/拖放新皮肤)
mjstk.co.uk/dev/minechar /#minecraftusername
mjstk.co.uk/dev/minechar/#hugosslade (是我的)
如果你想完全在画布上完成它,我推荐 Three.js;虽然它确实支持 WebGL,但它也可以利用画布(以及其他东西)
希望有帮助
I've made something like this and it's on my website, it's made with Canvas and CSS3 mainly. It will load in the username of a minecraft player and use their skin. I added basic ability to view on iPad/iPhone etc so you can turn the device and the model will move, as if you are moving the camera. The link is
mjstk.co.uk/dev/minechar/
or for loading in a skin of a custom user (you could upload/drag n drop new skins on if you wanted to add that)
mjstk.co.uk/dev/minechar/#minecraftusername
mjstk.co.uk/dev/minechar/#hugosslade (is mine)
If you are looking to do it completely in canvas though, I'd recommend three.js; While it does have support for WebGL, it also can utilise canvas (as well as other things)
Hope that was helpful