Performance problem

freneticzfreneticz SwedenMember, PRO Posts: 777

I have a game that is "finish" exept its lag to much.

I have a main actor that spawns a trail every 0.02 sec & the trail spawns a glow .

Is there a better way to spawn a trail (& glow) because the fps dip from 58 to ~17 .

I can spawn a trail with a built in glow but then there will be so many actors , cause to different trails with different colors & the same with the glow.

Comments

  • AlchimiaStudiosAlchimiaStudios Member Posts: 1,069

    Can it be achieved with particles instead of spawning? Spawning every .02 with a nested spawn can definitely cause some lag, depending on what else is going on.

  • freneticzfreneticz SwedenMember, PRO Posts: 777
    edited February 2018

    @AlchimiaStudios said:
    Can it be achieved with particles instead of spawning? Spawning every .02 with a nested spawn can definitely cause some lag, depending on what else is going on.

    I will try it

    No i cant use particles :( any other suggestions

  • freneticzfreneticz SwedenMember, PRO Posts: 777

    How did you spawn the trails in your "3d" game? @Socks

  • JapsterJapster Member Posts: 672

    @freneticz said:
    How did you spawn the trails in your "3d" game? @Socks

    Particles.... :smile: I remember him explaining...

  • SocksSocks London, UK.Member Posts: 12,822

    @Japster said:

    @freneticz said:
    How did you spawn the trails in your "3d" game? @Socks

    Particles.... :smile: I remember him explaining...

    Yes, particles.

  • freneticzfreneticz SwedenMember, PRO Posts: 777

    When i try patricles the startuptime is 2-3 sec whatever i set the startuptime to.

  • AlchimiaStudiosAlchimiaStudios Member Posts: 1,069

    Try making startup time same as the lifetime.

Sign In or Register to comment.