Xavyrr / LOVE

An Undertale homebrew for the 3DS.
Apache License 2.0
40 stars 17 forks source link

dream.lua issue : '}' expected to close '{' at line 19 near '=' #1

Closed Smethan closed 7 years ago

Smethan commented 7 years ago

When I compile the game, it gives an error that is something like the title when I run it, and after looking at the code, it seems all the closing brackets are there, so I don't know why this issue is appearing and I would like to know so I could continue development. Would it be a problem with LOVEPotion being updated, or is the code just a mess?

sadkris commented 7 years ago

Getting the same Issue. If you look closer at the parenthesis it includes the parenthesis in the error

Smethan commented 7 years ago

Sort of as an addition, what is the "w =" bit at the end of line 20 in dream.lua? What is w?

sadkris commented 7 years ago

I noticed that too... deleting it changes the error

Smethan commented 7 years ago

Okay, I solved the error by getting an older working version and working from there instead. You can check out my fork for all that stuff

sadkris commented 7 years ago

I just installed the QR version

sadkris commented 7 years ago

Works perfectly when DSP is dumped. Its damn small tho

Smethan commented 7 years ago

Yeah, I'm working on expanding it. I've gotta rewrite the collision code before I add a new room though, since the current code won't work for rooms with more than 4 walls. After that I might work on making the battle system.