コメント

このコメントは、【トピック】しゃいにーのひとりごと。へのコメントです。

コメントの内容

Downloadfd8101e6 femulated 2f0 2fscreenshots 2fscreenshot 2016 06 07 08 05 53 mini shainy(投稿日:2018/08/21 00:08/21/18)
Canvasで立体表現が可能になる新しいCanvas、その名もCanvas3D
開発中!(独り言)

setCanvasVisible(true)
canvas3d=createCanvas3d()
setCanvas3dRect(canvas3d,-400,-300,800,600)
setCanvas3dPosition(canvas3d,400,300)
setCanvas3dRotation(canvas3d,0)
setCanvas3dScale(canvas3d,1,1)
setCanvas3dIndependentCamera(canvas3d,true)
setCanvas3dCameraPosition(canvas3d,0,0,0)
setCanvas3dCameraRotation(canvas3d,0,0,0)
sprite3d=createSprite3d(canvas3d,0)
vertex=createArray()
vertex[0]=createArray()
vertex[0][0]=0
vertex[0][1]=0
vertex[0][2]=0
vertex[1]=createArray()
vertex[1][0]=100
vertex[1][1]=0
vertex[1][2]=0
vertex[2]=createArray()
vertex[2][0]=0
vertex[2][1]=100
vertex[2][2]=0
setSprite3dVertex(canvas3d,sprite3d,vertex)
sprite=createTriangleSprite(322234)
setTriangleSpriteRect(sprite,0,0,256,256)
setSprite3dSprite(canvas3d,sprite3d,sprite)
setSprite3dPosition(canvas3d,sprite3d,0,0,-10)
setSprite3dRotation(canvas3d,sprite3d,0,0,0)
drawCanvas3d(canvas3d)
drawCanvas()

コメントの内容(一番最初の投稿)

Downloadfd8101e6 femulated 2f0 2fscreenshots 2fscreenshot 2016 06 07 08 05 53 mini shainy(投稿日:2018/08/21 00:08/21/18)
Canvasで立体表現が可能になる新しいCanvas、その名もCanvas3D
開発中!(独り言)

setCanvasVisible(true)
canvas3d=createCanvas3d()
setCanvas3dRect(canvas3d,-400,-300,800,600)
setCanvas3dPosition(canvas3d,400,300)
setCanvas3dRotation(canvas3d,0)
setCanvas3dScale(canvas3d,1,1)
setCanvas3dIndependentCamera(canvas3d,true)
setCanvas3dCameraPosition(canvas3d,0,0,0)
setCanvas3dCameraRotation(canvas3d,0,0,0)
sprite3d=createSprite3d(canvas3d,0)
vertex=createArray()
vertex[0]=createArray()
vertex[0][0]=0
vertex[0][1]=0
vertex[0][2]=0
vertex[1]=createArray()
vertex[1][0]=100
vertex[1][1]=0
vertex[1][2]=0
vertex[2]=createArray()
vertex[2][0]=0
vertex[2][1]=100
vertex[2][2]=0
setSprite3dVertex(canvas3d,sprite3d,vertex)
sprite=createTriangleSprite(322234)
setTriangleSpriteRect(sprite,0,0,256,256)
setSprite3dSprite(canvas3d,sprite3d,sprite)
setSprite3dPosition(canvas3d,sprite3d,0,0,-10)
setSprite3dRotation(canvas3d,sprite3d,0,0,0)
drawCanvas3d(canvas3d)
drawCanvas()