GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. How To Choose The Actor Position To (Overlaps or Collides)

    tanchowyeeiosapp
    by tanchowyeeiosapp · July 2015
    (Quote)
  2. Referencing an image in a table trouble :(

    allc1865
    by allc1865 · July 2015
    I went into my image actor and told it to constrain 'self.image' to tableCellValue(table,N,N)
  3. How To Choose The Actor Position To (Overlaps or Collides)

    tintran
    by tintran · July 2015
    But I would make a separate actor call it knob or something, constrain its position to match your wand actor (your A and B actor) but with an offset it so that its position would always be Position A
  4. How To Choose The Actor Position To (Overlaps or Collides)

    tanchowyeeiosapp
    by tanchowyeeiosapp · July 2015
    Change Attribute: self.yOffset To: self.Position.Y - game.Mouse.Position.Y
  5. Editor x,y coordinate discussion -- (was: "very disappointing...")

    Socks
    by Socks · July 2015
    Exactly ! And that is how GameSalad looks at the number 16 too, whether it's come from an equation, an integer attribute or a real attribute or a user's touch input or the device's clock (etc etc), it
  6. Editor x,y coordinate discussion -- (was: "very disappointing...")

    tintran
    by tintran · July 2015
    (Quote)
  7. Editor x,y coordinate discussion -- (was: "very disappointing...")

    tmann
    by tmann · July 2015
    If you interpolate an integer attribute and display text ( query the value of ) that attribute during interpolation it will display a real value so during interpolation GS is storing a real in an inte
  8. Editor x,y coordinate discussion -- (was: "very disappointing...")

    Socks
    by Socks · July 2015
    . . . . I've just read this number from an attribute, can you tell me (simply by looking at the number) whether that attribute was an integer or a real attribute ?
  9. Editor x,y coordinate discussion -- (was: "very disappointing...")

    Socks
    by Socks · July 2015
    Yes, you cannot store a real value in an integer attribute.
  10. Editor x,y coordinate discussion -- (was: "very disappointing...")

    tintran
    by tintran · July 2015
    (Quote)
  11. Editor x,y coordinate discussion -- (was: "very disappointing...")

    Socks
    by Socks · July 2015
    Agreed, when an actor is at x=20.3 and you display the actors x co-ordinate - and the actor's x co-odinate is a 'real' attribute, using a Display Text behaviour it will display 20.3 . . . . and the ex
  12. Editor x,y coordinate discussion -- (was: "very disappointing...")

    tintran
    by tintran · July 2015
    But when I use Change Attribute and set TileWidth to 9.7, it rounds it to the nearest integer 10.
  13. Editor x,y coordinate discussion -- (was: "very disappointing...")

    Socks
    by Socks · July 2015
    What !? There is not 'front end' and 'back end' that I'm aware of, the reason you can interpolate the tile width value through decimal places is because the tile width attribute is simply storing a nu
  14. Editor x,y coordinate discussion -- (was: "very disappointing...")

    Socks
    by Socks · July 2015
    The tile width attribute is an integer, like I say 'integer' or 'real' only applies to the storing of values in a attribute. The interpolate behaviour doesn't set anything to real (or integer), it sim
  15. Editor x,y coordinate discussion -- (was: "very disappointing...")

    tintran
    by tintran · July 2015
    If it is ever a real, then it should let me manually set it or use change attribute to a real.
  16. Problem with moving

    MentalDonkeyGames
    by MentalDonkeyGames · July 2015
    -Attribute game.mouse position y < (y coordinate of the menus bottom part here)
  17. Editor x,y coordinate discussion -- (was: "very disappointing...")

    tintran
    by tintran · July 2015
    But when I added a change Attribute behavior to 9.7, I get a 10.
  18. Problem with constrain...

    markfirman
    by markfirman · July 2015
    Basically; I have a constrain behaviour which constrains an actors rotation to the touched location of the screen. So basically if someone touches the top left of the screen the actor will rotate to f
  19. Editor x,y coordinate discussion -- (was: "very disappointing...")

    Socks
    by Socks · July 2015
    The display will read 20.3 if the actor is at x=20.3 - rather than 20 -regardless of whether the coordinate attributes are real or integer.
  20. Editor x,y coordinate discussion -- (was: "very disappointing...")

    Socks
    by Socks · July 2015
    Once a value has been read from a real or integer attribute it is no longer real or integer, it is simply a number - so in that respect there are not always integers (if I understand what you are sayi
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