73 posts
Location
Yes
Posted 20 April 2013 - 01:37 PM
Recently I've been trying to make a game with LOVE and I have some sort of game which I don't have a good name for!
In the game you and your opponent each have a spaceship and your goal is to destroy your opponent's ship. You can fire lasers and homing missiles using energy. You have 100 energy and it recharges 10 energy/second. Lasers are fast and cheap but they do little damage. Missiles are slow and a bit more expensive, but they do more damage and home in on the other ship.
Controls:
W/S: Up/Down
Space: Fire Laser
Z: Fire Missile
Currently the game is 2 player and 2 player only. One player is the red ship (server) and another is the blue ship (client). The red ship player selects the red ship and waits for someone to connect. The blue ship player selects the blue ship and enters the address of the red player. You have to forward port 4752 to host a server.
Screenshots:
Spoiler
Last but not least, here's the download.
EXE file (Doesn't require love game engine)LOVE file (requires love game engine)(sorry if this topic is a bit confusing :P/>/>)
475 posts
Posted 20 April 2013 - 01:39 PM
Spaceship game thingy is a good name
645 posts
Location
'Merica
Posted 20 April 2013 - 01:49 PM
The game is buggy, I tried to choose a ship… and it crashed, I know its not my computer since I JUST did a routine scan, then had it fix any of the problems, seems cool though.
73 posts
Location
Yes
Posted 20 April 2013 - 01:49 PM
The game is buggy, I tried to choose a ship… and it crashed, I know its not my computer since I JUST did a routine scanner, then had it fix any of the problems, seems cool though.
It works fine on my computer but apparently other people are having problems. I'm trying to figure out what the problem is but I have no clue
Does it pop up with a light blue screen with a stack trace type thing? If so what does it say?
645 posts
Location
'Merica
Posted 20 April 2013 - 01:53 PM
I hit enter after choosing a ship and it crashes, a couple of times I tried hitting other keys… then it just stops responding, what OS is your computer?
73 posts
Location
Yes
Posted 20 April 2013 - 02:09 PM
I hit enter after choosing a ship and it crashes, a couple of times I tried hitting other keys… then it just stops responding, what OS is your computer?
I know what the problem is (or was). I had it waiting for a connection and while waiting it doesn't respond or something. It should be fixed now. Try re-downloading
645 posts
Location
'Merica
Posted 20 April 2013 - 02:13 PM
New problem, still doesn't let me use the red ship, BUT if I choose the blue ship, it asks for an address so I put something random, then it says, connection timed out…
73 posts
Location
Yes
Posted 20 April 2013 - 02:47 PM
New problem, still doesn't let me use the red ship, BUT if I choose the blue ship, it asks for an address so I put something random, then it says, connection timed out…
That's because its a 2 player game. If you choose the red ship it waits for a connection. If you put a random address for the blue ship, it will try to connect to that but because there's no one hosting a server on the computer with a random ip, the connection will time out
(I may be over explaining, but oh well)
645 posts
Location
'Merica
Posted 20 April 2013 - 03:02 PM
Oh I see, lol, but still the red ship option ins't working.
73 posts
Location
Yes
Posted 20 April 2013 - 03:07 PM
Oh I see, lol, but still the red ship option ins't working.
You just have to wait for a blue ship to connect to it. You can run it twice, one on red and one on blue with 'localhost' as the address if you just want to see what the game is like
645 posts
Location
'Merica
Posted 20 April 2013 - 03:08 PM
alright. You should make the server list like minecrafts, or have it do a random connection.
73 posts
Location
Yes
Posted 20 April 2013 - 03:11 PM
alright. You should make the server list like minecrafts, or have it do a random connection.
I've thought of that. I have no clue how to do it though (at least not the random connection part) and a server list seems very complicated…
645 posts
Location
'Merica
Posted 21 April 2013 - 09:45 PM
Try using Java or C++…. I think C++ is more friendly with working with Lua…. Well that's what I read at least.
423 posts
Location
AfterLifeLochie's "Dungeon", Australia
Posted 21 April 2013 - 10:01 PM
Moved to the Media board.