-
image change attribute
by tenrdrmer ·to set a boolean true you change it to true and to set it to false to use change attribute to false. Just type it out. -
Actor starts with 5000 points
by gyroscope ·It was the Real attribute that did it? -
Actor starts with 5000 points
by Theodi ·Can you explain why that worked? It was the Real attribute that did it? -
image change attribute
by gyroscope ·I get what you mean; try a boolean for each item in your store; example, GunTaken, CrossbowTaken, etc (whatever weapons you have!) all set to false. When selected, change attribute to true. In your HU -
Actor starts with 5000 points
by gyroscope ·Oh, I see what you mean - I guess you'll need a real attribute called PosYfollow. (This is off the top of my head, not tested). Constrain Attribute PosYfollow To self.position.y-5000. THen put if PosY -
Actor starts with 5000 points
by Theodi ·score and shows it on the end game screen. save attribute game.mainscore key SCORE -
Actor starts with 5000 points
by Theodi ·save attribute game.mainscore key SCORE -
Randomly putting actors on screen
by gyroscope ·Hi, one way to do this: make a game integer attribute called BirdBoxNum. In a blank actor off-screen, for each scene, put a change attribute BirdBoxNum to random(1,--the maximum amount of boxes on eac -
Attributes and behaviors where can i learn them?
by liamo ·What I use attributes for most of the time is setting up rules or to keep track of something. e.g I have 1 checkpoint in the middle of the level, either you can use here a Boolean, Index, Or an Integr -
Actor starts with 5000 points
by Theodi ·I put self.position.y-5000 in the expression editor. But as you said try switching them around. But I cant type -5000 in the first box of change attribute. -
Touch 1 - Move Actor 1 Touch 2 - Move Actor 2
by AppsRacK ·Change attribute game.MoveAnActor = TRUE -
Actor starts with 5000 points
by Theodi ·Good idea, but I cant type text into the attribute box can I? it doesn't seem to let me put the -5000 in. -
Touch 1 - Move Actor 1 Touch 2 - Move Actor 2
by AppsRacK ·second - dont place the control on the buttons. Just use the buttons to change an attribute and let the actor react to it. -
Timer Stop
by gyroscope ·Hi, try a boolean attribute called TimeGo for instance, and check it as true when you make the attribute. -
Actor starts with 5000 points
by gyroscope ·Yes, maybe the last line could be: change attribute game.mainscore to self.position.y-5000 -
Actor starts with 5000 points
by AppsRacK ·well it will be 5000 at initial launch since you based the score on actors Y coordinates. Use a timer or make a rule before you constrain the score to your actors Y value so it wont start out at 5000. -
Actor starts with 5000 points
by Theodi ·save attribute game.mainscore key SCORE -
Destroy After Collide + Linking Multiple Actors - Two Questions
-
image change attribute
by starcat ·ya, but im trying to change the HUD attribute. for example i can kill an enemy.. gain 50 gold. and it shows 50 gold. i can go to the store.. click on a weapon and buy it and it takes 50 gold away, bu -
cannon type game
by DreamLab ·Just constrain the power to the magnitude and then multiply by whatever number. But make sure its reasonable.