Jump to content
  • Advertisement
Sign in to follow this  
djsteffey

how to confine playable area in multiplayer space game ?

This topic is 4848 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am making a multiplayer (via network) top down 2d space shooter game. It is a deathmatch type game where it is basically seek and destroy the other players and computer players. Obviously I cant allow the player to go off in any one direction infinitely. I need a way to keep them within the bounds of the playable area (henceforth called arena). The only thing I can think of at the moment is like an asteriod field/wall completely surrounding and enclosing the arena but that seems way past suspension of disbelief and seems kind of cheesy and hacked to me. I dont like the idea of warping the player to the other side of the arena one it goes past one of the borders. Can you guys and gals give me some ideas on how to keep the player in the arena?

Share this post


Link to post
Share on other sites
Advertisement
Silly idea but... Have a sun in the centre of the level and make the ships solar powered :-)



Richard.

Share this post


Link to post
Share on other sites
Couple of ideas, just make the area wrap around. So when you hit an edge you just come out the other side. Another idea is to have "force fields" that keep the players in an area. Seems pretty straightforward to me, especially if your going with an arena feel.

Share this post


Link to post
Share on other sites
I've been thinking about making a similar game (inspired by Star Control series and Escape Velocity series)... and I thought about this as well.

- The Battlefield series of FPS games puts a visible, fake border around the playing area and says "You are leaving the combat area! Deserters will be shot!" and gives you a 10-second countdown.

- You could put a big dust/asteroid cloud out at a certain distance from the star and say "micrometeorite warning!" and then start to periodically damage them. (World of Warcraft doesn't let you swim out indefinately into the ocean by saying "you're getting tired" and then starts damaging you like this)

- Like bangz suggested, you could make all of your ships solar-powered. Hard to explain to the player, but could provide for some cool King-of-the-hill gameplay: people closer to the sun get faster energy recharging.

- You could put a big wall around the playing area and tell the player "You're actually fighting inside a Dyson Sphere"

Share this post


Link to post
Share on other sites
the solarpower thingy could actually lead to some quite interesting fighting situations, if you have proper shadows in the game :D just get an enemy forced behind some big asteroid and see him loosing his energy..

different ideas come to my mind.. :D

Share this post


Link to post
Share on other sites
Hehe nice!

Another idea I had was to have some crazy additional dimension, so that space is not on a flat plane, but wrapped around the outside of a sphere... So in essence it will teleport to player to the other side, but won't appear this way.

Am I sounding crazy? Probably :| ;)


Richard.

Share this post


Link to post
Share on other sites
Assuming that the map scrolls and "tiles" properly, there's no reason why you'd have any visible teleportation effect... e.g. when you're approaching the west edge of the map, you render the far-east parts of the map on the west side of this edge and so on.

Share this post


Link to post
Share on other sites
I would suggest that if they go too far out, have it randomly decide if a "Strange Space Ship" or something uncloaks and fires a massive volly that utterly destroys the ship. But have it random, and based on the distance from the sun. So, they 'could' possibly end up getting their asses shot off right beside the sun, but its very unlikely. But if they go too far they're going to get hit for sure.

Share this post


Link to post
Share on other sites
my idea is a kind of modification of solar recharging:

have randomly located refuling stations (they should also move slowly in random directions). flying would drain fuel very fast and once player runs out of fuel he cannot move (just rotate for exaple) and can only defend his position (apparently he wont last long), or press that 'self-destruct' switch.

under those conditions everyone would keep close to the refuling station

sure, the stations themselves cannot move only in some limmited range (a circle or quadrant)

just a though

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!