How to change attribute self.Angle?

I may sound very silly, but i'm trying to create a game that I plan to be similar to Geometry Dash and I cant figure out how to change the attribute self.Angle on my actor. This is the first time i've used GameSalad so please take that into account. Also, any advice on how to create a GeometryDash-like game would be very appreciated!

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited March 2015

    Each actor has a built-in attribute called self.Rotation that determines its angle in the scene. You can change this in several ways including Change Attribute, Constrain Attribute, and Interpolate. You can also uses behaviors such as Rotate or Rotate To.

  • stellathefellastellathefella Member Posts: 20

    I still don't get how, for example, I would set self.Angle to self.Rotation-180 in a change attribute thingy because I cant find self.Angle at all as an attribute in the change attribute box thingy(this thing(http://tinypic.com/view.php?pic=30keliw&s=8#.VQCwFvnF-j8))

  • stellathefellastellathefella Member Posts: 20

    Im trying to get something like this http://tinypic.com/view.php?pic=vhw0o0&s=8#.VQC0wfnF-j8 but I cant find the angle attribute in the attribute menu.

  • SocksSocks London, UK.Member Posts: 12,822
    edited March 2015

    @stellathefella said:
    I cant find the angle attribute in the attribute menu.

    .

    @tatiang said:
    Each actor has a built-in attribute called self.Rotation that determines its angle in the scene.

  • stellathefellastellathefella Member Posts: 20
    edited March 2015

    How would I get exactly what I see in the picture I posted into a change attribute box?

  • SocksSocks London, UK.Member Posts: 12,822

    @stellathefella said:
    How would I get exactly what I see in the picture I posted into an change attribute box?

    Make a new attribute and call it 'Angle'.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Right... that's because self.Angle doesn't exist (unless you create it as a custom attribute). What you want is self.Rotation.

Sign In or Register to comment.