Search found 1 match
- Sun Aug 07, 2022 3:38 am
- Forum: Support and Development
- Topic: Is there any best way to create pause game feature??
- Replies: 2
- Views: 2389
Is there any best way to create pause game feature??
Hello everyone, Is there any simple way to create pause game feature?? my way: function love.load() pause = false number = 0 end function love.update(dt) function love.keypressed(key, unicode) if key == 'p' then pause = not pause end end if pause == false then -- do something when the game is paused...