Update Spawn Location

ChessPawnChessPawn Member Posts: 127
edited November -1 in Working with GS (Mac)
I am using ORBZ's trajectory demo, and it works great. My question was: If I turned the gun into my character, and then when I let go instead of firing a blue orb, it would move the character itself, how would I modify the rules so that the dots still spawn where the characters X and Y is, not from (0,0). I think it is under the Gun how it spawns the points, but I am not totally sure. Thanks for the help guys.
«13

Comments

  • ChessPawnChessPawn Member Posts: 127
    Anybody?
  • ChessPawnChessPawn Member Posts: 127
    Please?
  • ChessPawnChessPawn Member Posts: 127
    Somebody's got to know something? ORBZ?
  • JPickardJPickard Member Posts: 477
    I'd love to help.
    Can someone more knowledgable help this guy? It's kinda making me sad that this great community isn't helping him. :(
  • ChessPawnChessPawn Member Posts: 127
    Thanks JPickard! I agree with you, this community is great and has helped me many times before, and now I call forth the help of my elders once again.
  • ChessPawnChessPawn Member Posts: 127
    Pwetty pwease with cheese on top?
  • JPickardJPickard Member Posts: 477
    This is getting depressing. Can you change the title of the post maybe to be more specific? Or maybe re-explain the problem more clearly? Maybe no one understands exactly what you are asking. Also, is there a link to the Orbz demo so we can see what you are working with?
  • ChessPawnChessPawn Member Posts: 127
    I don't know how to change the title of the post but here is the link to the demo http://gamesalad.com/game/play/80000

    And here is what I am trying to accomplish: http://tinypic.com/r/2qav78k/7

    THANKS AGAIN!!
  • guillefaceguilleface Member Posts: 1,014
    i really dont understand what are you trying to do, but for what i read you you want to spawn something to the player x and y position instead of always on (0,0)?
  • OaklandasfanOaklandasfan Member Posts: 213
    Well, I can help a little. I don't know what the condition is, but to update the spawn you do
    RULE
    if (condition is true)
    Change attribute SpawnX to self.position.x
    Change attribute SpawnY to self.position.y
    That makes it so that when he respawns he'll respawn at that place.
    I don't know how to set it up so that he actually respawns immediately
  • ChessPawnChessPawn Member Posts: 127
    OK, so here is pretty much as detailed as I can get. So, I'd say the first thing to do is to download the demo I linked to. Then, just press preview. Multiple dots spawn from the gun, and one by one. If we go into the Gun prototype, down at the very bottom, we see how it spawns the dots. Now, if you go back to the editor, move the gun anywhere on the screen. The dots spawn well on the Y axis, but on the X axis, it starts at 0. If we change the spawn method under Gun to self.Position.X, we only get one dot. The movement of the Gun is supposed to simulate the fact that my character will be moving along the path where the user lets go. For that though, the dots always need to spawn at the Gun's X and Y position, but still spawn multiple times. If you guys still don't understand, I don't blame you, but I'll try and make it more detailed.

    Also, how do you edit posts/post titles?
  • JPickardJPickard Member Posts: 477
    Dude, I still can't help, but I'm glad some folks jumped in, especially since I love the vid of your game so far! I can't wait to play it. It looks nicely different, as far as the mechanics, and as an artist, I love the colors and drawings so far.
  • ChessPawnChessPawn Member Posts: 127
    Thanks JPickard, that really motivates me to make my game even more!! And yes, I am glad people are starting to help me!
  • ChessPawnChessPawn Member Posts: 127
    Wow, I seriously think I just jinxed my luck… ;)
  • JPickardJPickard Member Posts: 477
    You'll figure it out. I'm sure someone will help you further.
  • ChessPawnChessPawn Member Posts: 127
    I really hope so! LOL
  • ChessPawnChessPawn Member Posts: 127
    Anybody at all?
  • JPickardJPickard Member Posts: 477
    Is there any way to get in touch with ORBZ directly? I don't know if he's even on the forums anymore. Maybe do some research to find him? Or politely email tshirtbooth, the God Of Gamesalad himself, with a link to this thread?
  • ChessPawnChessPawn Member Posts: 127
    I did send an email to tshirtbooth at his new email address about a week ago, but I don't know whether he got it or not, but yes, he is definitely THE God of GameSalad. I am thinking of contacting ORBZ through YouTube, but I don't know whether that is the best idea. Could somebody else email tshirtbooth *cough cough* JPickard *cough cough*, I don't want to sound like I am nagging him or anything! :P
  • JPickardJPickard Member Posts: 477
    Well, Tshirtbooth doesn't know me from Adam, so it wouldn't really help. ;)
  • ChessPawnChessPawn Member Posts: 127
    Well then we (me and possibly you) can only hope that A) ORBZ checks his YouTube PM's, his GameSalad PM's and browses around for topics with his name as the tag B) tshirtbooth checks his email and looks for random topics or C) Somebody more knowledgable stumbles upon this thread D) I get a magical inspiration on how to do this!

    HAHA!!
  • ChessPawnChessPawn Member Posts: 127
    Ah well, back to the drawing board :P
  • ChessPawnChessPawn Member Posts: 127
    And back up to the top we go!
  • ChessPawnChessPawn Member Posts: 127
    Anybody?
  • ChessPawnChessPawn Member Posts: 127
    I even gave a detailed description!
  • JPickardJPickard Member Posts: 477
    *bump*
  • ChessPawnChessPawn Member Posts: 127
    I second that motion!
  • ChessPawnChessPawn Member Posts: 127
    My game would be pretty cool in HTML 5!
  • ChessPawnChessPawn Member Posts: 127
    BUMP!
  • ChessPawnChessPawn Member Posts: 127
    Please you guys?
Sign In or Register to comment.