Programming error!
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Programming error!
I was following this course for Game Development Beginners (https://courses.edx.org/courses/course- ... es/course/) and i was following the pong game section. In the code which I am attaching, there's an if statement in function love.keypressed(key) where i have put then after the condition but the editor expects me to add then even if it's already there. I'm quite stuck here.
Re: Programming error!
It's not in love.keypressed, it's in love.update, in line 65:
should be
Posting the complete error messages helps us help you better.
Code: Select all
if gameState = 'play' then
Code: Select all
if gameState == 'play' then
Who is online
Users browsing this forum: Bing [Bot] and 84 guests