-
Please Help Needed about unlimited enemies in platformer game?
by Balvamar ·an attribute for each enemy to represent the count for each. Each time you spawn an enemy add 1 to the count. Each time an enemy is destroyed take 1 away from that enemy. Set a behaviour to spawn a -
Destroy actor on overlapping actor with specific image
by Socks ·Nothing ! 1 and 0 and true and false are interchangeable, GameSalad will recognise either, but if you don't want to (or cannot) use 1 and 0 then use true and false or Cheese and Chocolate or X and Y o -
Destroy actor on overlapping actor with specific image
by Jeffrey97_0000 ·I see what you're trying to do but there's only one problem, whenever I create a boolean attribute and try to make the last rule you suggested I can't create the rule "and X=1" it sa -
Destroy actor on overlapping actor with specific image
by Socks ·Make a boolean game.attribute - let's call it 'X' -
Destroy actor on overlapping actor with specific image
by Socks ·Where you have a change image behaviour (or whatever you are using to change the image) I would instead use - Change Attribute Self.color.Alpha to 0. -
Destroy actor on overlapping actor with specific image
by Jeffrey97_0000 ·Yes I did it the correct way, maybe you know how to destroy an actor every time my score attribute goes up (+1)? Maybe that's the way to go? -
How can I make 2 integers add each other and show result?
by Dell7730 ·(Quote) -
How can I make 2 integers add each other and show result?
by jamie_c ·Create a new Integer Attribute named Total and then: -
Snap to Grid: With a Little less Snap
by floatingwoo ·Constrain ATt: self.distanceFromBlock to Mag(self.PosX- game.selectedX, self.Pos.Y-game.selectedY) -
How would I make a radar system?
by http_gamesalad ·In hopes of helping you understand why the "distance from blast" attribute was there. I saw that this was causing more confusion than helping. I don't mind deleting everything &a -
Snap to Grid: With a Little less Snap
by floatingwoo ·What I have been trying to do is have the block (my Icon in this case) be able to snap to a grid, but with a little less snap. Right now the block seems to hit the outside of the grid and then sudden -
How would I make a radar system?
by http_gamesalad ·some information.. for example .. in the change attribute behavior _set: ????????? to:magnitude ( self.X - NME.X , self.Y - NME.Y ) is less than 200 (or whatever) _ . I have no clue what to put in th -
Throwing objects going in wrong direction
by Socks ·-- Constrain self.linear velocity X to 30 *( game.Mouse.Position.X - self.Position.X ) -
Simple maths formula - help needed!
by DigiChain ·I have 2 attributes (as percentages): -
Stopping two moving objects when a certain distance between them is reached?
by KevinCross ·Have you tried setting up two game attributes object1X and object2X. -
Help with only tapping one actor at a time
by KevinCross ·Change Attribute: game.objectToTap = random(1,5) -
How do you make one end of an actor turn while the other end stays put?
by Rainbros ·Constrain Attribute: self.Position.X To: -
My new puzzle game 'matchmania' is out
by KC_Games ·but they have to all have the same or different attribute (color, shape or number). So 3 tiles of 1 blue dot is a match but so would the same if they were all different shapes. It is based off a game -
Flashlight (torch, etc.) lighting effect
by Socks ·Just constrain a camera size actor with a hole in the centre. -
Automated code for next lvl up
by tatiang ·@jay2dx By constraining the attribute to a value that changes each level, the condition for passing the next level continually changes. What I didn't mention is that you'd need a rule that says When