How to use the Engine 00 : The Nero Dev Engine !Hi guys ! Are you ready for the Nero Game Engine Adventure ?.....? Let's begin !
This series of Howtos will show how to use the Nero Dev Engine. Since the engine is not complete, those Howtos will cover only the available features.
You can download the Dev Engine in the beta version on the Post just above this one!
There is a little overview of those Howtos.
- How to use the Engine 01 : Play with Objects !
- How to use the Engine 02 : Control the Camera !
- How to use the Engine 03 : Let's Edit Meshes !
- How to use the Engine 04 : Workflow !
- How to use the Engine 05 : Use your own Resources !
Before we start, one more precision. The Dev Engine Interface can be divided into Three Main Part :
The Left : The left side of the Canvas : Engine Mode, Save, Load, Sprite Tab, Mesh Tab, Color Tab
The Center : The Canvas, the utility buttons on top the Canvas, the Log window bellow the Canvas
The Right : The right side of the Canvas : Layer, Mesh, Object, Scene, Draw Checkbuttons, etc.
So if I say you can change the current Scene using the Select Button in the Top Right of Engine you know where it is.
How to use the Engine 01 : Play with Objects !Build a Game Scene consists to add Objects onto the Canvas and then Customize them. There are three (3) types of Objects :
Sprite_Object,
Mesh_Object,
Meshed_ObjectAdd Sprite ObjectsIn order to add a Sprite_Object,
click on a Sprite_Button. On the Left of the Engine, you have the Sprite_Tab. By passing the Mouse over the a sprite button you can see a
Sprite_Preview. You can use the
Numpad_Multiply and
Numpad_Divide buttons to scale the Sprite_Preview.
Add Mesh ObjectsIn order to add a Mesh_Object,
select a Mesh_Shape (Polygon, Circle, Line). On the Right of the Engine you have the Mesh_Selection_Button.
Mesh_Objects are created with a default Type. Polygons and Circles are always created as Dynamic Mesh and Lines as Static Mesh.
In order to change the Mesh type, select it and choose the Type you want (Dynamic, Static, Kinematic).
Add Meshed ObjectsIn order to add a Meshed_Object
hold the CTRL key and
click on a Sprite Button, it's the same way that to add a Sprite_Object but you need to hold the CTRL Key befor.
The default Mesh of a Meshed_Object is always a Dynamic Polygon Mesh. To change that, select your Meshed_Object then choose the Mesh_Shape and the Mesh_Type you want.
A Meshed_Object is a combinaison of a Sprite_Object and a Mesh_Object, so Actions that can be applied on one of the both, can be applied to the Meshed_Object.
Select ObjectsWhen you make a Left_Click on an Object, you Briefly select it. As soon as you release the Left_Click the Object get unselected.
In order to make a Permanent Selection you have to make a
Right_Click on the Object.
Remove objectsYou have two ways to delete an Object. The first one is to make a Permanent Selection and then press the
Delete Key. The second one is to hold ALT and Left_Click on the Object.
Move, Scale, Rotate ObjectsYou can Move, Scale, Rotate Objects with either the Numpad or Mouse.
Mouse /
Move : Left_Click on a Object. Hold your click and move the mouse
Mouse /
Scale : Hold the CRTL key. Then Left_Click on an Object. Hold your click and move the mouse Up or Down
Mouse /
Rotate : Hold the SHIFT key. Then Left_Click on an Object. Hold your click and move the mouse Up or Down
Using the
Numpad you have to make a Permanent Selection on the Object first and then
Hold the CTRL key.
Numpad /
Move : Numpad_4, Numpad_6, Numpad_2, Numpad_8
Numpad /
Scale : Numpad_Addition, Numpad_Substract
Numpad /
Rotate : Numpad_7, Numpad_9, Numpad_Multiply, Numpad_Divide
Flip ObjectsThe Flipping concerns
Sprite_Object or
Meshed_Object. When you apply it to Mesh_Object or even Meshed_Object you may encounter some weird behaviours, that because, Meshes are not meant to be flipped. But it's not a big deal, you just have to Edit your Mesh to fix it. I'll correct the Flipping function for Meshes one day
In order to Flip an Object, first make a Permanent Selection and then Hold the
CTRL keyNumpad /
Flip Horizontally: Numpad_1
Numpad /
Flip Vertically : Numpad_3
Duplicate ObjectsThis is great to make
Tiled-Like Scenes.
In order to Duplicate an Object, first make a Permanent Selection and then Hold the
ALT keyDuplicate Horizontally and Vertically : Numpad_4, Numpad_6, Numpad_2, Numpad_8
Duplicate in Diagonal : Numpad_1, Numpad_7, Numpad_9, Numpad_3
LayersOn the Right you can see the Stack of Layers. There are some buttons to Add, Delete, Move UP and Move Down Layers.
The See_Button allows to Hide or Show a Layer
The Check_Button allows to Select a Layer
When you add an Object, it goes to the
Currently Selected Layer. But Layers always contain the same Type of Object. So if you add a Sprite_Object when your currently selected Layer contains some Meshes, the Engine will create automatically a new Layer before to add the Sprite_Object.
Move an entire LayerIt is possible to move all Objects in a Layer. In order to achieve that, first, make sure the Layer is selected, then
Hold CTRL and ALT and use the following keys: Numpad_4, Numpad_6, Numpad_2, Numpad_8
That's All!That's all for the first Howto. Just bear in mind that you can play with Objects either with the Mouse or with the Numpad. By default the Numpad is used to handle the Camera, so in order to used it with Objects you have combine it with CTRL or ALT. We'll talk about the Camera in the next Howto.