Search found 721 matches

by Plu
Fri Sep 12, 2014 8:23 pm
Forum: General
Topic: [SOLVED]Help: making a "brush"
Replies: 4
Views: 2997

Re: Help: making a "brush"

Yeah, it's missing the 4th (and 5th) argument to the draw rectangle function, I forgot to include them. You should be able to fix this yourself :) Check your original calls to those functions.
by Plu
Fri Sep 12, 2014 3:02 pm
Forum: General
Topic: [SOLVED]Help: making a "brush"
Replies: 4
Views: 2997

Re: Help: making a "brush"

Alright, let's do some pointers then to get you on your way :) Number 1 can be ignored. It's going to be solved automatically when you do number 2 :) For number 2; if you want multiple of anything, you need to create a table to store them in. So you'll have to make a table that stores (for now) coor...
by Plu
Fri Sep 12, 2014 2:52 pm
Forum: General
Topic: DuckDuckGo !bang
Replies: 9
Views: 4701

Re: DuckDuckGo !bang

The one thing I really miss is that Mozilla addon that hides websites I don't like when using Google search.
This sounds intriguing. Tell me more? :D
by Plu
Thu Sep 11, 2014 9:00 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 425080

Re: "Questions that don't deserve their own thread" thread

What would you want to do with that information? The total amount of memory on a system is used by lots of things, and you have no idea what other processes are using (or are going to use) chunks of it, so the amount of available memory can't really be determined.
by Plu
Wed Sep 10, 2014 7:21 pm
Forum: General
Topic: DuckDuckGo !bang
Replies: 9
Views: 4701

Re: DuckDuckGo !bang

That looks like a pretty cool search engine :D I'm going to use that for a while, see how well it works.
by Plu
Wed Sep 10, 2014 7:21 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 425080

Re: "Questions that don't deserve their own thread" thread

Snackrilege, that's not an easy subject at all unfortunately :( I found this tutorial which explains it pretty well, however the code samples are in some form of C (because it's explaining box2d, the system behind love.physics) I think it'll help you understand what's going on. If you have more ques...
by Plu
Wed Sep 10, 2014 7:16 am
Forum: General
Topic: Checking pixels on a line
Replies: 4
Views: 3218

Re: Checking pixels on a line

Keep in mind that using getPixel constantly is probably (a lot) slower than pulling the whole image into a lua-table and accessing that.
by Plu
Tue Sep 09, 2014 5:49 pm
Forum: Support and Development
Topic: Bullets that Penetrate -- damage objects but don't collide
Replies: 3
Views: 2019

Re: Bullets that Penetrate -- damage objects but don't colli

No worries, that's always how it begins :)

Soon you'll be knee-deep in a project and you'll have to do everything yourself, so enjoy the available solutions while they last!
by Plu
Tue Sep 09, 2014 4:38 pm
Forum: General
Topic: Challenge: Write the shortest implementation of a stack
Replies: 9
Views: 6981

Re: Challenge: Write the shortest implementation of a stack

Aren't these basically just table.insert, table.remove and the == operator? :P You can't get much shorter than the built-in functions.