Search found 2 matches

by orange_god
Fri Dec 03, 2021 5:32 pm
Forum: General
Topic: Struggling to get a pause screen working with HUMP
Replies: 3
Views: 4555

Re: Struggling to get a pause screen working with HUMP

Ah, that makes a lot of sense! I should have realized that was the issue. I went with defining love.kepyressed in main like this function love.keypressed(key) if key == "escape" then love.event.push("quit") end if Gamestate.current() ~= pause and key == 'p' then Gamestate.push(pa...
by orange_god
Thu Dec 02, 2021 5:13 pm
Forum: General
Topic: Struggling to get a pause screen working with HUMP
Replies: 3
Views: 4555

Struggling to get a pause screen working with HUMP

Hi Everyone, I'm trying to get a Pause screen working, using HUMP for gamestates. I have a main level that I load into initially, and then when I hit P it switches to a Pause screen. The issue is when I hit P again to pop the pause gamestate off, I get a bunch of errors, Error stack overflow Traceba...