I need help

Posted by (twitter: @crocojim18)
August 26th, 2013 2:25 pm

So, I ran out of time last night, so I’m going to have to submit ‘The Worst Meeting EVER” as a jam game.

I have all of the pictures done, and all of the code written.

I think it’s pretty spiffy.

However, there’s a weird bug that doesn’t allow you to get past Scene 22 in the game, and I have no idea why.

I’m using JavaScript, and I seriously need help. If anyone is good with JavaScript, and you wouldn’t mind looking at the code around Scene 22, I would so greatly appreciate it. I don’t see anything wrong, and my teacher didn’t see anything wrong, so I’m not quite sure what’s going on.


I have identified that the button will simply not respond to pressing on and after Scene 22, unless it leads back to the title. I am just so clueless right now.


Anyway, if you would be so kind as to look at the code, you can download it here.

4 Responses to “I need help”

  1. BipoleMoment says:

    Never mind! Got it!

    I was using a == instead of a =.

  2. hbocao says:

    Hey man!

    The code you gave is not “compiling”. The if in line 382 was supposed to be: “== 20” but it’s “== 2 0”. But about your problem now… You were bit by the CopyPasteMonster. hehe
    Sometimes when you wanted to assign a value to the variable “scene=22”, you used “scene==22”.
    Here is the entire file: https://dl.dropboxusercontent.com/u/41585850/index.html
    I think I fixed. Good Luck and hurry up! :)

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]