GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Stopping an actor

    tatiang
    by tatiang · February 2015
    If you want to spawn an actor at random positions that are multiples of a certain number, you'd use the expression I posted earlier:
  2. creating a trail, unable to go back.

    tatiang
    by tatiang · February 2015
    This part can be done by spawning an actor with a dot or other image using a timer (e.g. every 0 seconds, spawn actor [dot].
  3. How do I prevent the color of my actor of bleeding through my image?

    robertkdale
    by robertkdale · February 2015
    Also you can also spawn a new black actor in place of the one animating after it's animation is complete. The user would never know.
  4. Moving an actor in a particular axis - not working?

    tatiang
    by tatiang · February 2015
    I'm still unsure of what you're asking. It seems the spawned actor isn't moving the way you want and the spawn location is incorrect?
  5. Moving an actor in a particular axis - not working?

    Socks
    by Socks · February 2015
    Spawn x=whatever you want / y=random(lower value,upper value)
  6. Moving an actor in a particular axis - not working?

    Meeped
    by Meeped · February 2015
    I had a similar issue that I worked out with tatiang. At least I think they're similar. Find the coordinates on the Y axis that you want them to spawn on, and use a random function of the min Y and th
  7. Performance issue on iPod 4th gen and iPhone 4

    Approw
    by Approw · February 2015
    I already optimized the game as much as possible, by recycling some actors, only spawn the bullets, turn of movable on as many actors as possible etc.
  8. spawn actor at certain place?

    EpicoreGames
    by EpicoreGames · February 2015
    tableCellValue(game.Spawn Location, random(1,8) column)
  9. I've been coding a game in two projects. How do I merge them?

    UtopianGames
    by UtopianGames · February 2015
    The variable 'game.lives' is a word us humans see.. Behind the scenes GameSalad assigns a unique number say 9986568 but in project 2, that number could be assigned to say a rule in the project.. So wh
  10. Match Game Question

    KC_Games
    by KC_Games · February 2015
    rows are a match, they disappear and new ones spawn. This works fine for most instances (user chooses three of the same tiles or user chooses three, deselects the last one he chose and picks a new on
  11. spawn actor at certain place?

    EpicoreGames
    by EpicoreGames · February 2015
    Ok thank you . But I have another question now . Can I spawn my actor at any 8 different places that I want ?
  12. How can I automatically add "back" "next" and "main menu" buttons to newly created scenes?

    tatiang
    by tatiang · February 2015
    One solution is when the next arrow is pressed on the second to last page, to then spawn the house button actor and destroy the arrow actor.
  13. help with 3 things please

    chirikosan
    by chirikosan · February 2015
    In the image below I want my Hero to do a brief volunteer service job petting a cat, I want to spawn a textbox ideally into a table (I tried it as a Display Text with a timer but the software only wan
  14. How to make actor an disappear when colliding with another actor an reappear in a random place

    Meeped
    by Meeped · February 2015
    I would make the apple change images to a transparent image and a timer where it destroys after 5 seconds or so. Then you can use the spawn code how you want, such as the one provided by tatiang.
  15. Spawn, translate across the screen and rotate

    HulaPig
    by HulaPig · February 2015
    Trying to get an actor to spawn from the right side of the screen, continuously rotate through 360 degrees as it translates across the screen unless it hits a specific actor. The rotating actor will
  16. How to make actor an disappear when colliding with another actor an reappear in a random place

    TheTiger
    by TheTiger · February 2015
    With the spawn actor bit, what do you put in the position bit?
  17. How to make actor an disappear when colliding with another actor an reappear in a random place

    tatiang
    by tatiang · February 2015
    .....Spawn actor [apple actor] [x=random(0+self.Size.Width/2,1024-self.Size.Width/2)] [y=random(0+self.Size.Height/2,768-self.Size.Height/2)] relative to scene
  18. Stopping an actor

    tatiang
    by tatiang · February 2015
    (Quote)
  19. spawn actor at certain place?

    tatiang
    by tatiang · February 2015
    Sure. In the Spawn Actor behavior, put in x=random(0,1024) or whatever values you want for the size of the scene and y=768/2 or half of whatever your scene height is.
  20. spawn actor at certain place?

    EpicoreGames
    by EpicoreGames · February 2015
    May i know is it possible to make my actor to spawn at the place that i want like at the middle of the screen but random x position ?
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