-
How do I make an actor move in a horizontal sine wave?
by ETGgames ·. I was accidentally using the change attribute instead of contrain (yes.. I know!) -
How do I make an actor move in a horizontal sine wave?
by Socks ·He wants to move left to right (rather than in the Y direction), he's already got the constrain working fine for Y, he just needs the lefthand side of his behaviour to read position.x rather than posi -
Adding an ease on a scrolling menu
by eporterhouse ·I did not use Interpolate. It was accomplished using two actors (one as a drag and the other as a camera). Then using constraint and change attribute. I am very very new to all of this so please forgi -
How do I make an actor move in a horizontal sine wave?
by Adrenaline ·There's no reason it shouldn't work. If it works in one direction, it will work in another. All you're doing is constraining a different attribute to the same value that you've already said works just -
How do I make an actor move in a horizontal sine wave?
by Socks ·Use the equation you have in your first post, but instead of constraining the actor's Y position to that equation, constrain the actor's X position to that equation. -
Tag Question
by tatiang ·There isn't a built-in way to globally script an action for all actors with a specific tag, but you could certainly set up a rule in every actor that says if attribute self.Tags contains [tag name], t -
Working with Tables // Wordgame
by tatiang ·Each time you want to select a word at random, change attribute game.word to random(1,tableRowCount(tableName)). Then use game.word for the row number in each DisplayText, textSubString(), etc. funct -
Swipe Limit
by rftimoteo ·I've tried several solutions but none of them seems to work (constraint attribute, change attribute, change velocity,...). Maybe just not in the right place. -
Needing actor to flip image
by justinodunn ·(Quote) -
Needing actor to flip image
by Hopscotch ·@justinodunn, in the Graphics attributes of the actor you will find the Horisontal and Vertical Flip option. -
Projectile Range and lifespan
by Tosanu ·So that will grab it when it first spawns with a basic Change Attribute command? It wont be affected by the projectile being spawned in motion? -
How to reset attributes on GS PC?
by Tosanu ·If you're talking normal attributes, they should reset with a scene. If you are talking saved attributes, include in the reset button behaviors a save attribute= 0 or something else to equal a default -
Projectile Range and lifespan
by Tosanu ·I thought of having a condition in which the projectile tracks its X position compared to the player's position, (an game attribute constrained for multiple purposes) but that means the player could t -
Change Attributes Not Tracking
by MohboDesigns ·I'm using touch to spawn a "kicker" actor that constrains velocity toward the touch position. All this works fine. The spawn is set to be at the same position as the actor. -
Making a combination music-sound on off button
by Socks ·If touch is pressed: change attribute, Device.Audio.sound volume to 1-Device.Audio.sound volume. -
Making a combination music-sound on off button
by CodeMonster ·change attribute, (Device.Audio.Music volume+1)%2 -
Making a combination music-sound on off button
by aussiefaz ·make a attribute called musicOff and a attribute called soundOff -
Change Attributes Not Tracking
by MohboDesigns ·To achieve this I am tracking taps on each ball: when the actor collides, change attribute self.tap to self.tap+1 and add to score -
Trouble having scene controlled by a timer, any advice?
by aussiefaz ·Ive still got the game.BonusTime attribute set on Real at this stage, and it worked with it like this. -
Help with controlling amount of time a button can be pressed
by tatiang ·That's a custom attribute. Open the actor and click the + at the bottom of the list of attributes to add a boolean attribute. You can name it anything you like; I just chose "action.&qu