-
Endless Runner: Actor won't fall, always ran pass the gaps
by winged_box ·(Quote) -
Spawning actor with different attribute each time
by Jfg619 ·Hi, I need to create a menu with the amount of buttons equaling the number of rows in a table. So I created an attribute called ButtonCount and a rule that says: -
helo guys, can somebody help me...
by musafirhina69 ·actor : bird (when actor overlaps or collide with : actor tag : star) (change attribute : set : bird to game.score +10) -
Level unlocking
-
Wave movement up and down
by gyroscope ·If so, try this: make an integer attribute, let's call it WaveHeight. I'll assume you'll trigger a new spawn every time with a boolean (Let's Call that SpawnGo) -
Endless Runner: Actor won't fall, always ran pass the gaps
by Tosanu ·the movement rules on it instead. Then use the Constrain rules on Position.X and .Y to attach your visible actor to the movements of the invisible one. -
Wave movement up and down
by Tosanu ·You need to create an attribute on the actor to track its Y position. make a YActor attribute, and have it Changed to Self.positionY as one of the first behaviors. Then replace the CCC in the other fo -
Wave movement up and down
by Socks ·Then constrain the actor's Y position to: AAA * sin(self.time * BBB)+CCC -
Endless Runner: Actor won't fall, always ran pass the gaps
by winged_box ·What you mean make a smaller mask actor for the collisions and constrain the knight to it? -
Endless Runner: Actor won't fall, always ran pass the gaps
by UtopianGames ·I imagine the bounding box on your little knight is too big and you may have to make a smaller mask actor for the collisions and constrain the knight to it. -
State of GameSalad on 4-17-2014
by colander ·@CodeWizard it would be great to able to use an attribute for font size in Display Text. It would be great if you could stick that on your list for a new feature in a future Nightly Build. -
Characters move freely
by alexkulak ·how in gamemaker when you put a character or asset you can make it move freely around the map or area. i have collisions for the characters but when the move up they dont bounce and dont move freely a -
Scenes with two starting points
by Jfg619 ·Then on the inside house scene, I put an invisible actor on top of the exit door that changes the WhichHouse attribute to 1 and then changes scene back to main town when overlapped. -
Scenes with two starting points
by gyroscope ·Make two real attributes (game), called PosX & PosY; make a game integer attribute called WhichHouse. -
Play and Stop Sound
by gyroscope ·Rule: When touch is pressedRule: - nested in above - When Sound01 is falseChange Attribute Sound01 to trueOtherwiseChange Attribute Sound01 to falseRule: When Sound01 is truePlay Sound Sound01 ---Run -
Play and Stop Sound
by opa ·Make integer attribute game.active_sound -
Copying Scenes from Other Projects
by stueynet ·Under the hood Gamesalad creates an xml file for every scene in the game. Within each scene xml file 1.xml, 2.xml etc... there is a scene ID attribute. -
Need help with pickup code
-
Need help with pickup code
by Cpt.Dallas ·I have created a Game level attribute called 'Captured'. The rule says that when both the player collides with the actor and 'Captured' is 'False', the object is captured and the 'Captured' attribute -
Dude using Behavior Velocity
by seir ·I used Constrain Attribute Behavior, for capture Actor.x using a var game.posx, and aften send this data to display Text Behavior.