Page 1 of 1

Adding trees

Posted: 20 Jan 2015, 13:50
by Nigey
Hiya guys,

I'm trying to add a tree to the game, which takes up multiple tiles. It's a coconut tree, so it's thinner than one tile on it's body, however it's length is equal to about 4 tiles. What would be the best option to place a tree into the game so it fits well with the layering system?

Re: Adding trees

Posted: 20 Jan 2015, 16:40
by Bax
Can you please show a picture?

Re: Adding trees

Posted: 20 Jan 2015, 17:35
by Nigey
Ideally I'd like it something like this:

tree.png
(184.74 KiB) Not downloaded yet

Re: Adding trees

Posted: 20 Jan 2015, 17:36
by Nigey
This is only concept art, it's not actually placed in.. but I'd ideally like it put like something like this:

floor1a.png
(245.1 KiB) Not downloaded yet

Re: Adding trees

Posted: 21 Jan 2015, 11:01
by Bax
Actually this is very simple. Trees, especially those which are slim and tall like yours can occupy a single tile.
You can see an example in the picture on this page: http://openspace-engine.com/support/editor/skinEditor

Re: Adding trees

Posted: 22 Jan 2015, 15:52
by julifos
Add it to the topmost tile (red in the attached screenshot), ignore the others (yellow)

Re: Adding trees

Posted: 22 Jan 2015, 17:30
by Bax
If the base must be larger than one tile (as in julifos example), then you could create a supertile made of four tiles as julifos suggested, attaching the whole skin to the lower tile just like he said.

Re: Adding trees

Posted: 25 Jan 2015, 14:04
by Nigey
That's really handy guys, thank you!

When it comes to more complex objects larger objects, will I need to make supertiles out of those as well? Or can I possibly insert them as a background/foreground image??

Re: Adding trees

Posted: 25 Jan 2015, 14:22
by julifos
The avatar won't interact with stuff placed in the foreground/background. If you need the avatar to enter in the house, it must reside in tiles (or supertiles). If the house is just a decorative house in the horizon (where the avatar can't walk), place it in the background.

Appart from this, I think stuff placed in the foreground is automagically shifted, so it creates the illusion of atmosphere. So, you shouldn't place here things which need to match objects in the background or tiles.

Here is a pretty nice five-minute reading: http://openspace-engine.com/support/tut ... pStructure

Re: Adding trees

Posted: 25 Jan 2015, 15:14
by Nigey
Aaah awesome, thanks bud :)