Removing an actor & Screen size

NaweeNawee Member Posts: 7
edited November -1 in Working with GS (Mac)
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

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Nawee said:
    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.

    Hi Nawee, as any 480 x 320 image, being the iPhone screen size, goes to the edge of the outer box, the outer box must be the screen size. I don't know what the inner box is for, though (I posted a question about that but didn't get a definitive answer!)

    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

Sign In or Register to comment.