Page 1 of 1

Smaller Blocks possible?

PostPosted: Mon Sep 17, 2012 08:25
by fgr
Hi, just one short quesion to the addicted game minetest ... Is there a way to implement smaller blocks? Or would this cause to high cpu usage? Just wondering, because it would be great to bould near round corners or bows.

Thanks.

PostPosted: Mon Sep 17, 2012 09:53
by cornernote
an object can have a visual_size

a node can have a nodebox

PostPosted: Mon Sep 17, 2012 10:03
by fgr
whats the message behind? i am refering to normal blocks ... if you have one lets guess 8x8x8 it should be handled as 4x4x4 x 2 to fill a 8 slot with 2 of them ...?

PostPosted: Mon Sep 17, 2012 10:07
by Calinou
You can't directly make smaller blocks, though "nodeboxes" permit creating stairs and such. Also see my Stairs+ mod. ;)

PostPosted: Mon Sep 17, 2012 10:21
by fgr
i have used stairs+ mod. thanks for the mod by the way :-) but refering to my thinking ... if you build houses, bridges, basements or whatever ... i am missing a block which acutally can placed to look them "rounder" ... but this referes me to a additional reuqets here in the forum .... which is basically the same idea but another aproach: http://minetest.net/forum/viewtopic.php?id=38

PostPosted: Mon Sep 17, 2012 13:48
by wokste
I think you can make "smaller blocks" by creating a larger player character. (e.g. 4 by 2 blocks) I am not sure what problems will arise but I think of these.
Compatibility issues between minetest and your fork.
The map-generator needs to be scaled as well.
I don't know how collision is implemented. You could get some problems here as well.
Game balance: smaller blocks means slower mining / building speed
CPU: Halving the block size requires 4 times the normal amount of surfaces on your screen.

So I wouldn't start it without a good knowledge about the engine and c++ in general.