i used c++ for 2 years and I used sfml and I made some games in it I just want to know can I use c++ to make games in defold
Our main scripting language is Lua, and that is how you control the engine.
While we do have a C++ SDK to help extend the engine, that is also the sole purpose of it.
We do not have it as a goal to make games using only our C++ SDK.
ok thanks
Yes, I use C++ to write a game. You have to have some extensive knowledge of the engine to be able to write games in C++ with Defold so I wouldn’t recommend it.
ok
i will need to build the source code i guess i already have some knowledge in engine programming but i never saw the defold source code i will try to look through the source thanks for youre reply
This might help you with first steps
Also, I believe it’s good at first to start with extensions
I imagine, the simplest way is to write a script in which you can use your native extension in Defold life-cycle functions, something like:
function init(self)
myextension.init()
end
function update(self, dt)
myextension.update(dt)
end
etc Step by step, I believe you can do it, you already made a lot in Defold in a very short period!
thank you
Defold builds the source code for you, you don’t have to build yourself.
ok