Rojo3d
A 3D engine for Construct 2.
Download:
https://www.dropbox.com/s/xar8r765zh8t5uf/rojo3d%20v0.96.zip?dl=1
To install extract to this folder on your pc.
<install path>\exporters\html5\plugins
Examples:
https://www.dropbox.com/s/kava3i096pf12b0/rojo3d_examples.zip?dl=1
https://www.dropbox.com/s/ya9hrc78tjkfpjq/rojo3d_05_bilboard_test.capx?dl=1
Main Features:
* obj file loader.
* load textures from files or sprites.
* directional light with shading and shadows.
* fog
* zbuffer, and it is drawn within c2’s renderer, so you can put stuff in front and behind it on the layout.
* ability to let you build meshes with events.
Usage:
The plugin has its own method of keeping track of objects, meshes and textures via text tags. So you can load any number of textures and meshes, and also have objects share them.
There are three object tags available by default: “”, “camera” and “light”. Those are the world space, the camera and the directional light. “” can’t be changed, and light ignores position but otherwise they are complete objects. You can also create new objects via an action.
Each object has position, scale, orientation, mesh, texture, texture rectangle, color, and some settings to tell if it’s affected by fog, shadows, shading or if it’s transparent or a billboard sprite.
When creating an object you can have it copy another and just modify what you want instead of starting from scratch.
You can set the position, orientation, and scale. You can also modify those things too.
When you do the transformations it lets you do stuff relative to other objects with the “relto” parameters.
Some examples:
Rojo3d: move “camera” by (0,0,100) relto:””
Would move the camera’s z by 100 in its world position. But if you wanted more of a move at angle feature you’d do:
Rojo3d: move “camera” by (0,0,100) relto:”camera”
Would move the camera forward relative to its own orientation.
You can also utilize the relto feature to have one object copy the orientation of another:
Rojo3d: set Euler orientation of “obj1” to (0,0,0) relto: “obj2”
The idea is you can mostly get the transformation you want without touching trig or complex math.
Be sure to look at the examples, and check out the actions and expressions. I didn’t cover everything here.
Thanks for you don't forget c2 , and your amazing plugin!
I have some Question about it!
Whats deffrence between your plugin and outher plugin created before?!
(and if you can update canvas plugin , thank you! (for example add polygon or some))