-
How to move an actor by dragging it
by Socks ·Constrain x position to mouse x -
Drag Speed
by Socks ·The constrain behaviour doesn't use the physics engine, so the actor is not actually moving (according to the physics engine), so it will not have a velocity. -
Drag Speed
-
Make a sound on random
by http_gamesalad ·@tatiang I never thought about doing game.active=1 then play sound [sound1]; if attribute game.active=2 then play sound [sound2]; etc.). face palm thanks bro (Image) -
Make a sound on random
by tatiang ·Generally speaking, to have a sound play, you would just have a rule for each sound (If attribute game.active=1 then play sound [sound1]; if attribute game.active=2 then play sound [sound2]; etc.). -
Make a sound on random
by http_gamesalad ·I have this attribute called active .. its set up like this every random (2,3) seconds change attribute game.active to random(1,6) -
Actor not appearing after I add "Gravity"
by blar321 ·Okay. I tried a couple of things and that does not seem to be the case. First, I tried to set the acceleration really slow to see if it went down. Also, I added a collide attribute. Do you know any ot -
Toggling
by jorkos ·if touched, then change attribute: (attribute +1)%2 -
Toggling
by tatiang ·Change attribute self.selected to 1-self.selected -
Tables Functions
by tatiang ·Loops are great if you're searching for something, calculating something, or needing to do something over and over. If you need to know the frequency of a certain value in a table column, you could m -
Tables Functions
by motorcycle boy ·@Braydon_SFX can you let me know if I'm understanding this correctly? So in your basic word game template for the round rules actor's constrain behavior, instead of inputting tablecellvalue x 5 times -
jumping from one moving platform to another moving platform
by balasios ·Global attributes: -
Tables Functions
by Braydon_SFX ·tableCellValue: I use this function in rules to detect if a value is a certain amount. Think of this as checking an attribute, because that's basically what it is. Instead of creating an attribute, I -
Ad network :p
by Thunder_Child ·When pressed I disable all functions of the game..except for a timer inside an actor off screen that says (Rule) When attribute "view ad" is true...(timer)...for 45 seconds " -
[Solved] Multiplying Table Values
by theRealFireFox ·I was using the " "'s to just show the values in this post, I will post up the file Im using to dropbox today. Basically the Change Attribute self.Output = tableCellValue(game.valueT -
[Solved] Multiplying Table Values
by gyroscope ·So a quick test using DisplayText and an integer attribute called Output would show correctly as a test with -
Actor not appearing after I add "Gravity"
by blar321 ·rules such as: When game.left is true = Change attribute Self.linearvelocity.x = -100, and it still works.(When I preview I can see the actor and it moves. Then I add a picture, and it still works. T -
Off-Centre Pivot Point
by Socks ·(Quote) -
[Solved] Multiplying Table Values
by theRealFireFox ·to use the functions changeTableValue and change attribute on the actor so that the tableCellValue("valueTable1", 1, 2)tableCellValue("Value", 12, 25) would put va -
Off-Centre Pivot Point
by Socks ·By the way, you can have multiple actors all using the same pivot point, no need to modify anything, just drag some extra actors into the scene, so it kind of acts like an interactive constrain system