-
My actor just works 1 time!
by UtopianGames ·Then simply make a rule if self.position.y is < -20 in the rule add a change attribute self.position.y to 400 for e.g. you might have to change those numbers depending on device and portrait la -
Swiping diagonally
by Socks ·Make two 'real' attributes in an actor, call them something like swipeX and swipeY and a third 'angle' attribute, let's call that one 'swipeAngle'. -
Saving progress
by tatiang ·best for this unless you only have a couple of attributes to save, in which case you can just as easily use Save Attribute and Load Attribute behaviors. If you aren't familiar with tables, start by -
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?
-
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 ;)
-
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']