Cannon
Re: Cannon
Even if I manage to code a network multiplayer mode (turn based? I don't know what to do), I can't host a server, so it would be IP based... Can you explain me also networking? ^^'
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Cannon
I added a trebuchet... Why? Because trebuchet! I havn't played with multiplayer in love2d yet so this sounds like the perfect opportunity to try.
Edit: Here's multiplayer, I think it could there's a lot of room for improvement in my implementation (and the trebuchet keeps spazzing out) but it works . Hope the code is understandable. You can test it by opening it twice and use one to host and the other to connect to the host (there's another trebuchet for the second player if you scroll to the right).
Edit: Here's multiplayer, I think it could there's a lot of room for improvement in my implementation (and the trebuchet keeps spazzing out) but it works . Hope the code is understandable. You can test it by opening it twice and use one to host and the other to connect to the host (there's another trebuchet for the second player if you scroll to the right).
- Attachments
-
- cannon.love
- (28.44 KiB) Downloaded 119 times
Who is online
Users browsing this forum: Bing [Bot], borr and 2 guests