Search found 7 matches
- Fri Dec 23, 2016 5:08 pm
- Forum: General
- Topic: Help with love2d/lua classes!
- Replies: 7
- Views: 6417
Re: Help with love2d/lua classes!
You can not belive how glad I am to have someone like yourself helping me! Do you know of any library that can handle collisions with rotated rectangles?
- Fri Dec 23, 2016 4:14 pm
- Forum: General
- Topic: Help with love2d/lua classes!
- Replies: 7
- Views: 6417
Re: Help with love2d/lua classes!
hi there! One thing that took me a lot of time to understand about programming is this: there's almost never a "objective best" way to do things. This is because *you* will be the person doing it, and that's a very important factor. I will tell you what *I* would do but you need a "s...
- Thu Dec 22, 2016 8:45 pm
- Forum: General
- Topic: Help with love2d/lua classes!
- Replies: 7
- Views: 6417
Help with love2d/lua classes!
So I'm planning on making a very simple tank game. Now I'm going to have multiple different tanks in the game, and I want to use a class system. I have a basic under standing of classes in lua and in general. But what I'm wondering is, most tanks will have the same attributes and such (Health, armou...
- Thu Jul 14, 2016 12:43 pm
- Forum: General
- Topic: Need help with string.match()!
- Replies: 5
- Views: 4141
Re: Need help with string.match()!
Patterns are regular expressions. There's a famous quote by Jamie Zawinski that is quite opportune: Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. They are tricky to understand, much more to grok. The relevant section...
- Wed Jul 13, 2016 9:55 pm
- Forum: General
- Topic: Need help with string.match()!
- Replies: 5
- Views: 4141
Need help with string.match()!
So I have started using Lua Socket to experiment with some networking (In the future I hope to make a fun little multiplayer game), and in a lot of the cases when we are sending data back and fourth to the server, we are using a string.format() and string.match() combo. Now, I have been reading up o...
- Thu Jul 07, 2016 11:33 am
- Forum: General
- Topic: Love randomly stops drawing?
- Replies: 3
- Views: 2138
Re: Love randomly stops drawing?
I just ripped the code straight from a tutorial on the love wiki, here: Client (Which uses love2d) https://love2d.org/wiki/Tutorial:Networking_with_UDP-TheClient and the Server (Which is just std. lua) https://love2d.org/wiki/Tutorial:Networking_with_UDP-TheServer I think it might have something to ...
- Thu Jul 07, 2016 11:00 am
- Forum: General
- Topic: Love randomly stops drawing?
- Replies: 3
- Views: 2138
Love randomly stops drawing?
I am running a simple network test (I wan't to learn more about networking) and when I run the client everything is normal. Until a few seconds (like 6-10 seconds) in, It just stops drawing. After a few more seconds two white-ish arrows apear in the upper left corner forming a circle. I think it may...