Search found 11 matches
- Mon Jan 09, 2012 3:36 pm
- Forum: Libraries and Tools
- Topic: 32 lines of goodness, yet another OO lib
- Replies: 53
- Views: 34070
Re: 32 lines of goodness, yet another OO lib
thank that help clear thigs up alot. basicaly each function returns a value and the next calls a member of it
- Mon Jan 09, 2012 3:09 pm
- Forum: Libraries and Tools
- Topic: 32 lines of goodness, yet another OO lib
- Replies: 53
- Views: 34070
Re: 32 lines of goodness, yet another OO lib
I understand(mostly) how to make classes I just don't get how this syntex works
i.e.
what functions are clalled when you do this?
i.e.
Code: Select all
class "ClassName" : extends(BaseClassName) {
memberName = nonNilValue;
}
- Mon Jan 09, 2012 5:39 am
- Forum: Libraries and Tools
- Topic: 32 lines of goodness, yet another OO lib
- Replies: 53
- Views: 34070
Re: 32 lines of goodness, yet another OO lib
Hi I'm kinda new to lua and was trying to make my own oo lib. can anyone help me understand how allows this
code works? and how it allows this syntax?
code works? and how it allows this syntax?
- Sun Jan 08, 2012 8:03 pm
- Forum: General
- Topic: Drawing triangle
- Replies: 5
- Views: 4961
Re: Drawing triangle
Thanks. I'm actually doing that nowWhat tentus said, or you could create a custom class:
Same here. I've been away from programming for a few years so I'm getting used to it agianI prefer this way, but I came from C++ and C#, so making classes is second nature.
- Sat Jan 07, 2012 4:23 am
- Forum: General
- Topic: Drawing triangle
- Replies: 5
- Views: 4961
Re: Drawing triangle
Thats what i was thinking I just wanted to know if anyone knew a better way.
EDIT: Is there a way I can group the lines and the triangle together so I could rotate/move them togeter or would I need to move each one individuality
EDIT: Is there a way I can group the lines and the triangle together so I could rotate/move them togeter or would I need to move each one individuality
- Sat Jan 07, 2012 3:57 am
- Forum: General
- Topic: Drawing triangle
- Replies: 5
- Views: 4961
Drawing triangle
Is there a way to draw a triangle with 2 sides black 1 side gray and filled red without using image files? Is there a way to make a custom DrawMode?
- Thu Jan 05, 2012 10:45 pm
- Forum: General
- Topic: love.graphics.rectangle("line"....Dose not work
- Replies: 10
- Views: 8681
- Thu Jan 05, 2012 9:48 pm
- Forum: General
- Topic: love.graphics.rectangle("line"....Dose not work
- Replies: 10
- Views: 8681
Re: love.graphics.rectangle("line"....Dose not work
So where can I find the documentation for 0.8.0?
- Thu Jan 05, 2012 8:53 pm
- Forum: General
- Topic: love.graphics.rectangle("line"....Dose not work
- Replies: 10
- Views: 8681
Re: love.graphics.rectangle("line"....Dose not work
Thanks upgrading to 0.8.0 fixed it. Is there any problems I should look out for with 0.8.0?
- Thu Jan 05, 2012 1:27 pm
- Forum: General
- Topic: love.graphics.rectangle("line"....Dose not work
- Replies: 10
- Views: 8681
Re: love.graphics.rectangle("line"....Dose not work
Hello I just started using love today and I'm having problems. I am using the code from http://love2d.org/wiki/Tutorial:Gridlocked_Player and it runs fine except is I draw the "walls" with "line" nothing is drawn but it is drawn with "fill" On my graphics card (Intel) ...