Skip to content

ACTORS framework

Compare
Choose a tag to compare
@PixeyeHQ PixeyeHQ released this 08 Dec 11:19
  • Group events changed:
    Add instead Added
    Remove instead Removed
  • Factory workflow changed. Added Default Factory Singleton
  • New methods included in Framework Extensions:
    Every - to iterate variables each x steps ( frames )
    Plus, Minus - to calculate values with a clamp to min/max size.
	if ((cReload.timer = cReload.timer.Minus(delta)) == 0)
		cWeapon.clip = cWeapon.weapon.clipSize;
  • Tags moved from common folder to [1]Source
  • ComponentRelease and ProcessingRelease added. These scripts control entity destroying flow.
    If you need to destroy entity use
	entity.Release();

If entity is an actor use

	entity.Release(true);
  • Several components can be taken from the entity by once
           // example 
            ComponentMotion cMotion;
            ComponentPlayer cPlayer;
            ComponentView   cView;
        
            if (entity.Get(out cMotion, out cPlayer, out cView))
            {
                
            }