Help on creating a Fantasy Adventure Game

When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

I was going through the Creating a Fantasy Adventure project and I got an error, one of the options disappeared

here’s my code

help please?

The information you provided is not very descriptive of your problem. Posting the exact error message would help us help you. :wink:

1 Like


here’s a screenshot of the error

the ignore it box is missing, bottom left is where it should be

// You wrote:
optionBox('pointerup', function() {
      const newPage =  this.option.nextPage;
      if (newPage !== undefined) {
        destroyPage();
        displaypage(scene, fetchPage(newPage));
      }
    }, { option });

// Change to:
optionBox.on('pointerup', function() {            // This line should have on
      const newPage =  this.option.nextPage;
      if (newPage !== undefined) {
        destroyPage();
        displayPage(scene, fetchPage(newPage));  // This line should be displayPage
      }
    }, { option });

thanks for that, solved it