Help someone new to GameSalad with spawning actors

FrimanFriman Member Posts: 55
edited May 2013 in Working with GS (Mac)
So with numerous tries to upload my game to GS Arcade and every time my game is not scaled accordingly to GS Arcade.
Everything's looks wrong and the reason I'm getting desperate is that I'm going to have a presentation soon and I need my prototype in working condition.
I downloaded a free trial version of GS project resizer from deep blue apps and it works fine but that still dosen't solve my problem and I have tried to find the full version but for some reason I can't manage to find it on the site.

Please help me before I pull my hair out.

Cheers
«1

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Which platform have you selected on the Project Info screen? I take it you built it for a different size platform (e.g. iPad) and are now wanting to resize it for the Arcade?

    I'm also curious why you need to publish it to the Arcade for a presentation. Is this for a school project? Is it for contractual work? Is there a reason you can't just either make a screen recording or show the Preview window?

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

  • FrimanFriman Member Posts: 55
    @taitang
    it is selected for Legacy Web Game and why it's important to me is that I'm going to present my idea to a mobile game dev company that I'm on friendly terms with.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Legacy Web Game scene size is 720x480. GameSalad Arcade scene size is 480x320. So unless you can get the Project Resizer to work for that or you can do some camera tricks, you'll need to rebuilt the scenes for the correct size.

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

  • FrimanFriman Member Posts: 55
    @tatiang
    I can resize everything but the only thing that I would need help with is to stop the enemy object to spawn outside of the screen and to only spawn inside where it's supposed to.

    If you're willing to check the problem out then I'm forever grateful because this has been bugging me for three days.

    https://www.dropbox.com/s/4h1394tjg0td839/Project_Re_Imgaination_2.2.zip
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    In your Spawner actor, you are spawning the ob_enemy actor at x=random(35,675) y=500, so on a 480x320 scene that's not going to be within the scene boundaries. Just change those numbers and you should be fine.

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

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    If I was making a presentation to a game company I would have done it via a device. Using GS arcade doesn't come off to me as professional.
  • FrimanFriman Member Posts: 55
    edited May 2013
    @FryingBaconStudios
    Well I might have done that if they weren't located in another part of the world
  • FrimanFriman Member Posts: 55
    @FryingBaconStudios
    And also I have messaged them and they know of the situation.
  • FrimanFriman Member Posts: 55
    @tatiang
    I'm sorry to bother you more but could you be kind and be a little more specific?
    Thanks!
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    In your Spawner actor, you are spawning the ob_enemy actor at x=random(35,675) y=500, so on a 480x320 scene that's not going to be within the scene boundaries. Just change those numbers and you should be fine.
    I'm not sure how to be more specific than that. Open the actor called "Spawner" and you will see your Spawn Actor rule within an every 1 second timer. In the two Position fields/boxes, you have values that exceed the size of the scene.

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

  • FrimanFriman Member Posts: 55
    @tatiang
    I have change x to 80 and y 120 but there's still enemy objects spawning outside of the field.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    The GS arcade is not the most reliable that why most all of use never use it.
  • FrimanFriman Member Posts: 55
    @FryingBaconStudios
    Well that's the option I've got for the moment and investing in a pro account is not possible with the income I have right now.
    So if there's another option to save in a different format, then you're welcome to help me.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Yeah I don't have much if any experience with the arcade. I tried something simple once with it and it sucked and never bothered with it again...sorry I can't be much help with it.
  • FrimanFriman Member Posts: 55
    @FryingBaconStudios
    Well thanks anyway
  • FrimanFriman Member Posts: 55
    I'm redoing a project and I need some help what's wrong:
    1. I need the enemies to spawn randomly over the Game area Scene.
    2. Fixing highscore.
    3. Why the lasers are not destroying the enemy objects.
    4. The red Health "actors" need to disappear as the enemies cross over the line.

    Links of the project can be found below

    Thanks for the help!

    https://www.dropbox.com/s/lzxjl6qpotl5omy/Project_Re_imagination_3.0.zip
  • NovicaStudioNovicaStudio Member Posts: 174
    1) Spawner rule: make the position of x be random(-300,300) and position of y to 0, and then have the position be relative to actor, and put the spawner above the screen.

    2) Cross that bridge when you come to it. You have no score yet.

    3) Have a rule so that the enemy actor is destroyed when it overlaps with the laser.

    4) I believe stormystudio has a really nice health and highscore template for free on his website that could really help you tackle this and #2.


    Hope this helps :D
  • SocksSocks London, UK.Member Posts: 12,822
    1) Spawner rule: make the position of x be random(-300,300) and position of y to 0, and then have the position be relative to actor, and put the spawner above the screen.
    Or alternatively, just make the X value random(0,480).
  • NovicaStudioNovicaStudio Member Posts: 174
    1) Spawner rule: make the position of x be random(-300,300) and position of y to 0, and then have the position be relative to actor, and put the spawner above the screen.
    Or alternatively, just make the X value random(0,480).
    true, I find the actor easy to comprehend, because then you sort of have a mid point. :)
  • SocksSocks London, UK.Member Posts: 12,822
    3. Why the lasers are not destroying the enemy objects.
    You have a rule in the lazer actor that states:

    When this actor overlaps or collides with 'enemy' actor . . . . then destroy this actor.

    this actor refers to the actor that you are placing the destroy this actor rule in . . . . i.e: you are saying when the lazer collides with the enemy then destroy the lazer.

    Which is what is happening.
  • SocksSocks London, UK.Member Posts: 12,822
    1 & 3

  • FrimanFriman Member Posts: 55
    edited May 2013
    @Socks @NovicaStudio
    I have made some design changes but I still need help, I have been up all night trying to figure this out.
    I have tried to do the changes you suggested in the current version but I don't get it to work.
    You two people are wonderful for helping me out but could you help out a novice a little bit more?

    You can find the project below and @Socks the changes you did is what I want but I don't want the enemies to die at the first shoot, I want them to be a little bit challenging.

    https://www.dropbox.com/s/5h8tvii3d6fstg0/NEW_Project_Re_imagination_3.0.zip
  • NovicaStudioNovicaStudio Member Posts: 174
    You can have an attribute in your actor (integer) that is hits. The attribute 'hits' starts at (how many hits) and make a rule so that every time it gets hit, change the attribute hits to 'hits-1.' then have another rule so that when hits=0, then destroy it.
  • FrimanFriman Member Posts: 55
    @NovicaStudio
    Well I must fucking up even more (sorry for swearing) but I don't actually have no idea what's wrong anymore, if I try to change spawning position it scales it down, change something in enemy objects something else goes wrong.
    I will once again add the project below

    https://www.dropbox.com/s/lzxjl6qpotl5omy/Project_Re_imagination_3.0.zip
  • NovicaStudioNovicaStudio Member Posts: 174
  • FrimanFriman Member Posts: 55
    edited May 2013
    @NovicaStudio
    I love you

    and could you link the template from stormystudio or what that fellas called?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    @Friman I'm not sure what to say. I don't mean this in a mean way but if you're having that much trouble getting an actor to spawn within the scene boundaries, you might not be ready to present your game to a mobile game development company.

    The project file is no longer accessible via the dropbox link you provided. If you want, I can take another look at it but I doubt my advice will be different.

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

  • FrimanFriman Member Posts: 55
    @tatiang
    Here's the link and no offense taken.
    I should have myself planned out this prototype more thoroughly and given myself more time.
    But again this is just a prototype and I live by a sayin' here at the school I'm studying at:
    "It dosen't have to be perfect".
    And my contact is informed about the situation and he said himself that he didn't expect much from my prototype as I said so myself.
    But if you can make it better feel free to do any changes.

    https://www.dropbox.com/s/lzxjl6qpotl5omy/Project_Re_imagination_3.0.zip
  • FrimanFriman Member Posts: 55
    @tatiang
    Also I'm pretty happy about what I've learned during this week so I will take it with me.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited May 2013
    Good attitude! So in this version you've entered 0,480 for the x position in the Spawn Actor behavior. I assume you actually wanted random(0,480) which should work fine. You're also spawning at y=0, which I don't think you want. Maybe it's the text entry bug you're coming across (click the 'e' expression editor, enter a value and then press RETURN before clicking the green check mark). Anyway, the y position should probably be 320.

    image

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

Sign In or Register to comment.