-
Custom Score Font + Shortened Score
by tatiang ·It doesn't really address your issue of wanting decimals representations but it does provide a way to parse out each digit and you could do anything you want once you have that data. Originally, I st -
Spare Code ? Dump It here.
by tatiang ·Normally, custom fonts are displayed by constraining an actor's self.Image to a complicated mathematical expression that is both hard to understand and easy to get wrong when entering it. It often lo -
Custom Score Font + Shortened Score
by Lovejoy ·(Quote) -
Custom Score Font + Shortened Score
by tatiang ·@Lovejoy I understand and I'm providing a way to store the full decimal value in an attribute rather than having a bunch of rules to display certain values. The idea would be, for example, that if ga -
Custom Score Font + Shortened Score
by tatiang ·If you're displaying a number such as 28,000 as 28 Thousand, then you already have the number 28 stored in an attribute or expression and can use that for displaying a custom font, can't you? That id -
Spawn actors at random times without them eventually spawning at the same time
by Simple Apps ·make self attribute (start X )for the Spawner -
How to make an actor move continuously when pressing a button
by jorkos ·just have a global attribute (index). when press the right button, set index to 1, when press the left button, set index to 2 -
swinging continuous motion
by shylevari ·i couldn't figure where to place it. i assume it's on the constrain y position rule, related to self.time. -
Mouse Button wont change attribute? :/
by skipnice ·im doing a simple change attribute with a rule... rule is if mouse button pressed, change attribute integer "touch" to 2, else change attribute to 1. using a display text to see if i -
Custom Score Font + Shortened Score
by SikkJewFro ·if attribute game.score > or = to 1000 -
Flip actor?
by Socks ·Make a game attribute (Integer), let's call it AAA. -
Flip actor?
by GamingtilDawn ·I had all of that going through my mind. The part I was missing was the game attribute being called in the button. I always forget about those. Thank you! -
Flip actor?
by Socks ·Make a game attribute (boolean), let's call it AAA. -
Flip actor?
by GamingtilDawn ·I want a button to change the position. I made a boolean attribute for the game, but I dont think thats right. -
[SOLVED] Spawning Actors Based On A Configurable Percentage?
by Socks ·The (1,10) represents the range the random number generator works on, so you'd be better off replacing the 10 with an attribute. So (1,5) would be a 20% chance, (1,100) would be a 1% chance, (1,3) wou -
[SOLVED] Spawning Actors Based On A Configurable Percentage?
by SikkJewFro ·@tatiang I am to assume I could generally add a "random" attribute for each ore in my game? Therefore when they buy said upgrade, I can make it change each of the ores of my choosing -
2.23: Apps must follow the iOS Data Storage Guidelines or they will be rejected
by liuxz ·with the "do not back up" attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the corresponding file from being backed up. For CFURLRef objects, -
[SOLVED] Spawning Actors Based On A Configurable Percentage?
by tatiang ·The random() function can be used for probability. A ten percent change is created by using Change Attribute game.random to random(1,10) and a rule that says If game.random<2, spawn. A 20% ch -
How do i put a limit on an attribute?!?
by tatiang ·Change Attribute game.velocity to min(200,game.velocity+5) -
How do i put a limit on an attribute?!?