-
Is there a way to spawn something with random width?
by Dasavur ·I am trying to spawn a block that will have a random width between 20-45. I have attempted to do this both through the spawner and the block itself by using a timer and change attribute (it will be on -
making actor follow mouse
by rabbidrabbit ·I need to make an actor follow the mouse around the screen. I've been using a move to mouse.xposition mouse.yposition function, but when it catches up to my finger it stops moving. I changed it so tha -
Statement execution order - can somebody explain?
by hardkraft ·@BBEnk, I would expect text box to behave like any other repository of text for example a string attribute. When I put some text in a string inside a rule that text will still be there even when the r -
Low Orbit
by outlandishPIXEL ·Protect the planet from devastating asteroids and pesky aliens. Survive for as long as possible in low orbit, watch out for collisions and alien laser fire whilst fighting the planet's gravitational p -
Statement execution order - can somebody explain?
by BBEnk ·change var1 attribute to 1 -
Statement execution order - can somebody explain?
by BBEnk ·(Quote) -
Statement execution order - can somebody explain?
by hardkraft ·* attribute changes to 1 -
Statement execution order - can somebody explain?
-
Statement execution order - can somebody explain?
by hardkraft ·the rule gets executed AFTER the reset of the attribute even though it comes BEFORE it (but not really since the log statements do get executed in the proper order). -
Statement execution order - can somebody explain?
by BBEnk ·your rule did nothing thats my point the result was still attribute changed from 0 to 1 back to 0 here your test a little different with timers you can watch what happens. -
Statement execution order - can somebody explain?
by Socks ·(Quote) -
Statement execution order - can somebody explain?
by BBEnk ·GameSalad runs very fast and the change from 1 to 0 is to fast for you to see but it does happen your using the same attribute to display the same thing so you only see a 0. -
Statement execution order - can somebody explain?
by hardkraft ·In this case I believe it’s both. I change the attribute which changes the default value that was in it. -
Statement execution order - can somebody explain?
by Socks ·. . . are using 'initialize' to mean change a value with the change attribute behaviour, or maybe by 'initialize' you mean you change the default value of the attribute ? -
Statement execution order - can somebody explain?
by BBEnk ·You have a change attribute at the bottom of your rules thats changes it back to 0. rules run top to bottom, layers run bottom to top. -
Statement execution order - can somebody explain?
by hardkraft ·(Quote) -
Statement execution order - can somebody explain?
-
Statement execution order - can somebody explain?
by Socks ·You might be better off sticking to GameSalad terms to avoid confusion, I take it a variable is an attribute and you are using 'initialize' to mean change a value with the change attribute behaviour, -
On touch, play sound and change scene - sound won't play
by jorkos ·the problem is that it is only "pressed" when the touch is down so the sound must be checked 'run to completion'.....it's better to use an attribute system and then have a rules acto -
Interpolate score problem
by http_gamesalad ·@Armelline in the video Tshirt booth made this game.attribute integer called old score. I don't want the score to interplate when it's less than old score. I want it to interplate every time the score