Removing an actor & Screen size
Nawee
Member Posts: 7
Hi,
Im making an iphone game and i chose the screen size as 480 by 320 but i was wondering f on the preview box, the actual iphone screen size was the inner box.
Also, I'm trying to remove an actor at the death of a different actor, if any of you know how to do this please help.
Thanks
Im making an iphone game and i chose the screen size as 480 by 320 but i was wondering f on the preview box, the actual iphone screen size was the inner box.
Also, I'm trying to remove an actor at the death of a different actor, if any of you know how to do this please help.
Thanks
Comments
As for removing an actor at the death of a different actor, you could try the following (this is off the top of my head and so untested):
Make a boolean game attribute called SetToDie, keep it as is, i.e unchecked. In the Actor – the one that dies only when the other one does – put a Rule, When attribute game.SetToDie = true, then Destroy this actor. In the rules of the first actor to die, just after its Destroy attribute, put a Change Attribute, setting SetToDie to true.
I'd be interested to hear if it works for you, thanks!
---------------------------------------------------------------
Spiral Gyro Games
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps