GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Touch once turns attribute true touch again turns it false?

    netdzynr
    by netdzynr · April 2010
    I would use a combination of what DanielA suggested and the self attribute you mention. Create a boolean state in the actor called myState (or whatever you want) and set the default value (false if t
  2. Backlash - question about a quirk for our ball actor

    BarkBarkCo
    by BarkBarkCo · April 2010
    Create a game boolean attribute called `touched`.
  3. Touch once turns attribute true touch again turns it false?

    Player_E
    by Player_E · April 2010
    change attribute game.???? to (game.????+1)%2
  4. Touch once turns attribute true touch again turns it false?

    Player_E
    by Player_E · April 2010
    change attribute game.???? to (game.????+1)%2
  5. Dragging actor mouse/touch?

    peachpellen
    by peachpellen · April 2010
    I have my actors set to move with my mouse; ie, when touch is inside, constrain to mouse position.
  6. Using Change Image behaviour frequently

    BarkBarkCo
    by BarkBarkCo · April 2010
    if you're already setting the image and size once your random value is determined, why not add an attribute for the value when destroyed and set that at the same time?
  7. Help! Please!

    RH
    by RH · April 2010
    Although i often find that it is to do with attributes,
  8. Change Attribute using button

    BarkBarkCo
    by BarkBarkCo · April 2010
    That "change" expression works on a boolean attribute? I could have sworn that I did something like that and it worked, but then I read somewhere on the forum that said GS's boolean
  9. Does "grouping" rules improve performance?

    JGary321
    by JGary321 · April 2010
    You only need 1 gun actor. The gun actor would set a game.attribute with the direction the ball would shoot.
  10. Change Attribute using button

    StormyStudio
    by StormyStudio · April 2010
    As for changing attributes, (it varies a little depending n exactly what you want to do)
  11. Change Attribute using button

    chrisal
    by chrisal · April 2010
    I would like to change another actors attribute by the pressing of a button, ie pic, colour, size.
  12. Using Change Image behaviour frequently

    BarkBarkCo
    by BarkBarkCo · April 2010
    if I'm wrong, it probably would be hard to add an integer attribute and change it to the number associated with the image selected. then you can use that integer as a multiplier for your scoring syste
  13. Touch once turns attribute true touch again turns it false?

    Chaser
    by Chaser · April 2010
    I would set it up so that touch the actor change attribute true then spawn another actorthat looks the same. Destroy old actor. The new actor will have the same set up except touch is pressed change f
  14. Touch once turns attribute true touch again turns it false?

    Player_E
    by Player_E · April 2010
    I want to be able to touch an actor once and turn a boolean attribute true, then touch it again and turn it false. Basically every touch turns it on then off, then on again
  15. Does "grouping" rules improve performance?

    BarkBarkCo
    by BarkBarkCo · April 2010
    particles do not deal with any game rules or collisions, so there is a slightly lower burden on the processor. however, particles are kinda pre-loaded with a bunch of mandatory logic pertaining to th
  16. Actors -VS- Instances...

    BarkBarkCo
    by BarkBarkCo · April 2010
    alter its own logic based on the state of an attribute in the button directly across the grid from it. I plan to do this by going into the instance and building my logic there (as I can see all of th
  17. Does "grouping" rules improve performance?

    BarkBarkCo
    by BarkBarkCo · April 2010
    if there is only going to be 1 "hit" at a time, you can tell the gun involved in the collision to write the associated angle value to a game level angle attribute. then, in the ball
  18. A few problems for the Gendai Team

    nulo
    by nulo · April 2010
    another thing is when you have a huge list of attributes, it gets kind of boring trying to find that one attribute from the whole list. so if at least the attribute browser could remember when you res
  19. Timer with display

    SingleSparq
    by SingleSparq · April 2010
    The timer is set for say 6:00 minutes (but can be different depending on what was chosen) and is set as an integer attribute (game.timer)
  20. Using Change Image behaviour frequently

    Ignis
    by Ignis · April 2010
    Instead, could you just create a custom actor attribute (integer) for these enemies called "points_on_hit" (or similar) and then change that value each time you change the image? Upo
Previous Next

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with GameSalad

Sign In Register

© Vanilla Keystone Theme 2026

Powered By Vanilla