Skip to content
Sign upLog in
← Back to Community
CSS to make a 3d voxel game
Profile icon
Yimmee

Will i be able to use CSS on images to make a 3d game about cubes. Like minecraft, but entirely css; no canvas allowed.

Voters
Profile icon
RhysAtDotCom
Profile icon
Yimmee
Comments
hotnewtop
Profile icon
Coder100

it would be pretty hard

first off, how will you be able to add player movement? how about collisions?
second of all, how will you be able to create a variable amount of 3d cubes without using any javascript? how about positioning them?

finally, how will you make sure your solution won't be so convoluted and bloated that it only works on your computer?

Profile icon
ch1ck3n

yeah sure but it will be very hard I tell you

Profile icon
Yimmee

@ch1ck3n
it cant be harder than learning three.js

Profile icon
Coder100

oh but it will be

@Yimmee

Profile icon
TheoHal

Doing 3d animation with CSS is possible (https://codepen.io/wallaceerick/pen/IGxim), but without js you won't be able to do a lot of user input. It is possible, but very math heavy and extremely development heavy.

Profile icon
Yimmee

@theohalpern
i meant css for the visuals.

Profile icon
Coder100

using it only for css visuals would both be kinda slow and very inefficient, perhaps you would like to take some time to properly learn js before tackling something as big as mc

@Yimmee