Tuesday 27 October 2015

Today I learned that you can open .uproject files with notepad, and manage plugins without running the editor! Very useful when you have a plugin-related crash on editor start...

Monday 26 October 2015

This function is wonderful.


It allows to fix those bugs that happen only in packaged game where the fix is causing other problems in Play-in-editor. With this we can add a condition and make both situations work.



"Recipe" for a world-space animated wave:


The divider (100 in this example) scales its size, and multiplying Time by a value would control the animation speed. The direction of the wave can be reverted by subtracting Time instead of adding it.


Thursday 15 October 2015

Wednesday 14 October 2015

I've made particle birds!

I made a flipbook material which can be controller by the particle system:



The particle system spawns a burst of 2-6 birds in a single direction:


This is then managed by a blueprint, which spawn the emitter with a rotation towards the player, plus (90/-90) degrees in the make them go left or right at random, each 10-15 seconds. Parameters are passed from the blueprint to the emitter, and then to the material. (e.g. If the birds fly towards left, we set the scaleX of the UV in the bird material to -1, to mirror the image.)






Thursday 8 October 2015

Wednesday 7 October 2015