We’d love to hear from you. Whether you have a question that you’d like us to answer as part of our FAQ,  you’ve identified something that just doesn’t quite look right in one of our tutorials, you have a business opportunity or for any other reason, please use this simple form to contact us.

We’ll do our best to provide a prompt response.

Getting Started with CopperCube 6

Introduction

With the release of CopperCube 6, there is now a free version available, making this game engine far more accessible than it was before. Therefore here on DevGa.me we have created this tutorial series that introduce you to this game engine. CopperCube is among the easiest to use 3D engines available, enabling you to make a game without requiring any programming at all, while giving you the ability to code in JavaScript if you prefer. This tutorial will take a step by step journey through the process of creating a game using the CopperCube game engine.

For this tutorial we will be using the free version of CopperCube. The major difference between the free and paid versions of CopperCube is the requirement to display a splash screen when your game starts. Additionally there are additional graphic effects available in the pro version, while the final version also contains the C++ source code. While we are using the free version in this tutorial, everything we cover will be applicable to all versions of CopperCube available.

There are two ways to acquire CopperCube, you can go directly to the website and download there, or you can download the engine using Steam. Make sure you locate the 6.x version, as both 5.x and 6.x are available on Steam and are very different downloads due to the license changes! If you own a commercial version of CopperCube 5, this tutorial should mostly still be applicable, but the 5.x free version is very limited in functionality. CopperCube is available in both Mac and Windows versions, sorry Linux developers, there is no native binary although apparently it runs just fine in WINE.

Creating a Project

Let’s start things off by creating our first project. When you first launch CopperCube, you will presented with this dialog:

CopperCube - Creating a Project

Simply select New 3D App, then click OK. You will now be presented with the main CopperCube interface:

CopperCube Interface

By default our scene consists of a textured Cube mesh and a skybox. A skybox is simply an inverted box with sky textures pasted on each face, giving the illusion of a sky around the scene.

The 3D view is your eye into your game world. You can pan the view around by holding down the middle mouse button. You zoom in and out using the scroll wheel or by holding down the right mouse button. Left click on objects to select them. The selected objects details will be displayed in the Properties panel.

You can switch between selection, translation, rotation and scaling using this tool bar:

CopperCube Properties Panel

You can also accomplish the same thing using the Q, W, E and R key respectively.

This tool bar can be used to switch between predefined cameras:

CopperCube Predefined Cameras

These can also be selected using F1, F2, F3 and F4 respectively.

You can also have multiple viewports into your scene. Simply select the menu View->Add Viewport then choose the starting position of the camera.

CopperCube Viewport

This will create a new window showing the selected viewport. This can be handy if you have multiple monitors. However if you are using a single display you may instead want to dock this window into the main interface. Simply drag the window over the area you’d like to dock it to and a gray rectangle will be displayed. Let go of the mouse button to dock in this location:

CopperCube Tutorial

You can then resize the windows by clicking the pane between them. You can continue to add more and more viewports until things are configured the way you prefer:

CopperCube View Port 2

You can also remove all but the default viewport by clicking the X in the top right hand corner of the viewport. If you would prefer a wireframe view, simply click Ctrl + W with the desired viewport highlighted. Hit Ctrl+W again to switch back to textured mode.

Creating and Running Your Application

Now that we know the basics of the user interface, let’s take a look at how you run your application. Simply select the Tools Menu then select the target you want to build for, or use one of the hot key combos shown to the right, such as Ctrl+F10 to run the EXE version.

CopperCube user interface

Assuming everything went correctly, your app should be displayed in a new window.

CopperCube Tutorial 2

You can also create/run a game build using the toolbar panel at the top. Select the Publish tab, then in the drop down pick your build target then hit the play icon.

CopperCube Toolbar Panel

Notice the Gear to the right of the drop down? This is the same as the Tools->Publishing Settings… menu and is where you configure the properties of your game. In the General tab you can configure some top level details of your game like the Title, configure the loading screen, etc.

CopperCube Publishing Settings

Additionally there is a tab for each additional platform. Here you can configure platform specific details. Here for example are the settings available to the Windows target:

CopperCube Publishing

As you can see some more important settings are available here, such as the ability to set the size of your application window, if it’s full screen, resizable, what GPU driver to use and much more. The settings vary from platform to platform. Notice the Physics Engine setting here… we will revisit that shortly!

By default you will have mouse look enabled, so move your mouse around to look around your world. We will look at customizing this behavior in a later chapter. Hit the Escape key to stop running your game. That’s it for now. In the next chapter we will look at creating a game world and populating it with… “stuff”!

Table of ContentsNext>>Creating a Terrain

script ends --->