Make sure that when your calling p:update(dt) in main.lua you include (dt) as an argument
Or else its something else
it can only be done in p:update btw
Edit: include timer() inside of p:update amd you can use dt there
Search found 5 matches
- Wed Jul 21, 2021 9:09 am
- Forum: Support and Development
- Topic: why cant i add dt to a variable
- Replies: 6
- Views: 8872
- Wed Jul 21, 2021 9:03 am
- Forum: Support and Development
- Topic: why am i getting this error?
- Replies: 12
- Views: 16048
Re: why am i getting this error?
It needs to be:
count = count + 1
(Unless someone else answered already)
count = count + 1
(Unless someone else answered already)
- Wed Jul 21, 2021 9:01 am
- Forum: Support and Development
- Topic: Distributing your games (making a .love file)
- Replies: 278
- Views: 1080296
Re: Distributing your games (making a .love file)
Is this outdated? From 2009?
- Tue Jul 13, 2021 10:38 pm
- Forum: Games and Creations
- Topic: Treaty: Choose your way to peace
- Replies: 5
- Views: 15059
Re: Treaty: Choose your way to peace
This gave me an idea for a game about running a fictional country
- Mon Jul 12, 2021 11:13 pm
- Forum: Games and Creations
- Topic: Shoot 'Em! is Out!
- Replies: 4
- Views: 8723
Re: Shoot 'Em! is Out!
Cool! Its really cool to me that all these people are making these games that i've never heard of. Im a beginner btw