Animated "Blocks"

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian

Animated "Blocks"

by octacian » Mon Jul 18, 2016 15:00

...using entities? How hard would that be? on_construct it summons and entity followed by removing the block. Should be fairly simple. In fact, unless I am wrong about the whole idea, I think that it would be better if all blocks were in reality entities, as that would allow "advanced" animating as in the case of pistons from mesecons pushing other blocks.
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Animated "Blocks"

by TenPlus1 » Mon Jul 18, 2016 17:36

Entities slow down the game so using them instead of an actual node would bring the game to a crawl. You could use animated textures for a node if that helps, failing that as you said, use the on_construct to add an entity to the world and remove the node itself.
 

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian

Re: Animated "Blocks"

by octacian » Mon Jul 18, 2016 21:04

The thing is I need an animated teleporter. I guess I could manage to use textures, but some type of "model animation" would give the nicest effect.
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 10 guests

cron