Unexpected results implementing simple motion blur in Libgdx

前端 未结 2 1143
误落风尘
误落风尘 2021-02-19 04:31

In the two attached pictures, the desktop screenshot of libgdx functions as expected. The screenshot from my Galaxy Nexus is unfortunately not as expected. I am attempting to cr

2条回答
  •  醉梦人生
    2021-02-19 05:20

    Perhaps there is a better way to get the 'motion blur' effect of movement?

    in order to make motion blur in my game i use another approch "The particle effect" it works realy fine with me and i didn't have Android/Desktop problems or with different android devices

    all you have to do is to use "Particle Effect Editor" of Libgdx and make your effect then load it in your project finally draw it at the same position you draw your object (and alos draw your object)

    Tips to make the right effect file with Paticle Editor :

    • set (use) the same image of the object that you want to blur it motion in the particle effect

    • try to limit the count : the max number of particle allowed

    • Disable the "velocity" and "Angle" parameter

    Particle effect help to do motion effect Hope this will help someone !

提交回复
热议问题