ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator C++ API
person icon
onehitwonder
Registered User
Quote
2024-10-07 15:45:30

Hello,

I am interested in purchasing the Studio version of CopperCube. Is there any documentation for the API?

person icon
sam_grady
Registered User
Quote
2024-10-07 17:11:38

Well, look, the engine uses the Irrlicht and IrrKlang libraries, which have documentation available online. As for the other libraries, like those for opening and working with different 3D mesh files and so on, you can just check the files.
The part written by Niko himself doesn’t seem to be documented and is mostly just a wrapper for Irrlicht.

person icon
onehitwonder
Registered User
Quote
2024-10-07 19:22:05

So there is no API built on top of these libraries then? It's hard to know since there is literally no additional documentation on this £118 price tag. Hence why I am asking here.

Does CopperCube use an entity component system?

person icon
sam_grady
Registered User
Quote
2024-10-07 20:34:38

the source code provides access to modify and extend the compiled game on the CopperCube engine - that's obvious and well-known. But many don’t realize that the engine is based on Irrlicht, which means a lot of objects and elements are actually nodes from the Irrlicht engine, along with their parameters. To work conveniently with the source, you need to clearly understand what you want to do. I’m using only the pro version but I’m familiar with the source, and I can say the most efficient way to use it is by extending the JS API with your own functions. This allows you to take advantage of all the capabilities of C++ and the Irrlicht and IrrKlang libraries.
For this, you don’t need to dive too deep into the code written by Niko it's enough to study the libraries and know C++.

person icon
onehitwonder
Registered User
Quote
2024-10-07 22:54:50

Thanks for your response Sam.

person icon
guest_Robbo
Guest
Quote
2024-10-14 23:49:41

Yes, as Sam mentioned, CopperCube is basically a modified irrlicht game engine - the vast majority of irrlicht C++ code can also be found in CoperCube.

There are not many things that wont run from the irrlicht code in CopperCube directly - in those cases some adjustments are needed - so far I have been successful in doing this, and I am not a c++ programmer.....doh!

A good web source is:

https://irrlicht.sourceforge.io/docu/index.html

and for a forum type help try:
https://irrlicht.sourceforge.io/forum/index.php?sid=01cfaead42b5966275dbc96610a235e5

If your stuck maybe try github also for more information.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |