Search found 2 matches

by Jolt
Sun Apr 24, 2022 1:39 am
Forum: General
Topic: I've been trying to code in my.main game scene and it just gives me an error when I press my start button
Replies: 3
Views: 2492

Re: I've been trying to code in my.main game scene and it just gives me an error when I press my start button

I was trying to do scenes but i went nvm I'm getting and figuring out a library for scenes
by Jolt
Sat Apr 23, 2022 9:02 pm
Forum: General
Topic: I've been trying to code in my.main game scene and it just gives me an error when I press my start button
Replies: 3
Views: 2492

I've been trying to code in my.main game scene and it just gives me an error when I press my start button

here's the error Error main.lua:20: attempt to index global 'Scene' (a nil value) Traceback main.lua:20: in function <main.lua:18> [C]: in function 'xpcall' My code is: function love.load() playstarter = love.graphics.newImage("TitleAssets/startplay.png") time = 0 end function love.draw() ...