-
Move To disrupted by Destroy behavior
by ImNiklas ·--Constrain Attribute self.directionToMove(angle attribute) to vectorToAngle(game.playerX-self.position.x, game.playerY-self.position.y) -
Move To disrupted by Destroy behavior
by lecasm2 ·I have the Enemy actor behaving with a simple Move To that carries him toward the Hero. It also has a Constrain Attribute behavior that keeps it facing the direction of travel. There are a few obstacl -
Interstitial Question
by TTLDevelop ·I create an integer attribute and change it random between 1 and 4, like this: -
Need someone smart to figure this out!
by BBEnk ·just add a boolean attribute thats says "Apple" and use that in rules so when your publishing for "Apple" just check it off and the rule will know it's apple and un -
problem with health bar
by colander ·* Create a game level integer attribute call it something like enemyCount and set it to 1 -
problem with health bar
by jackhammer1000 ·i managed to constrain the health bar's width to the enemy's health points but because there are several enemies (of the same type) when i shoot one enemy, the health bar of every enemy will change. -
Constrain Attribute Alternatives
by Socks ·they are, as described ('1 point is added to the attribute game.score every 0.5 seconds...'), essentially the same thing, the same value scale (albeit one is always twice as large as the other), goin -
Constrain Attribute Alternatives
by Socks ·I'm a great believer in efficiency, keeping things as simple and as stripped down as possible, here self.time (or game.time) is directly related to game.score, game.score is twice the value of self.ti -
Constrain Attribute Alternatives
by micma ·1 point is added to the attribute game.score every 0.5 seconds... but my custom font numbers are constrained... hence they are going to change every 0.5 seconds. -
Constrain Attribute Alternatives
by Socks ·(Quote) -
Constrain Attribute Alternatives
by pHghost ·Hmm...one thing I don't understand. You say you are using constrain, but at the same time, the score updates only every 0.5 seconds? How is that. Constrain doesn't/shouldn't have a interval like that, -
Constrain Attribute Alternatives
by micma ·Ok. Basically it is narrowed down to "I know that it is being caused by the updating of the score." It is the same whether it is constrain or change (every 0.5 seconds)... Would chan -
Constrain Attribute Alternatives
by Socks ·So, we definitely know it's the Constrain behaviour that is causing the issue. -
Constrain Attribute Alternatives
by micma ·I have now checked and it is for sure the constrain attribute function. -
Constrain Attribute Alternatives
by Socks ·I'd first establish for certain whether this is causing the issue. You can switch off the Constrain behaviour by clicking on the little 'on' button, if the 'lag spike™' still happens you know it's not -
Constrain Attribute Alternatives
by micma ·Constrain Attribute: self.Image To: floor(game.score%self.div)/(self.div/10) -
How to calculate a distance in an endless runner
by bjandthekatz ·Create a integer attribute called Distance -
Soccer Game dribbling function
by ManxMann ·Set up a Boolean attribute jokerpos and rule as follows; -
Changing An Attribute When Something Doesn't Happen??
by ManxMann ·I would set up an boolean attribute called "white_ball_miss" either Game of Scene level. -
Changing Music Voume
by liux2355 ·I have the same problem. I simply use change attribute to change music volume to 0 or any value between 0 to 1 but nothing happened, the music volume is the same.