Search found 46 matches
- Sun May 03, 2015 2:18 am
- Forum: Support and Development
- Topic: Multiplayer help
- Replies: 2
- Views: 2122
Re: Multiplayer help
The application hasn't crashed. It is running. It just isn't doing a love.event.pump . This makes the OS say that the program has crashed because love.event.pump just tells the OS that the application is still running. Add the pump call or just ignore it. ;) Run the client. You will see that it wor...
- Sun May 03, 2015 12:55 am
- Forum: Support and Development
- Topic: Multiplayer help
- Replies: 2
- Views: 2122
Multiplayer help
So I wanted to get started in learning how making a multiplayer game works in love2D. I looked at the tutorial on the wiki here https://www.love2d.org/wiki/Tutorial:Networking_with_UDP When I run the server.exe the entire application freezes on start, then crashes. I tried love2D version 0.7, 0.8, a...
- Sat Apr 04, 2015 12:11 am
- Forum: Support and Development
- Topic: Displaying all contents in a folder [help]
- Replies: 4
- Views: 3569
Re: Displaying all contents in a folder [help]
Alright thanks for the help!
- Fri Apr 03, 2015 5:44 pm
- Forum: Support and Development
- Topic: Displaying all contents in a folder [help]
- Replies: 4
- Views: 3569
Re: Displaying all contents in a folder [help]
I think this will help. https://love2d.org/wiki/love.filesystem.getDirectoryItems I would use love.filesystem.getDirectoryItems() to store the names of the images in a table. Then iterate through each item of the table to create the corresponding image objects in another table. Something like: Imag...
- Fri Apr 03, 2015 8:17 am
- Forum: Support and Development
- Topic: Displaying all contents in a folder [help]
- Replies: 4
- Views: 3569
Displaying all contents in a folder [help]
Hello I have been trying to figure out how I could exactly display all the content inside a specific folder. What I am trying to do is simply show inside love all of the images inside of a specific folder without me having to code in each image inside that folder. Would anyone know how exactly i cou...
- Sun Mar 15, 2015 12:55 am
- Forum: Support and Development
- Topic: Collision with multiple enemies problem
- Replies: 9
- Views: 5512
Re: Collision with multiple enemies problem
He just means that they're checked two at a time. You go through all the enemies as you're going through all the enemies , therefore checking every single one against every single other, like in the code example ivan gave. An extra note, you'll want to make sure you aren't checking an enemy against...
- Sat Mar 14, 2015 11:55 pm
- Forum: Support and Development
- Topic: Collision with multiple enemies problem
- Replies: 9
- Views: 5512
Re: Collision with multiple enemies problem
ivan wrote:Collisions are usually checked in pairs
hmm i don't know what you mean by checked in pairs. What is this?
- Sat Mar 14, 2015 3:13 pm
- Forum: Support and Development
- Topic: Collision with multiple enemies problem
- Replies: 9
- Views: 5512
Collision with multiple enemies problem
I am using Boundingbox.lua for collision. I have multiple enemies spawning from the same table they load from.
My question is how can i have collision with the enemies from the same table? so that the enemies will collide with each other?
My question is how can i have collision with the enemies from the same table? so that the enemies will collide with each other?
- Wed Mar 11, 2015 7:34 pm
- Forum: Support and Development
- Topic: table.remove wont "Remove" table
- Replies: 21
- Views: 12632
Re: table.remove wont "Remove" table
@Tesselode Okay it works!
thanks everyone for the help
thanks everyone for the help
- Wed Mar 11, 2015 12:04 pm
- Forum: Support and Development
- Topic: table.remove wont "Remove" table
- Replies: 21
- Views: 12632
Re: table.remove wont "Remove" table
You put a dot where there should be a comma. Just look at the line, love tells you where the problem is (again, table.remove rakes two arguments, that's why you need to have a comma there. Well i did fix that...but all it does now is the enemies spawn instantly...then delete instantly...Not getting...