C++ Mobs

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

C++ Mobs

by jojoa1997 » Mon Mar 18, 2013 01:23

I have Ben thinking about how mobs will be added in c++ and I got an idea. Why not have a template for all the movements in c++ and let lua decide the qualities of the animal. If this is possible then you would have the quickness of c++ but the readability of lua.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

prestidigitator
Member
 
Posts: 632
Joined: Thu Feb 21, 2013 23:54

by prestidigitator » Mon Mar 18, 2013 02:35

Looking at the mobf framework, I'm wondering if straight Lua performance can be improved. The framework makes adding new mobs admittedly easy, but it also seems very complex and like it does a lot of stuff that might not be necessary if each mod had a little more intelligence built into it. For example, the framework might have to do a lot less busy work if it were left up to individual mods to implement spawning algorithms optimized for the type of mob they implement.
 


Return to Minetest General

Who is online

Users browsing this forum: Bing [Bot] and 15 guests