Search found 20 matches
- Mon Jan 19, 2015 3:10 am
- Forum: Support and Development
- Topic: Getting other network objects to appear
- Replies: 0
- Views: 1341
Getting other network objects to appear
In the networking tutorial, it shows a string of text as your "player" I get how to get text to appear/change for all, but how to we get players to appear?
- Mon Jan 19, 2015 2:05 am
- Forum: Support and Development
- Topic: Network code in tutorial not responding.
- Replies: 1
- Views: 1643
Network code in tutorial not responding.
Hello! I have copy and pasted the code from the networking tutorial found here: https://love2d.org/wiki/Tutorial:Networ ... -TheServer
When I run it, the window just freezes and doesn't respond...any ideas?
EDIT: Server still seems to run fine, as client is connecting..
When I run it, the window just freezes and doesn't respond...any ideas?
EDIT: Server still seems to run fine, as client is connecting..
- Fri Mar 15, 2013 4:16 pm
- Forum: Support and Development
- Topic: Collision grid
- Replies: 11
- Views: 7205
Re: Collision grid
Works like a charm! Thank you so much for taking the time to not only help me fix the problem, but sift through all my code and help me fix it step by step! I do have one bug, however, which I have semi-fixed. With the whole gridx - 1 and gridy - 1, Whenever I start the game, the player jumps to a c...
- Fri Mar 15, 2013 4:44 am
- Forum: Support and Development
- Topic: Collision grid
- Replies: 11
- Views: 7205
Re: Collision grid
First off, thanks a bunch for taking the time to figure this out. Ok when I do the player.keypressed function, it doesn't seem to work outside of the playermove(). I keep getting an error, and I think the reason is because I'm changing love.keypressed to player.keypressed. Other than that though, I ...
- Thu Mar 14, 2013 5:51 pm
- Forum: Support and Development
- Topic: Collision grid
- Replies: 11
- Views: 7205
- Wed Mar 13, 2013 11:44 pm
- Forum: Support and Development
- Topic: Collision grid
- Replies: 11
- Views: 7205
Re: Collision grid
Alright, putting all that code in now works without errors, but my char doesn't move.
- Wed Mar 13, 2013 5:28 pm
- Forum: Support and Development
- Topic: Collision grid
- Replies: 11
- Views: 7205
Re: Collision grid
First of all, you are like an answer to prayers. However I'm having a noob moment, can you show me how you want me to initialize the collision table?
- Wed Mar 13, 2013 1:02 am
- Forum: Support and Development
- Topic: Collision grid
- Replies: 11
- Views: 7205
Collision grid
Hey guys, what I want is a collision map that is set up by adding another variable to my map. For example, grass would have it's collision set to 1, and you wouldn't be able to pass through it. Here is my map code. Tileset = love.graphics.newImage('tileset1.bmp') TileW, TileH = 50,50 tilesetW, tiles...
- Tue Mar 12, 2013 11:35 pm
- Forum: Support and Development
- Topic: Need help with grid system
- Replies: 1
- Views: 1772
Need help with grid system
Here's what I want it to do. Every second, the player moves 100 pixels to the right. Here's my code playerxx = playerxx + (100 * (10 * pdt)) Playerxx = player's x coord pdt = my var for delta time As you can see, this code would indeed move the player right 100, but it also moves every pixel in betw...
- Wed Jan 23, 2013 11:37 pm
- Forum: Support and Development
- Topic: Help with collision!
- Replies: 10
- Views: 5723
Re: Help with collision!
What would be the best way to go about doing that? Set coordinates and have a collision map? So like... Collision Map 001 001 111 And if the player is the X.. 000 0X0 000 he'd be on like coordinate 2,1? I'm just confused on the best way to do this I guess, thanks for all your help so far by the way,...