Conditional rendering

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

Conditional rendering

by aldobr » Wed Nov 25, 2015 20:28

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: 194
Joined: Wed Jun 03, 2015 14:33
GitHub: Qwertymine
In-game: qwertymine3

Re: Conditional rendering

by qwertymine3 » Wed Nov 25, 2015 22:53

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

est31
Member
 
Posts: 172
Joined: Mon Dec 29, 2014 01:49

Re: Conditional rendering

by est31 » Sun Nov 29, 2015 05:21

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.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 10 guests