Need help

Hello guys

I try to use the storyboard but the system says me that there is an error in main.lua … “in main chuck”

this is what I coded:

main.lua

local storyboard = require("storyboard") storyborad.gotoScene("level1")

level1.lua

local storyboard = require("storyboard") local scene = storyboard.newScene() function scene:createScene(event) local group = self.view local bg = display.newImage("bg.png") group:insert(bg) end scene:addEventListener("createScene" , scene)

what is wrong?  (please don’t answer me look the blog because I used this code whatching a coronalabs video tutorial)

You have a typo on:

storyborad.gotoScene(“level1”)

Should be:

storyboard.gotoScene(“level1”)

Always look for the simplest solution when you first face a problem.

Hey

Have you checked the blog? Just kidding… :slight_smile: You have spelt storyboard wrong on your call to gotoScene() in main.lua

Rich

ahahahah

Oh sorry for the low quality thread… I didn’t seen it :frowning:

You have a typo on:

storyborad.gotoScene(“level1”)

Should be:

storyboard.gotoScene(“level1”)

Always look for the simplest solution when you first face a problem.

Hey

Have you checked the blog? Just kidding… :slight_smile: You have spelt storyboard wrong on your call to gotoScene() in main.lua

Rich

ahahahah

Oh sorry for the low quality thread… I didn’t seen it :frowning: