Conditional rendering

Post Reply
User avatar
aldobr
Member
Posts: 316
Joined: Sun Nov 25, 2012 05:46

Conditional rendering

by aldobr » Post

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...

User avatar
qwertymine3
Member
Posts: 202
Joined: Wed Jun 03, 2015 14:33
GitHub: Qwertymine
In-game: qwertymine3

Re: Conditional rendering

by qwertymine3 » Post

If your main issue is the tiling, you can just make the node box larger than one block.
Avatar by :devnko-ennekappao:

est31
Developer
Posts: 173
Joined: Mon Dec 29, 2014 01:49

Re: Conditional rendering

by est31 » Post

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests