GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Upgrading An Actor From another Actor/Button

    Nspeel
    by Nspeel · February 2019
    When Actor "Upgrade Button" < Touch is pressed > do < Change Attribute > Actor A self.attribute.upgrade =1
  2. actor position resets to original when changing scenes

    Nspeel
    by Nspeel · February 2019
    (Quote)
  3. Spawning actor from table store

    Nspeel
    by Nspeel · February 2019
    Save attribute be the same as set attribute?
  4. Spawning actor from table store

    Nspeel
    by Nspeel · February 2019
    And if possible could u give me a brief example of "Constrain scene/game attributes to position.x and y of the visible actor and constrain position.x and y of the invisible actor to the same
  5. Spawning actor from table store

    JB makin' a game
    by JB makin' a game · February 2019
    To let your invisible actor stick to the position of your visible tower wherever it goes, you can use constrain attributes. Constrain scene/game attributes to position.x and y of the visible actor and
  6. Spawning actor from table store

    Nspeel
    by Nspeel · February 2019
    Alright so your store idea for changing the attribute was genius.. that worked perfect it did exactly what I wanted.. I was easily able to figure out how to move the new actor "tower&quot
  7. Spawning actor from table store

    tatiang
    by tatiang · February 2019
    Right. The easiest way to do this is to use the attribute as a "switch" or "toggle." So have it start with the value 0 and then change it to 1. Have an actor that d
  8. Spawning actor from table store

    Nspeel
    by Nspeel · February 2019
    I'm going to add a function to my buy button (store scene) to change global attribute +1
  9. Spawning actor from table store

    tatiang
    by tatiang · February 2019
    To communicate between actors on different scenes, have one actor change the value of a global attribute (e.g. game.SpawnTower) and have the other actor check for a change in value.
  10. Spawning actor from table store

    Nspeel
    by Nspeel · February 2019
    So when you go to buy a tower my code entails (change attribute money -5, unpause game, spawn actor)
  11. Draggable Objects going through walls

    Armelline
    by Armelline · February 2019
    I just guessed the mouse.position.x part, I doubt it's actually that. I recommend repalcing that and the self.size.widths with attributes you pick using the attribute picker. I don't think you can jus
  12. Draggable Objects going through walls

    tatiang
    by tatiang · February 2019
    (Quote)
  13. Draggable Objects going through walls

    ucjugh0
    by ucjugh0 · February 2019
    Constrain self.Position.X to min((768-self.size.width/2),max((0+self.size.width/2),mouse.position.x))
  14. Draggable Objects going through walls

    Armelline
    by Armelline · February 2019
    Constrain self.Position.X to min((768-self.size.width/2),max((0+self.size.width/2),mouse.position.x))
  15. How to interpolate scale using expression

    RowdyPants
    by RowdyPants · February 2019
    @sinbot Since Jamie showed how to size here's another spin on his example using only variables (no hard coded numbers). Advantage of variables (attributes in GS terms) is that you only have to change
  16. Why does actor color not change?

    Smclann
    by Smclann · February 2019
    I change my actor a color using the change attribute behaviour for each color option and it always white?
  17. Random Dungeon Generation

    SecretlyAnAlien
    by SecretlyAnAlien · February 2019
    I'm making a random dungeon generator for a game I'm working on. So far I've tried having one actor that spawns a room, moves, and use RNG with a table to change a game attribute to a random number wi
  18. Change attribute position X

    csmyersa
    by csmyersa · February 2019
    Change attribute behavior x=500 (far right of my screen)
  19. Random from 11111 to 5555

    tatiang
    by tatiang · February 2019
    Change attribute game.randomNumber to random(11111,55555)
  20. multi touch in Gamesalad, Windows.

    AlchimiaStudios
    by AlchimiaStudios · February 2019
    (Quote)
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