-
Randomly spawn actors that move down the screen in a lane
by Braydon_SFX ·Then, in a controller actor, in a 'every' timer, change a integer attribute (let's say it's called RandomAttribute) to random1,x (again, x being how many spawn points you want). -
Countdown Timer?
by dustingriffie ·Do you just put that into a Display Text Attribute? -
Need help with Platform Movements
by Socks ·Constrain position.x to AAA *sin(self.time *BBB)+CCC -
Custom Score Font + Shortened Score
by tatiang ·* Give each digit actor a unique integer self attribute called something like self.digitPosition. This refers to the order of the digits, so in a number such as 458 the 4 would have a value of 1, the -
Max integer?
by tatiang ·* When attribute game.SoldierAmmo ≥ 156 ... Constrain Attribute game.SoldierAmmo to 156. -
Max integer?
by colander ·Where ever you are adding to your ammo count create a rule with the condition "When game.SoldierAmmo <= to 156" and place your Change Attribute inside it. -
Max integer?
by SLOCM3Z ·I was wondering how I could set a max number for an integer. I can do 'if attribute game.SoldierAmmo >= 156' :do: 'timer:"every 0.0001 change attribute game.SoldierAmmo :to: 156&qu -
SOLVED Reduce Score
by DigGeek ·Hi All, I've been using GameSalad for about a week now and am loving it especially as so far I've been able to troubleshoot everything by myself. Unfortunately I'm come up against something now and co -
actor following the mouse?
by Dues ·In your actor put two constrain attributes: -
Too many timers? What's your opinion?
by Socks ·Yep ! Timers get a bad rap, but like you say unless they are all firing at once having lots is fine, in fact an 'after' timer is about as resource hungry as something like a change attribute behaviour -
Spare Code ? Dump It here.
-
Spare Code ? Dump It here.
by MattButlerStudios ·(Quote) -
'Invalid Expression' - this should be simple ;)
by gizmokris ·Im trying to change an image using a Change Attribute. -
Question about "Reset Game" behavior
by tatiang ·This. Load the high score key when the game starts and then save it before using Reset Game. Reset Game resets attribute values. -
Hello! Got some problems
by j_d_campbell98 ·P.S While I'm here when using Load Attribute what does it mean by "from" and "load"? -
Mailto not working...
by gyroscope ·Thanks, Jamie, I've just discovered that and it's helped me work out the problem I'm having: mailto needs %20 for spaces - it can't deal with a text attribute without them, nor a table entry. -
Mailto not working...
by gyroscope ·Along those lines, I did try "&body=game.long text" - the email opened showing the correct subject but the body text says: vars['game.attributes.id246985'] -
Question about "Reset Game" behavior
by Slayre77 ·I just wanted to know if you use the Reset Game behavior to restart the level for an endless runner game, does it reset your highscore attribute as well? I tried using the Reset Scene button but all I -
TableColSum but no TableRowSum
by zweg25 ·So there is not a tableRowSum function (probably because if one column is text and one is an int it'll break the game). What I would do is make a loop with a self.column attribute and say: -
Don't Move after Collision and Change Scene
by vuifah ·change Attribute (game.End) to “game.End + 1”