-
Is there a way to spawn something with random width?
by tatiang ·So the advice above is correct as far as adding a Change Attribute behavior. Just make sure it's not inside of a rule. The change will occur instantly so you shouldn't even notice it happening; it w -
Is there a way to spawn something with random width?
-
Is there a way to spawn something with random width?
by BBEnk ·use the change attribute behavior in the actor thats being spawned like so change attribute self.size width to Random(20,45) and it will do this once spawned. -
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?