-
Using scenes in a conditional statement.
by Aero_Swag ·[Change Attribute]{ -
Using scenes in a conditional statement.
by tatiang ·and Display Text to watch the value of certain attributes to see if they are in fact what you expect them to be. Touch is Pressed is a pretty solid/simple condition so if that's the ONLY condition y -
Using scenes in a conditional statement.
by tatiang ·If attribute game.sceneNumber=1 AND attribute game.numberOfChickensCaught > 5 then change scene [next scene] -
Attacking Hitbox
by tatiang ·It would help if you provided a screenshot of what your game looks like. From your description, I can't tell if you are constraining a weapon/limb to your character or something else. By "c -
Using scenes in a conditional statement.
by tatiang ·To access scene attributes, you must unlock an actor on the scene. You would then have access to the scene name, for example. There isn't a built-in scene number attribute, though. What I recommend -
Attacking Hitbox
by TinyTimidTurtle ·Hello. I was wondering if anyone could tell me how to make a hit box when my character does its attack animation. I have figured out how to make constrained hit boxes to the characters, but I have n -
How do I accelerate a spawner?
by tatiang ·real game attribute called game.speed. Then use Constrain Attribute game.speed to 100+(game.score/10)*1.2. The '1.2' in the expression can be any constant you want. And the '100' in the expression -
How to set actor B runing around actor A
by Socks ·Constrain self.x to 100 *cos (self.Time *-100) + actor A.x -
ad-hoc : score not getting posted on gamecentre sandbox
by Lovejoy ·Edit: Keep in mind that making a rule like if score > than highscore then change highscore to score then post score is not the most effective way of doing things. A problem you can run into by -
Trouble respawning after death!
by Lovejoy ·Just put the destroy actor on a short timer like 0.3 seconds. This will give the change attribute DEAD to true enough time to change over. -
Actor to alternate between two positions
by gyroscope ·(Quote) -
Trouble respawning after death!
by SLOCM3Z ·Then I added a "DEAD?" attribute in game and made it change to true. THEN I added an "If: game.SoldierHealth = 0" , "If: DEAD? = true" , &quo -
Actor to alternate between two positions
by jorkos ·the best way to do the press is when pressed: change attribute (attribute +1%2) -
Actor to alternate between two positions
by gyroscope ·worries, here it is again without that unneeded attribute: (I've also rectified another mistake or two I made - so make the attribute Door1Switch a boolean) -
Actor to alternate between two positions
by lolchops ·Thanks @gyroscope I'll try that when I get home from work. What function does the "DoorGo" attribute you mentioned have though? -
Actor to alternate between two positions
by gyroscope ·Make an integer attribute, let's call it Door1Switch -
Button click rules not working
by j75 ·As far as the rule goes, It should say, "if touch is pressed, change game.score to game.score+1" Then be sure that it you have the score attribute set as an integer and that your tex -
Trading Card Game possible ?
by AlchimiaStudios ·Both would be a significant undertaking, and yes it's possible to do everything you need. Also php uses vars, that's not so different than attributes, im sure you could get used to it. -
Trading Card Game possible ?
by shubhank008 ·Thing is, I am from a php/objc programming background with fair knowledge of server backend, but gamesalad is more of a GUI/attribute based so its more for a challenge for me rather then going cocos2d -
Button click rules not working
by jlbrown9 ·I have the integer attribute score,