change scene attributes help

FirstDanFirstDan Member Posts: 208
edited November 2011 in Working with GS (Mac)
I have a rule that when an actor goes up past 725, i want the scene to change colour to white, but in this transition i want the player actor to remain visible with his colour, much like monster dash, as it switches background etc

just want to know what attributes to change etc.

thanks folks.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    edited November 2011
    Hey Dan,


    Make 1 attribute called colorchange

    Okay, have a rule:

    When self.postion.y is equal or greater then 725,
    Change attribute game.colorchange to true.


    Now, make a new actor called scene change. Place it on the screen but out of the way so we cannot see it.
    unlock it and put:

    Rule:
    When attribute game.colorchange is true.
    Change attribute game.current scene.color.Blue to 1
    Change attribute game.current scene.color.Green to 1
    Change attribute game.current scene.color.Red to 1


    Now go back into your character actor and do the same thing to make it a different color when the scene color changes.

    Rule:

    When game.changecolor is true
    Change attribute blah blah blah

    And there you go.

    Hope this helps.

  • FirstDanFirstDan Member Posts: 208
    @BRAY.... Genius, I will try that after work,

    software developer in the day :(,

    games developer by the night :)

    thanks again


  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    edited November 2011
    @FirstDan,

    Yeah, no problem m8.
    Just remember, to edit things like layers and scene colors, you need to have an unlocked actor on the screen. :-)
Sign In or Register to comment.