It is currently Sat Aug 22, 2020 3:46 pm


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Block world "minecraft" game
PostPosted: Sun Jul 31, 2011 1:35 am 

Joined: Sat Jul 30, 2011 7:21 pm
Posts: 3
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,


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Block world "minecraft" game
PostPosted: Sun Jul 31, 2011 7:41 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
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.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net