Volumes Of Fun http://www.volumesoffun.com/phpBB3/ |
|
Block world "minecraft" game http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=251 |
Page 1 of 1 |
Author: | tronminecraft [ Sun Jul 31, 2011 1:35 am ] |
Post subject: | Block world "minecraft" game |
Hello everyone, I intend to develop a minecraft style building game, and am trying to evaluate polyvox as a base for my project. as any minecraft player knows, gravel and sand fall in the game. At first i had thought that this would be a fairly trivial feature, but as i see people using it with pistons and such to make things, I have concluded it is quite important. does anyone have a suggestion how I might make blocks "fall," preferably in a smooth looking manner? Another concern I have is that pistons "push" up to 12 blocks. this i see to be an extremely important feature, and was wondering if anyone had any suggestions as to how this may be possible with polyvox? I imagine a solution for one problem would likely apply for another. Thanks for any assistance you may provide, |
Author: | David Williams [ Sun Jul 31, 2011 7:41 am ] |
Post subject: | Re: Block world "minecraft" game |
You can't have blocks move in this way while being part of the PolyVox terrain, but it's easy enough to work around. If you want a block simply remove it from the PolyVox terrain and replace it with a regular cube mesh. Then move that cube however you wish, including applying physics engines to it. When you stop moving the cube you can then add it back into thePolyVox terrain and delete the mesh. I'd imaging this is how Minecraft does it as well - that moving blocks are not part of the Minecraft terrain system. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |