[Solved] - Beginner - Why doesn't my menu work properly?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Ximici
Prole
Posts: 13
Joined: Sun Apr 21, 2013 5:55 pm

[Solved] - Beginner - Why doesn't my menu work properly?

Post by Ximici »

Hello,

I' m trying to make my first game and I made a menu with a simple 'Start' and 'Quit' button. The Quit button works but the start does not, it just showes a blank screen. Could someone please help me? There is supposed to be a box that you can control with 'wasd'. Maybe I did something stupid, I'm a total beginner.

Thanks,

Ximici
Attachments
Box.love
(2.32 KiB) Downloaded 127 times
Last edited by Ximici on Fri Jun 28, 2013 2:04 pm, edited 1 time in total.
Xugro
Party member
Posts: 110
Joined: Wed Sep 29, 2010 8:14 pm

Re: - Beginner - Why doesn't my menu work properly?

Post by Xugro »

You have a typo in ./menu.lua line 36. Your gamestate is playing not play.
Ximici
Prole
Posts: 13
Joined: Sun Apr 21, 2013 5:55 pm

Re: - Beginner - Why doesn't my menu work properly?

Post by Ximici »

Oh, now I feel stupid ... Thanks a lot!
Post Reply

Who is online

Users browsing this forum: No registered users and 59 guests