Page 1 of 1

Conditional rendering

PostPosted: Wed Nov 25, 2015 20:28
by aldobr
I want to create something like that :

https://www.youtube.com/watch?v=FRrQSDqU-T4

Problem is, if you use nodeboxes to define a node, if will not tile correctly side by side other blocks, there will be gaps between adjacent nodes.

What i need is conditional rendering : use nodebox-N based on the present or absence of nodes at each cardinal point from the node being rendered...

Re: Conditional rendering

PostPosted: Wed Nov 25, 2015 22:53
by qwertymine3
If your main issue is the tiling, you can just make the node box larger than one block.

Re: Conditional rendering

PostPosted: Sun Nov 29, 2015 05:21
by est31
This is sort of doable right now, and done. Just register all combinations of nodes you need, and change the nodes on changes of the map.