HideEntity slow?

Blitz3D Forums/Blitz3D Programming/HideEntity slow?

Hi,

has anyone noticed that HideEntity is slow. For example if I call it every time round my game loop (for test purposes) I notice a 'jerkiness', however if I call EntityAlpha entity, 0 then there is no jerkiness.

Why is this?

Are there other optimisations I can make?

Thanks...

What version of Blitz are you using? This used to be a problem in the earlier versions (1.78???), but should not be a problem anymore.

MK

HideEntity/ShowEntity were changed in Blitz3D 1.81.

1.87

It should be pretty instantaneous now. Check your loop timing.

Agreed. I've got some very fast Hide/Show entity things happening with no problems.

It is instantaneous from what mark pointed out.

Rule 1: Check own code before blaming the language. ;)

Who is blaming?

It looked like a question to me!

I wasn't blaming Mark, hell no! I have just implemented his render tweening stuff and ready to bow low and pay homage to the master.

As Ziltch points out it was an innocent question.