Linux test build !

A Linux test build is now available in the download section (x86-32) !

Binaries should work on most recent Linux distributions,
you will just need OpenAL to be installed.


Cheers !

Publié dans News | Un commentaire

iOS publishing news

Publishing for iPhone and IPad is coming to an alpha stage, OpenGLES1 and OpenGLES2 with dynamic lightning and shadows are now supported.

Thanks to the contribution of Skumancer the project is featuring all the good iOS inputs, multi-touch, accelerometer, gyroscope…

All the other features are the same than the desktop version.

You can follow the discussion in the forum :

Thank you,

Support Maratis, make a donation
Publié dans News | Commentaires fermés

How to create a Game Interface

In this example we are going to see how to create a game interface using C++ and Maratis SDK.
We will use the SimpleGamePlugin Demo as a base project, and simply customize the Game class (MyGame.h and MyGame.cpp).

The main idea is to draw a scene with a life bar and a mouse cursor (the GUI scene) on top of one other (the current scene) :

1 : Project creation :

In a new Level create 2 Scenes :

- Scene-1 will be the game scene :
Here some boxes with a perspective camera and a spot light with dynamic shadows

- GUIScene will be the interface scene :

Meshs are done in Blender with a simple textured quad, the blending mode of the Material is « Alpha blending ».

In Maratis, the GUI objects are oriented in X and Y, to be in the same space as the mouse coordinates. To arrange easily the scene in 2d, select the « Bottom » view.

Create a camera oriented toward Z. Then, in the camera properties, select « Ortho » to activate the orthographic projection (2d).

2 : Game plugin creation

We are now going to create a game plugin derived from the SimpleGamePlugin Demo.
- We will modify the game class to draw one scene on top of the other and to move the cursor object according to the mouse position.

Let’s first enable the following functions of the Game class in MyGame.h :

void onBeginScene();
void update();
void draw();

And write the code in MyGame.cpp :

These functions are virtual, if they are not customized, they are executing the standard Maratis code. In this example, we want to draw the current scene normally and just draw another scene on top.


Publié dans Tutorials | 3 commentaires

New Blender 2.57 Release and Maratis exporter update

Blender 2.57 Release is out, with a lot of improvements and stability :

As a lot of change has been done to the python SDK, the Maratis exporter script has been updated to work with this new Release :

Download MaratisExporter_bl-257

Publié dans News | Commentaires fermés