-
Making a random sound play out of 100 when you tap.
by Clouds ·delay for turning the sound up based on the time attribute (in relation to your known spacing of sounds) - so some sounds will play immediately when you hit the button, some will wait a fraction of -
Making a random sound play out of 100 when you tap.
by Clouds ·Make a attribute called RAND (integer) -
Making a random sound play out of 100 when you tap.
by MotherHoose ·might use an Index Attribute game.SelectedSound -
Animate using "change attribute?"
by mynameisace ·for instructions or something, I set a change attribute self.image to self.image+1 or if I have something set to a numbered attribute, I have my images named as those numbers. -
Animate using "change attribute?"
by mynameisace ·@MotherHoose +1 - I never use the change image rule, change attribute is the way to go and as MH pointed out, you have more control. You cannot to +/- with change image, just bogs down the code with m -
Animate using "change attribute?"
by MotherHoose ·IMO ChangeAttribute self.image is more efficient! -
Animate using "change attribute?"
by 921creative ·Tynan: So you prefer Change Image to Change Attribute? Is either one more efficient than the other? Does your method prevent an animation from briefly freezing or is that simply a memory issue? -
Animate using "change attribute?"
by Asymptoteell ·Then make a timer: every x seconds (probably around .1) change self.image to self.attribute.image+1. -
Making a random sound play out of 100 when you tap.
by Asymptoteell ·I know you can call in images based on an attribute by naming them by numbers. You might be able to do that with sounds. -
Animate using "change attribute?"
by chaley ·A while ago, it was suggested to use "change attribute" instead of the "animate" behavior & i can't find a good example of how exactly to do that. Does any -
Updating a game
by quattro ·(Loading and Saving Attribute in GameSalad) -
timer issue
by smalling ·When an actor is touched how can I delay a change attribute of another actor. I tried a timer and set to "after" .5 and placed the change attribute inside, but it didn't work. This i -
Where have all the Templates gone?
by tenrdrmer ·not the names. I noticed when I opened "Constrain To Circle DEMO" online it had no tags and that one never shows up in the creator. To be honest nothing at all shows up when I searc -
Updating a game
by GameFactoryStudios ·I think you used an attribute to set your levels free or? -
Updating a game
by ttere ·if you always take the same attribute and the same key to save your game the levels will not be reseted.. -
Detecting Sound Radius
by TouchTiltGames ·Constrain: Game.soundDistance to: magnitude(self.positionX-game.soundsourceX, self.positionY-game.soundsourceY) -
Detecting Sound Radius
by scitunes ·Create an attribute called game.soundDistance (real). Create two integer attributes (soundSourceX and soundsourceY). Constrain these to the x and y of the source of the sound. In the moving character -
Menus
by Vlaso01 ·Was wondering which attribute is used to switch from Start Screen -> Menu Screen. -
Move ACTOR (open door)
by Clouds ·Here you go, here's the basic idea thrown together, Just one game attribute that gets switched between 0 and 1 (or 'true' and 'false'). -
What do all of the functions do?
by JohnPapiomitis ·your mouse is at the top right. So now if you constrained the actors rotation to that vectorToAngle expression, it will always face where the mouse is. To elaborate more if you had the actor have a m