-
Is this valid syntax?
by MattButlerStudios ·@colander @tatiang After some testing, it does seem as if the (attribute)or(attribute)or(attribute) method did work. Thanks for the help! -
How do you duplicate scripts?
by Braydon_SFX ·One way is to create a game attribute (boolean type, or integer) and set it to false or 0. -
Realistic slots moment. "Fall in to place"
by Socks ·Constrain each number's position to the sine of the height of the reel - and constrain the number's height to the same value . . . (except offset by 90° - or just swap sin for cos). -
Spawn and Actor when Stwitch is ON
by colander ·(Quote) -
Spawn and Actor when Stwitch is ON
by tatiang ·* change attribute game.integer to mod(game.integer+1,2) -
Spawn and Actor when Stwitch is ON
by colander ·(Quote) -
Spawn and Actor when Stwitch is ON
by heman85 ·Team, I have a Switch for turn on / off a Laser wall, If the Player touch the Switch, the switch changes the game.integer value attribute (change attribute game.integer To: 1-game.integer ) -
Need an actor to follow AND rotate around another actor...
by Socks ·Here the green dot is being constrained to the wing of the space ship, let's say we want it 44 pixels from the centre of the ship and at about 65° . . . which should look something like this: -
Need an actor to follow AND rotate around another actor...
by Socks ·So, for example, an object constrained to 112 pixels off the righthand wing of the ship: -
Need an actor to follow AND rotate around another actor...
by Socks ·Constrain x to AAA *cos(ship rotation +BBB)+ship x -
Need an actor to follow AND rotate around another actor...
by dotoran ·I've been playing with storing the ship's X and Y and then constraining the X/Y's of the shields to the other actors, and that seems to work for keeping the shield actors WITH the ship, and I've also -
Click event runs perpetually
by devospice ·I couldn't figure out a way to stop a click event from propagating to elements below the top object (is there a way to do this?) so I created a new Game attribute called "Level Select Open.&a -
How to make an actor rotate to follow mouse
-
How to make an actor rotate to follow mouse
by tatiang ·More to the point, Constrain Attribute self.Rotation to vectorToAngle(game.Mouse.Position.X-self.Position.X, game.Mouse.Position.Y-self.Position.Y) -
Jump through platform problem
by ashtmj ·add a new real attribute to you ledge/platform called core Y -
Displaying Actor When Variable Stops Updating
by tatiang ·If game.score > game.lastScore then change attribute game.lastScore to game.score. -
Trouble respawning after death!
-
Trouble respawning after death!
by KillerPenguinStudios ·(Quote) -
Attacking Hitbox
by tatiang ·You can't "constrain a character to a boolean." If you constrain something in GameSalad, it means to keep one value always the same as another value. So if you constrain self.posit -
Attacking Hitbox
by TinyTimidTurtle ·So I tried to figure out how to constrain a character to a boolean and I'm having difficulty. Do I pick position or size? Also do I fix the new Hit Box attack actor to the border of my main actor who