How i can remove blocks?

For people working on the C++ code.
User avatar
Krisi
Member
 
Posts: 41
Joined: Sat Oct 15, 2011 21:32
Location: Germany

How i can remove blocks?

by Krisi » Fri Nov 04, 2011 22:14

I currently try to program dynamite, so something like TNT in Minecraft. But i dont now how i can remove Blocks about the source code.

Have someone an idea where is a function in the code to remove a block or sent a command to the server he shall remove a block?

thx and sorry for my bad english
3D Player in Minetest?! - New GUI and more graphic options
"Lets do this..." Ghost Riley
Linux needs a good ego-shooter!!...
Sorry for my bad english
 

celeron55
Administrator
 
Posts: 454
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Fri Nov 04, 2011 23:16

Do it on the server side. Look at the fireball code in content_sao.cpp (or something like that).

See this if you wish your work to be included: http://c55.me/minetest/wiki/doku.php?id=contrib&#how_to_get_your_code_into_minetest-c55
 


Return to Partly official engine development



Who is online

Users browsing this forum: No registered users and 1 guest