Search found 1154 matches

by davisdude
Fri Nov 24, 2017 4:18 pm
Forum: Games and Creations
Topic: Fault - Android/iOS Mobile Game + Source
Replies: 4
Views: 825

Re: Fault - Android/iOS Mobile Game + Source

Very difficult but fun! I think the screen should flash white when you die, but other than that I think it's very good. :)
by davisdude
Mon Nov 13, 2017 7:44 pm
Forum: General
Topic: There is shurly a better way to code these few lines.
Replies: 4
Views: 676

Re: There is shurly a better way to code these few lines.

I'd recommend looking in to this writeup here
by davisdude
Wed Oct 25, 2017 11:16 pm
Forum: Games and Creations
Topic: Typing Champ
Replies: 6
Views: 1044

Re: Typing Champ

Really cool, and I like the graphics. Seems like it could be a cool way to encourage learning/improving typing skills.
by davisdude
Wed Oct 25, 2017 11:14 pm
Forum: Games and Creations
Topic: Dark Wish
Replies: 12
Views: 2990

Re: Dark Wish

Wow, looks great! Can't believe I missed this the first time you posted it. Keep up the good work :)
by davisdude
Sat Oct 21, 2017 1:03 am
Forum: General
Topic: love.load vs stuff at top of main.lua
Replies: 10
Views: 1570

Re: love.load vs stuff at top of main.lua

One benefit is that you can use love.event.quit( 'restart' ) and love.load() will be run
by davisdude
Sun Sep 24, 2017 4:27 pm
Forum: Support and Development
Topic: Require path
Replies: 3
Views: 474

Re: Require path

Without messing with the structure, as grum suggested, you have a couple of options available: You can also put a file title "init.lua" inside of each directory, such as movement, which looks something like this: -- classes/components/movement/init.lua -- Match the parent directory local path = (......
by davisdude
Fri Sep 22, 2017 1:39 pm
Forum: General
Topic: issue with circle pong collision detection
Replies: 4
Views: 757

Re: issue with circle pong collision detection

In your function LineAngle, replace math.atan with math.atan2 and replace the division sign with a comma. Specifically, note the differences between the parameters for math.atan and math.atan2 in the Lua 5.1 documentation . Also note that math.atan2 was deprecated in 5.3 (emphasis mine): The followi...
by davisdude
Wed Sep 13, 2017 11:12 pm
Forum: Games and Creations
Topic: [Game] The Lord of candy
Replies: 6
Views: 1717

Re: [Game] The Lord of candy

I like it! Simple mechanic, but still fun. My one suggestion would be a way to "cancel" a throw, by right clicking, for instance. Also, the zero gravity power-up actually makes it WAY harder later in the game. All the balls just float into the thing, causing you to lose unless you focus on keeping b...
by davisdude
Tue Sep 12, 2017 1:51 am
Forum: General
Topic: checking if a value is not on table ?
Replies: 15
Views: 1543

Re: checking if a value is not on table ?

Maybe I'm missing something here, but it seems like the simplest (and most efficient) solution would be to just check if that element is nil before or after the loop local tab = { a = 1, b = 2, c = 3 } local key = 'testKey' local notInTable = tab[key] == nil if notInTable then print( 'The key "' .. ...
by davisdude
Tue Sep 05, 2017 12:59 pm
Forum: General
Topic: release date for 0.11 ?
Replies: 4
Views: 1207

Re: release date for 0.11 ?

In the past, major releases seem to end up being on holidays, so I'm hopeful for a little Christmas present! :)