Closed TheSuperPlayer closed 8 years ago
You downloaded the non building version... I tried to implement new functions to LuaInterface yesterday and I broke the game sorry for the incoveniance. But don't worry I'm preparing for EntityBase integration. I'll give you LuaInterface with UserData support and I'll prepare a few methods to complete (inside LuaEntityBase)
I'll update the project for Editor version 4.10.4
Well we have a problem, after updating to 4.10.4 I can no longer compile the game : Application.ico is missing !
Here we go issue fixed, you can now start implementing PushEntity. Basicaly the idea is to pass a table which will contain the lua entity table (if any) as metatble, which has as metatable the entitybase's metatable. And then in the first created table put a __self value set to a userdata which will contain the pointer to AEntityBase. And finaly create a lua reference of that table and store this reference in AEntityBase for a later push if nessessary. This of course does not support for inheritance, this only supports prototyping.
If you know a better way just let me know.
When i am trying to open the newest version in the editor it gives me the following:
And with the previous version it compiled the project fine but when i tried to launch it Windows gave me and error saying that lua53.dll is not installed on my computer. But i have the lua53.dll file in the Binary folder? Is there something lua related i have to install first?
SuperPlayer