Search found 3 matches

by kappaster
Wed Feb 02, 2022 11:03 pm
Forum: Support and Development
Topic: error i encountered while working on a project (solved)
Replies: 8
Views: 5052

Re: error i encountered while working on a project

That's a big update loop. You should check out ways to split your code into multiple files so you don't end up with a blob file like this and it's much more manageable/maintainable. There's an end missing on Ln375 also finally realizing where the end was made me feel like i was blind, but no worrie...
by kappaster
Wed Feb 02, 2022 11:01 pm
Forum: Support and Development
Topic: error i encountered while working on a project (solved)
Replies: 8
Views: 5052

Re: error i encountered while working on a project

debugging is a process of elimination; syntax errors are the easiest because the compiler actually finds the error for you. in this case, the function love.update is missing a closing 'end' statement. the reason you can't figure out what is wrong is because love.update is ~2k lines of if then claus...
by kappaster
Wed Feb 02, 2022 3:46 am
Forum: Support and Development
Topic: error i encountered while working on a project (solved)
Replies: 8
Views: 5052

error i encountered while working on a project (solved)

a few months ago i decided to learn this game engine, and now i am sticking with it, so i decided to make a project with it but i came across an error: Error Syntax error: main.lua:2221: 'end' expected (to close 'function' at line 273) near '<eof>' Traceback [C]: at 0x7ffd68d228f0 [C]: in function '...