-
actor position resets to original when changing scenes
by tatiang ·So in that actor, you would have two self attributes, both real, called self.LastX and self.LastY. When you change scenes from that scene, change self.LastX to self.position.X and self.LastY to self. -
actor position resets to original when changing scenes
by danshaw ·if game attribute x != 0 then add to game attribute y -
Need help: Spawn actor and save all new spawned actor position (table?) how to
by tatiang ·Create a game attribute called game.spawnOrder (integer). -
Any Game Maker users?
by ADSentertainment ·maker doesn't seem to have different variable (Attribute) types and just puts it all in one. Gamesalad's better in several ways, you have different variables/attributes to work with, it's much more u -
Constrain rotation to self.motion
by tatiang ·I believe it's Constrain Attribute self.Rotation to vectorToAngle(self.motion.linear velocity.X, self.motion.linear velocity.Y) -
Constrain rotation to self.motion
by GuaveMedia ·kinda like have a blackout right now. I want to constrain my actor (so the top is at front) to his self motion. -
Checking a word from a pile of random letters?
by tatiang ·the next word T-O-P so I can't just reset the attribute when I find RAT. And POT is part of POTATO so same problem there. And do I stop when I find POTATO or do I assume that POTATOES is up next? -
Random number question
by tatiang ·(Quote) -
94 seconds
by tatiang ·You would create a custom keyboard where each actor represents one letter and have a rule that adds its self.Letter (e.g. 'A') to the end of a text attribute (e.g. Change Attribute game.word to game.w -
Easy question on how best to track actor count...
by tatiang ·Change Attribute game.actorCount to game.actorCount+1 -
Spawning problems.
by ericzingeler ·(Quote) -
Boolean True On Click?
by tenrdrmer ·--change attribute to (game.attribute+1)%2 -
How to change newly spawned actor's attribute?
by CodeMonkey ·Have the spawned actors change its own attributes based on game attributes when initiated. -
Easy question on how best to track actor count...
by gamesfua ·Thanks @tatiang but you lost me there. Can you explain what you mean? Are you saying that the spawned actor should not have any change attribute, BUT actors outside of it should? -
Random number question
by CodeMonkey ·Too many rules. Change Attribute: game.random to 3*random(0,1) -
How to change newly spawned actor's attribute?
by godmoney ·I want to dynamically spawn an actor and then change it's attributes based to the game's status. -
Random number question
by tatiang ·Change Attribute game.random to random(0,1) -
Easy question on how best to track actor count...
by tatiang ·The Change Attribute behavior that increases or decreases the count should be in the individual actors that spawn, not in the spawner actor. -
Gamesalad saving attribute not working
by tatiang ·Just to be clear, you have a Load Attribute behavior in an actor on the opening scene of your game? And when you check that attribute (e.g. DisplayText) it's not showing the saved value? -
Soundboard
by gyroscope ·Then make a boolean attribute. So if you're triggering a sound to play with a touch rule then put in the actor that plays the sound put: