Suppose you wanted to create a 2-dimensional list. This can be easily done with the list constructor. ex:
mylist = list(list(9))
Now suppose we wanted to access the item in the second dimension of the list. Lists are special in that they are objects that contain other objects without themselves containing variables. To access an item in the list, we use the item_at() system function. This returns an object. Performing it once will return the child list. From there, we can call item_at() in succession to access the item of interest:
myitem = item_at(item_at(mylist: 0) 0)
Continue reading “Multidimensional List Access Problem”
Under the hood, Copper is a rather complicated system. It has to be that way in order to ensure Copper is safe (no null pointer errors) within Copper code. However, on the C++ side, this makes it tricky to just access the members and data of a FunctionObject, the most important of all Copper objects. Now there’s an easy way.
Continue reading “Easy object member access for C++”
Good news! CupricBridge and Curri are now online! CupricBridge is a wrapper for the Irrlicht engine GUI system, but it also provides a serialization interface implementation that will work with scene objects. Curri is a project containing the boilerplate code for creating applications with Copper, CupricBridge, and Irrlicht engine.
Continue reading “Build Apps with Curri and Cupric Bridge, Now Online!”
Lately, I’ve been integrating Copper into projects and everything is working seamlessly. Copper has finally matured to being robust enough for full scale applications, not just tinker projects.
Continue reading “Integration Report”