-
Randomly generated terrain and another confusing feature
by tatiang ·An index attribute is just a whole number greater than or equal to zero, whereas an integer attribute is a whole number less than, equal to, or greater than zero. They are for the most part interchan -
How To Make 1 Actor Follow Another?
by -Timo- ·download link: https://www.dropbox.com/s/40kbpq7sw5usmxe/constrain actor to player template.zip -
Randomly generated terrain and another confusing feature
by mystic 2628 ·Do you need the index attribute to work this? Because on windows, we ain't got no indexes... (Image) -
Background Music Volume
by allc1865 ·change attribute > devices > audio > if it's a sound then double click "sound", if it's music, double click "music" > to 0.35...0r 1...o -
Help me! Will pay for video tutorial to learn this:
-
Make a casual number
by CharlieG97 ·on touch change attribute game.number ---> random(1, 300) -
Triggering an event multiple times with an attribute
by tatiang ·Yes and no. When an attribute changes value, the rule is retested but only triggers an action (e.g. behavior) if the state of the rule has changed. -
Triggering an event multiple times with an attribute
by stackpoole ·sometimes ive noticed, that the attribute never reaches 1 but instantly changes to 0. -
Triggering an event multiple times with an attribute
by gyroscope ·or restarting anything, etc., just put Change Attribute game.Wave=0. See how you go with that. -
Triggering an event multiple times with an attribute
by CSharpMin ·This should be so simple. I thought every time an attribute changes, rules relying on that attributes will be retested. Is this normally the case is there an exception to that? -
Following actor & matching x location to fire
by -Timo- ·and if you want it to stop moving when he is shooting then make a self attribute (boolean) -
Following actor & matching x location to fire
by gyroscope ·Hi @ZeroRaven Basically what @timolapre1998said, although you don't need the constrain on the playerY, as you mentioned. -
Following actor & matching x location to fire
by -Timo- ·make 2 attributes (lets say we call them playerX and playerY) -
Following actor & matching x location to fire
by ZeroRaven ·I've tried the "set game.playerpositionx to self.positionx" change attribute and then having the "enemy" move towards the game attribute positionx. (same set for y) -
How To Make 1 Actor Follow Another?
by The_Gamesalad_Guru ·Add an offset to the constrain to give it distance or use the move behavior with the x and y of the actor to follow. -
Health Bar That Gets Smaller From 1 Side Only?
by CharlieG97 ·(Quote) -
Health Bar That Gets Smaller From 1 Side Only?
by -Timo- ·you change the position to the half of the width you change. do its easier to constrain self.position.X to (self.size.width/2)+(the Xposition you want it to start, something like 10) -
Health Bar That Gets Smaller From 1 Side Only?
by CharlieG97 ·Change Attribute: self.size.width -----> self.size.width-20 -
How To Make 1 Actor Follow Another?
by -Timo- ·do you want it to constrain his position to the actor's position he has to follow? -
Health Bar That Gets Smaller From 1 Side Only?
by -Timo- ·constrain self.position.X to 10(where to start)+(self.size.width/2)