<<Previous Archive | Next Archive>>

CopperCube for Game Developers Beta released

I just released CopperCube 4.0.4, and it also includes the feature complete beta version of the announced extension and scripting System. I named it "CopperCube for Game Developers", for simplicity.
Basically, I made it possible on all targets (Flash, WebGl, Windows .exe, Mac OS X .app and Android apps) to run JavaScript code, and exposed the same JavaScript API on it. Additionally, everything was wrapped into an extension mechanism, so that scripts can be put into 'Action' or 'Behavior' form, edited without programming in the editor and downloaded and shared via the internet.

Now that it is implemented, the system works nicely, as I have seen so far. I also wrote a few actions and behaviors with it, and put them up on the website available for download. I'm curious how it will be used, and if people start creating their own behaviors to share with others or not.
You can test the system by getting CopperCube 4.0.4. An overview of the scripting system and its API can be read here.



TV, TV and of course TV!

After watching the Xbox One Reveal 2013 Highlights video on youtube, I'm glad I didn't watch that thing live. TV? Really? Was this thing designed by dinosaurs? They believe the main and future medium still is TV? And, where are the games? Why are only some random old PR people who obviously never would play games themselves talking on there? How is it possible that Microsoft always manages to leave me staring in disbelieve after they announced a new product? :)



One Arrow less

In followup to my archery post a few weeks ago, maybe something which doesn't happen too often:

Last week, a fellow archer splitted my fiberglass arrow with the metal head of his wooden one, by accident. Fortunately, my arrows aren't that expensive :)



Yay, it worked

Sometimes its the small things. I just got this simple message popping up in my Android Emulator, but it made me very happy:

This is a message actually generated by JavaScript code, embedded in a .ccb file. Meaning that the scripting system has made its first steps to start working on Android as well. For non-programmers, it is probably not really understandable how much work it is just to get this little message up. But it was quite a lot of work, and now there is light at the end of the tunnel. Yay. :)



Designing an Extension and Scripting System for CopperCube

The software I'm working most on, CopperCube, is a quite complicated beast. It is targeted at people who want to create 3D apps and games, but do not want or are unable to program. To make this possible, you can easily click your apps together in CopperCube by using a fixed set of 26 Actions and 18 Behaviors. Together, they offer (an estimated) amount of 300 parameters, so you can do quite much with this already. But still, for more complicated apps - and a computer game is probably the most complicated piece of software there is - this is not enough.

So instead of adding more and more actions and behaviors, implementing them for each of the 5 supported targets separately (Windows and Mac OS X in C++, WebGL in JavaScript, Android in Java and Flash in Actionscript), I decided to create an extension mechanism. So that everyone can create their own actions and behaviors, share them with other users, and of course: So that also I can use this myself, and do not have to implement new functionality for all targets separately.

I did some prototyping and testing during the last days, and managed to create a nicely working extension system already. The prototype already works partially on Windows .exe, Mac OS X .app and on the Flash .swf target, so I can continue working from there:

The above creates a 2D Jump'n'Run behavior, which is actually functional already in my test build. The system works like this: For using/creating/downloading a new Action or Behavior, you only need one single file, which is a standard JavaScript text file, which you only need to copy into a specific extension directory. You can edit and save it with your favourite editor, Notepad++ in my case. CopperCube automatically re-reads this file when creating your app everytime. This makes it very easy to use. The JavaScript file has a small embedded XML section in its top, so the editor knows how and what the user can select and change in the property window of the behavior or the action. You can define types and default values for each property (like 'string', 'int', 'texture', 'color', 'scene node' and similar), and so editing such a behavior is exactly like editing a native one:

New actions or behaviors are written once, and work on all targets. The language used for this is JavaScript. I chose it because it is very simple to learn, most people already know it, and (ab)useing its dynamic features is quite useful for quickly scripting new features like this. It doesn't have the best reputation regarding performance, but I've tested it, and for the needs in CopperCube, it's pretty ok. Just don't try to write a raytracing 3d engine with it :)

This new functionality also makes it possible to script all the target using one, single language, with one single API. Meaning CopperCube will probably be also become a lot more interesting for programmers. So I'm looking forward for it to be finished soon. It will take still a bit of time to be implemented fully, but the next update of CopperCube will already include a usable beta of it.



Admire my mad video editing skillz

I just created a 2 minute youtube video, explaining what CopperCube is and what games and apps you can create with it. The problem is that I'm not very good at video editing, and I honestly think the video sucks. But because I do like experimenting with stuff, I dared to put this video onto the front page of the CopperCube website, to see how it turns out. Not sure if this was a good idea, maybe it will even harm sales. But see for yourself:



The worst mistake I did was probably that I recorded the video in 4:3 format. Only after uploading it to youtube, I remembered that videos nowadays are 16:9. The video also includes a few scenes of apps created by CopperCube users. The music was composed by myself. I've now heard it that many times that I cannot tell if it is OK or not. Also, you'll notice that all music I compose sounds quite similar. :/