-
Animate or Change Self.image every 1 second?
by Socks ·I've got stuff animating at 30 fps - as well changing images (change attribute self.image) at around 60 fps - and the game itself still runs at 60 fps. -
Animate or Change Self.image every 1 second?
by Kangavark ·quick question: what is the best option that doesn't kill the frame rate? Animate or change attribute, self.image with a timer? -
Milestone triggers
by tatiang ·.....Change Attribute game.HighestThousand to ceil(game.score/1000) -
GameSalad randomly changes my attributes! What???
by adambowker98 ·Here are the rules I have in place regarding the attributes: -
Open URL to external links, from table?
by robert.mccarthy ·So having a 'list' of links anywhere (either in tables or global attribute), you cannot pull them into the URL behaviour? -
SaveAttribute doesn't work ?
by galban ·- change attribute game.UnlockLevel2 to random(10,20) -
Accelerometer Movement Done Right
by Socks ·(Quote) -
Accelerometer Movement Done Right
by ericzingeler ·Well, the low pass filter is in the constrain behavior. The constrain behavior (so it seems) will execute on every tick of the CPU (theres your interval). -
Level select...Working!!!
by Elfizm ·Have a game attribute (integer) called current level. -
Accelerometer Movement Done Right
by ericzingeler ·Second, use move and not constrain to move your actors. This way, we keep the ability to use physics. -
I am going to need a *LOT* of help on this one...
by Socks ·I can't think of a way, actually I can think of one way but it would be a constrain nightmare of Biblical proportions. GameSalad has no drawing tools, so you would have to first design a drawing syste -
How to subtract a value from integer?
by Socks ·The red actor turns the attribute to true and . . . -
How to subtract a value from integer?
by gyroscope ·Hi @Slayre77 by the sound of it you're best to have the HP attribute as a scene attribute. Suggestion: check if this attribute HP is integer as it should be.... -
How to subtract a value from integer?
by Slayre77 ·For some reason it doesnt work! The behaviours are like if Red and Blue collide, turn boolean BlueDamaged1 to true on the Red actor, and vice versa (I did it this way so that when I have mor enemies i -
How to subtract a value from integer?
by Socks ·You can keep it where you like, it could be a game attribute or an actor attribute (or even a scene attribute) - but I think for this kind of thing making it a game attribute is probably the most flex -
How to subtract a value from integer?
by Slayre77 ·But for some reason it doesnt work... The attribute HP should be in the actor or in the game? -
How to subtract a value from integer?
by Socks ·Change Attribute self.HP to -1 will mean that when the actors collide your HP value will be changed to -1. (eg: Start out with a HP value of 7, then collide, HP is now -1 . . . or . . . start out with -
How to subtract a value from integer?
by Slayre77 ·@Socks I tried! I have two actors coming at each other from either side of the screen, when they touch they will minus 1 HP so I put If one touches the other, Change Attribute self.HP to -1 is that co -
Please help!! how to jump?
by saif_shammari ·[do : change attribute : set self.motion.linervelocity.Y to 100 ] -
Please help!! how to jump?
by gabrielyee ·[do : change attribute : set self.motion.linervelocity.Y to 100 ]