Search found 2 matches

by gf123
Mon Apr 18, 2011 9:08 am
Forum: Support and Development
Topic: A few minor questions
Replies: 13
Views: 4126

Re: A few minor questions

1) One way to pause the game could work like this: -- At the top of love.update function love.update(dt) if paused then return end -- Your normal code goes here end -- Press the P key to toggle pause function love.keypressed(k) if k == "p" then paused = not paused end end 2) You can reset...
by gf123
Sun Apr 17, 2011 10:23 pm
Forum: Support and Development
Topic: A few minor questions
Replies: 13
Views: 4126

A few minor questions

Hello, I have been using Love for a day or so, and I think it is great. However there are one or two things that I have not yet figured out that may be included in the package, or may need extra coding by me: 1, A way to pause all activity in the game when a button is pressed 2, A way to reset a gam...