Page 1 of 1

Ingsan - Global Actor?

PostPosted: Sun Feb 27, 2005 10:23 pm
by jazz_e_bob
A new type of actor. I remember Ingsan saying something about it in another thread...

Any action placed in a global actor event effects ALL existing actors.

Example:
Want to make gravity happen to everything?
Use GlobalActor->add->draw actor->yvelocity+=0.98;

Want to change the Speed of everything?
Use GlobalActor->add->mouse down->mySpeed+=100;

Want to make everything Tougher?
Use GlobalActor->add->mouse down->myToughness+=1000;

Make only birds fly faster?
Use GlobalActor->add->mouse down->
if (myType == BIRD) then mySpeed+=100;

That would be way cool methinks!
8)

PostPosted: Sun Feb 27, 2005 10:28 pm
by jazz_e_bob
Suggestion for icon. :wink:

Image

PostPosted: Mon Feb 28, 2005 9:06 am
by ingsan
Sounds like a Global Scene actor ! Cool idea !
Maybe add "Scene" actor in Actor's Control just like "View" actor is. Then events and actions can be added to it.
Yep ! I vote for that !

PostPosted: Mon Mar 14, 2005 3:15 am
by Just4Fun
That would be way cool methinks!


meVotes for this addition too... :lol:

PostPosted: Tue Mar 15, 2005 12:59 am
by willg101
That'd make life sooo much easier!