how to spawn coin lines

jerlant360jerlant360 Member Posts: 82
edited December 2012 in Working with GS (Mac)
hey guys , how can i make a spawner who spawn coin lines from the top of my game?

Thanks

Comments

  • GLGAMESGLGAMES SingaporeMember Posts: 988
    if it's a straight line then you can try replicate.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited December 2012
    if it's a straight line then you can try replicate.
    Not if you want to collect them, you can't. ;)

    @jerlant360 What have you tried so far?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • davidsalomondavidsalomon Member Posts: 136
    edited December 2012
    @jerlant360 I don't know what you are really doing, if you have a game where the character stays at a fixed X or fixed Y, or on all the screen, and everything else is moving, making the character look as if he's the one that's moving, then I would do this:



    This might work for you. Just change it according to the behaviours of your game!
    Anyways, I'm still new to this so there might be better and more efficient ways to solve your problem. I just shared what I know I could do to solve that problem. :)
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited December 2012
    Hmm I thought I used replicate for coins before.
  • jerlant360jerlant360 Member Posts: 82
    edited December 2012
    @davidsalomon Thanks dude , i really appreciate it , thanks for taking the time to help me and make a video :D i think this will work very well for me!! :D

    Thanks you too guys @FryingBaconStudios @GLGames @tatiang for helping me :D
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    You're welcome.

    If you are making a side-scroller like Jetpack Joyride, another way to create lines of coins is to make your scene width very large and to then place all of your scenery, obstacles, etc., including coins in the scene. Then, add a move (left) rule to each coin and anything else that needs to pass by the main actor. Or just move the camera with the main actor controlling it and don't move the coins at all.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • davidsalomondavidsalomon Member Posts: 136
    @jerlant360 No problem man! That's why we are all here, the GS is a very nice community, I've learned a lot and like helping others with what I know.
    Tell us how your game is coming! ;)
  • jerlant360jerlant360 Member Posts: 82
    @davidsalomon i will post a preview of my game very soon also i will tag you and all the people who helped me in the process of making it when i finish it :D
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    I'm going to test the replicate. I know it the past it worked.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Well that would blow my mind because I've always assumed that replicates were only visual copies and that it wasn't possible to have any behaviors or rules function for a replicate.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.