-
Guide to the Expression Editor
by tatiang ·symbol in behaviors such as Change Attribute and Constrain Attribute, but also in many other behaviors): -
Saving attribute/image when switching scenes
by CrumbyEntertainment ·Thanks for the quick responses. So I do have a game attribute, not a scene attribute but the image still resets after i change scenes and come back...Maybe it has something to do with my code. Here is -
Saving attribute/image when switching scenes
by gyroscope ·scene attributes, if they're not saved and reloaded, do reset if you leave the scene and come back to it again. -
Saving attribute/image when switching scenes
by Adrenaline ·if the attribute FavoriteButton is a scene attribute, it's being reset when the user leaves that scene. So when they come back, it's as if they never changed it. -
Saving attribute/image when switching scenes
by CrumbyEntertainment ·Hey so I have a drop down menu on one of my scenes and one of the buttons is a favorite button with a star image.When the user presses the button it changes the image to a filled in yellow star. Also -
How would I go about implementing quests
by gyroscope ·Still, with one of your examples you mentioned, that might be relatively straightforward; it would involve game attributes to track stuff: integer attribute for the amount of enemies killed, and a boo -
Saving multiple attributes
by gyroscope ·Hi @ecanhoj There is no way to do that - and even if there was, you'd still have to have individual Save & Load Attribute behaviours to put in the same key…. so sorry, no shortcut there! Even -
Toogle True | false
by Socks ·Use an integer attribute, let's call it Toggle, default value 0. -
Saving multiple attributes
by Gamepenciler ·Hello I haven't tried yet or i'm afraid to try can I save a lot of attribute in just one key? Because I had too many attributes to save then I have to create keys each one. -
Buttons not retaining images after scene change
by colander ·Every time you change the value in your attribute you must change the value in the table with the "Change Table Value" behaviour and save the table with the "Save Table& -
Buttons not retaining images after scene change
by colander ·@welshkiwi It must be getting reset somewhere are you saving your setting to a table or using the Save Attribute. -
Countdown timer to display in hh:mm:ss format
by tatiang ·Here are two demos that I learned from, both freely available. I modified the Custom Font Demo earlier today but you can turn the rule and second constrain behavior off if you want to see the origina -
if touch is held down for two seconds change attribute to true, change to false when released?
by Cointoss ·I'm trying to figure out how to make this rule but all i can make is if touch is held down and if attribute = ____, i can't figure out how to add a time condition. Does anyone know how I could make th -
Load and save attrebute
by bjandthekatz ·When you finish the game use the save attribute behavior. Then when you load the game (possibly on menu or splash screen) trigger the load behavior to load the attribute you previously saved. -
Countdown timer to display in hh:mm:ss format
by tatiang ·What I do is to calculate the total time in seconds. I store that in an integer game attribute game.seconds. Then, for each digit, I calculate the correct value to display. For example, the number -
How to use a Table to animate?
by BrainSmash ·I've found using a "constrain attribute", "Self.image" and a "table cell value" resets his "stance" image perfectly and instantl -
Custom font scorekeeping with negative numbers and rightward expansion
by tatiang ·and have each digit grab its divisor from a game attribute that changes during the spawning loop. Each digit would also grab the constant (e.g. 176) from the first digit's self.position.X. A bit of -
Custom font scorekeeping with negative numbers and rightward expansion
by tatiang ·Constrain self.position.X to: -
In App Purchasing Question
by j75 ·Forget about the tables. Use an attribute instead. -
I want to move my actor by a line of 45
by tatiang ·You can replace the 1200 value you have with an attribute or you can put the accelerate behavior in an Otherwise section of a rule so that it gets disabled when a certain condition exists (e.g. you