User Tools

Site Tools


es:orx:tutorials:object

This is an old revision of the document!


Tutorial Objeto

Resumen

Dado que orx es una plataforma data driven, necesitamos de solo dos líneas de codigo para crear un viewport y un object. Todas sus propiedades serán definidas en el config file(01_Object.ini).

El viewport está asociada con una camara la cual es creada implicitamente a travéz de la información dada en el config file. Además, en este config file, puedes también fijar su tamaño o posición o alguna otra propiedad del objecto como su color, escala, ángulo de rotación, animaniones, propiedes físicas, y mas aún.

You can even request random values for all these setting without having to add a single line of code.

In a later tutorial we'll see how to generate complex object hierarchies or even a whole scene (all background and landscape objects for example) with only a single line of code.

For now, you can try to uncomment some of the lines of 01_Object.ini, play with them, then relaunch this tutorial. For an exhaustive list of options, please have a look at CreationTemplate.ini.

es/orx/tutorials/object.1249403000.txt.gz · Last modified: 2017/05/30 00:50 (8 years ago) (external edit)