Search found 2 matches

by CaptainSwordsman
Fri Dec 25, 2015 1:55 am
Forum: Support and Development
Topic: Switching gamestates with HUMP
Replies: 3
Views: 1710

Re: Switching gamestates with HUMP

In your intro:mousepressed function you're comparing the mouse button to "1", or the string representation of the number one, so Gamestate.switch is never called. A bit of clarification, with löve 0.9.x, you need to use mouseconstants, like "l" (lowercase L) like you do in menu:...
by CaptainSwordsman
Wed Dec 23, 2015 4:41 am
Forum: Support and Development
Topic: Switching gamestates with HUMP
Replies: 3
Views: 1710

Switching gamestates with HUMP

Hello. This is my first forum post, so please be gentle. For the first time I've run into a problem that I can't solve via Google and the Wiki. I'm trying to proof-of-concept a simple main menu using HUMP gamestates. I can switch from the main menu to the placeholder screen for my "new game&quo...