


New algorithms allow SPEE3D printers to coat existing metal parts with copper. Now we need trigger that will execute the scripts above. ACTIVAT3D copper is antimicrobial copper that can be rapidly deployed using SPEE3D technology. Var texture = ccbLoadTexture("./directory/filename") Var s = ccbGetSceneNodeFromName("NodeName") first texture in your prefab is "0", 2nd texture is "1", and so on. "materialindex" is the number of texture in your prefab. To execute the scripts above, you have to use this script:ĬcbSetSceneNodeMaterialProperty(s, materialindex, "Texture1", texture) So if your texture destination is "./gamedata/textures/filename.png", and the game location is in "D:\Game\MyGame", it will load texture from "D:\Game\MyGame\gamedata\textures\filename.png Note: "./" is the root folder of the game. texture.png), and "texture" with anything you want Replace "directory" with your textures directory, replace "filename" your texture name (i.e. Now make a variable that will load the texture: var texture = ccbLoadTexture("./directory/filename") Replace "NodeName" with your scene node name, and replace "s" with anything you want. Make a variable that will get your target scene node: var s = ccbGetSceneNodeFromName("NodeName") Ok! now, it's time for the tutorial to begin! :) Especially if we use high-poly models, high quality sounds, 2K Textures (Current CopperCube version only support 2k textures max.), it's possible that you will get your. Since the files are packed inside the game, the size of the executable would be extremely high (Indeed). Then what's the advantages.? Of course, the size. So we can't edit the game, we can't even change the icon of the Compiled Game.

Not only that, CopperCube also encrypts every single file inside the game. The advantages is our gamefiles are secured.
Coat3d to coppercube how to#
Today i will show you how to make games made with CopperCube can load textures externally.Īs we know, games made with CopperCube will pack the models, maps, sounds, textures & other game components inside the executable ("gamename.exe").
