Bug in Game...

Hello!
I am just wondering if anyone would please be willing to check into a small bug I am having in my game made with GameSalad. Your name will go in the credits once published!
If you are interested please reply to this thread and I will get you the GameProject from GameSalad and explain the bug to you.
It is very simple I'm sure just I cannot figure it out.
Thanks!
Michael

PS: I am going Pro on Monday/Tuesday, would this be something that the Pro Tech support would help with too?

Comments

  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    Yes, Primary Technical Support will help you out.

    Are you sure this isn't something that you can just post about? If it's so simple, we can probably help you from here.
    - Thomas
  • greengluegreenglue PRO Posts: 52
    Hi Thomas,
    Thanks for the insight.
    I will post the file link in this reply later on but first, the bug.

    In my game, based on "Alien Conquerors", I made each alien have a set number value. The value each alien has is one correct answer to the simple math problem in the top-left corner.

    When I hit the incorrect answer, the hearts go from 3, to 2, like it should. But when hitting the CORRECT answer, it still decreases by one!
    I re-read the GameSalad 'code' several times and can't find the issue!

    Same thing for another issue where for example the question 13(DIVIDED BY)1=13 but when hitting the 13 alien it doesn't make the alien disappear!

    Here is the link to the gamesalad project file: https://mega.co.nz/#!7xoxGTCQ!R5InD02e7Qc-W1MmiwLyxnX-JZsVgL1NCb0drJERcjE

    Thanks in advance!
    Michael
  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    edited March 2013
    @greenglue - I'm taking a look at it now.
    - Thomas

    Edit: It doesn't work at all? The hearts never change, correct answer or incorrect answer. I'll have to take a look tomorrow sometime, as it is slightly more complicated than I thought.
  • greengluegreenglue PRO Posts: 52
    Thank you!
    -Michael
  • greengluegreenglue PRO Posts: 52
    @SnapFireStudios - Well in reply to your EDIT: The hearts always change even when the answer is CORRECT. To move use arrows on pc/mac and click spaceship to shoot. At least for me and another tester they always change, and some of the answers (like 13) don't even register.
    Thanks and no rush!
    Michael
  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    @greenglue - Oh. I was being stupid and just trying to click the spaceships. Got it now :D

    I'll look at it tomorrow.
    - Thomas
  • greengluegreenglue PRO Posts: 52
    edited March 2013
    @SnapFireStudios - Oh, don't worry, the controls are easier on iOS than on the PC. As long as you figured out how to shoot! Haha.
    Speak tomorrow,
    Michael
  • greengluegreenglue PRO Posts: 52
    @SnapFireStudios - Any news yet on what the problem can be?
    I am getting Pro membership today so if you can't seem to solve it (which I hope you can!) they can give it a shot.
    Michael
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited March 2013
    I have a feeling that when you are deleting the table row and randomizing game.Row, the bullet collision is still in effect and therefore the alien's rule "when colliding with bullet and not correct --> change game.Lives to game.Lives-1" is firing.

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

  • ShmirlyWhirlShmirlyWhirl Member Posts: 189
    I agree with @tatiang. I would suggest toying with the order of the behaviors and the timing of it all. If I have some time later I can try my hand at it.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Here's how the rule should look:

    image

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

  • greengluegreenglue PRO Posts: 52
    edited March 2013
    Hi,
    @tatiang - Thanks for your help.
    Although adding the timer DID fix the bug where hearts would be lost for correct answers, the correct answer alien is still staying on the screen.... What's weird is that it's only for some of them, like the 13 alien and one or two others. And after hitting them for 13DIVIDED BY(1) the questions does not change either.
    Any ideas?
    Michael
  • greengluegreenglue PRO Posts: 52
    Also, sometimes after playing for a bit and I have 2 or 3 aliens left to hit, I notice that the question just disappears and doesn't show anymore.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    @greenglue I noticed the issue with 13÷1. I often have trouble with rows that are the first or last in the table. I didn't look at that closely as I was just trying to figure out why the hearts were disappearing.

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

  • greengluegreenglue PRO Posts: 52
    edited March 2013
    @tatiang - Ok so do you recommend I add another row and put an if statement if the row is blank or contains some super high value then just do the other row?
    Also, sometimes after playing for a bit and I have 2 or 3 aliens left to hit, I notice that the question just disappears and doesn't show anymore.

    EDIT: I tried adding another row and SAME issue for number 13
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    I'd have to look at the code again and I don't have time at the moment. You can try that and see if it resolves the issue.

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

  • greengluegreenglue PRO Posts: 52
    @tatiang - Ok thanks. No rush but the sooner the better! :)
    1) I tried that and it still had the same issue for number 13 and maybe one more.
    2) Also, sometimes after playing for a bit and I have 2 or 3 aliens left to hit, I notice that the question just disappears and doesn't show anymore.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Also, sometimes after playing for a bit and I have 2 or 3 aliens left to hit, I notice that the question just disappears and doesn't show anymore.
    You've mentioned this three times now. It's not that I haven't read it. The hearts fix was pretty simple. The table logic may take a bit more work. I sent you a private message (PM).

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

  • greengluegreenglue PRO Posts: 52
    @tatiang - Sorry. Didn't realize. I did not receive any PM though... I checked several times.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Sorry, my mistake! I posted it as an activity comment rather than a private message. Check now... it should be there.

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

  • greengluegreenglue PRO Posts: 52
    SOLVED!
    @tatiang - thread can be closed/locked.

    What I had to do to fix the number 13 from not disappearing was to add another row like someone mentioned above since the last row in GameSalad has a bug where it cannot always be read properly.
    Should I report this?
    Michael
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    I'm not convinced this is a bug. I've created plenty of table-driven games that relied on the last table row. I think it has to do with how your rules are set up. Again, I didn't have a chance to comb through them to see what might be causing it but if you solved it, more power to you!

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

Sign In or Register to comment.