Pause issue, maybe a bug!! help please!!

Hi guys, im "debbuging" my game and found that my player charges if holding a button then when released a special projectile comes out, the issue comes when i hit pause, then all the sudden it charges but doesn't shoot. Dont know what to do and was hoping that someone identifies this as a bug or im just dumb :) heres a short video showing the issue. The right display box displays charging boolean, the left displays releasing the projectile boolean. The pause button only changes a global attribute to activate a slider on the pause menu scene, nothing more, so i dont know why this is happening.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    The video illustrates the symptom. To fix it, we'll need to see a screenshot of your rules. Is there anything happening on the pause scene that is resetting attributes? You say the pause button only changes an attribute. So you're not using a Pause Game behavior, or are you?

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

  • TioJavyTioJavy Member Posts: 26
    Thanks tatiang, yes I'm using the pause, unpause behaviors, nothing more. Here are some screenshots of my pause button,
    photo Pausebuttonbehavioronlevelscene_zps6647a62e.png


    This one is the unpause button on the pause scene
    photo unpausebuttononpausescene_zps3869421b.png

    This one is for the slider menu
    photo Pausesliderbehavior_zps26f234b3.png
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Those look fine. There has to be something else causing it. If you like, you can send me a link to download your project file (.zip it first) and I can comb through it a bit.

    The only thing I notice about your pause/unpause rules is that sometimes when you unpause a scene, the behaviors right before or right after the unpause behavior will fire just ahead or behind schedule, affecting other actors. But I'm doubtful that's causing the issue... can't know for sure until I see the main actor's rules.

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

  • TioJavyTioJavy Member Posts: 26
    i can send you this version of the game without enemies and other levels, i made a copy and erased a lot of stuff just to find whats causing this problem, im thinking about making a custom pause and forget about the pause unpause behaviors, what do you think? give me your email address and ill send it, thanks a lot!!
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    @Koolou You can send me a download link (e.g. DropBox or MediaFire) via private message here. Just make sure to .zip the file before you upload it. A custom pause might fix it... again I don't know without seeing all of your rules. Feel free to send it to me and I'll take a look.

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

  • TioJavyTioJavy Member Posts: 26
    Hi guys, i think i found the problem, cant fix it, but is a start. i changed the rule of charging and releasing using the keyboard instead (spacebar) and the problem is gone, maybe a touch related bug. How can i submit this, so the gamesalad team can fix it.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

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

  • TioJavyTioJavy Member Posts: 26
    Yess, fixed!!
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    The pause behavior is an issue. I've talked with support about it and also Codewizard they are aware of the issue.
  • TioJavyTioJavy Member Posts: 26
    Nice, gamesalad is evolving very quick. Thanks for the info...
  • synergy88studiossynergy88studios Member, PRO Posts: 23
    Hey @Koolou, I know this thread was months since it was posted. I am now experiencing the same problem. Exactly the same as yours. Is is this resolved by Gamesalad?
  • CodeMonsterCodeMonster ACT, AustraliaMember Posts: 1,078
    but yes @koolou i would suggest going with custom pause.
    1)it reduces load times
    2)its just as easy to set up, all it takes is an extra attribute and one extra rule which everything els fits into.
  • synergy88studiossynergy88studios Member, PRO Posts: 23
    Hi @CodeMonster.

    How to set up a custom pause behaviour? My game includes a Countdown timer. How to stop a countdown timer. :) Thanks.
  • CodeMonsterCodeMonster ACT, AustraliaMember Posts: 1,078
    @synergy88studios I'll make a tutorial when I'm at home on how to do that.
  • synergy88studiossynergy88studios Member, PRO Posts: 23
    Thanks @CodeMonster. I'll be waiting for it. :)
Sign In or Register to comment.