🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
C-like instead of C++-like?
hi there!
just a quick question: i know that AngelScript is written in C++, and the
script language itself is nearly identical to C++, but if i want
to write scripts C-like, does this work?
for example, are there functions like sprintf, or printf etc? if not, can i write them (problem could be the variable parameter count)... ?
AngelScript can be a purely procedural language as well, just like C, if you want. There is nothing that requires you to use classes.
Variable parameters are not supported however. Not yet anyway. Adding support for this requires a lot of work, and it will be a while before I can get to that.
Regards,
Andreas
Variable parameters are not supported however. Not yet anyway. Adding support for this requires a lot of work, and it will be a while before I can get to that.
Regards,
Andreas
GameMonkey Script is a C-like scripting language. I don't know anything about AngelScript, so can't really help you there.
For scripting I'd recommend Python, but it's not at all like C. On the other hand, it might prove to be a more powerful language.
-Riku
For scripting I'd recommend Python, but it's not at all like C. On the other hand, it might prove to be a more powerful language.
-Riku
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement