hi, how i use C language (no C++) to game developing in Unreal???
You canât. C++ Only.
Thatâs true, the interfaces to the engine are C++ only. However, depending on just what bits and pieces you want to be pure C, you can always write the bulk of your own code in C, and link it in via âextern âCââ linkage. It doesnât let you escape from speaking C++ when you meet the engine, but that can be a thin layer.
Now, wanting to use pure C instead of C++ seems nuts to me, but to each his own
Thatâs not even possible since C is not an objective orientated language.
People are using C# somehow with UE4, but C is definitely not possible.
At least not in the way of replacing C++.
Just learn C++ if you already know how to program in C. It takes about ~2 Weeks then.
- âLearningâ C++ does not take ~2 weeks.
- The fact that C is not âobject-orientedâ has nothing to do with why binding were not created, you can create binding from watever to watever. In depended on requirements writing product in C may result in much cleaner code (for number of reasons, but saying post factum, bad designed product written in C is deadborn). So C bindings will be appreciated.
1 Like