u/splad
In this archive from Apr 2012 to Mar 2020
- 10
- posts
- 95
- comments
- 2
- media
- 1.6k
- score
Top posts
Ravendarke tried to give away a free tool to this subreddit, the mods deleted it, buried it, shadow banned it, and someone went through his entire blog post history and downvoted everything
[removed]
Come join the Gamedev Google Hangout
We run a persistent google hangout for game developers. It is linked in the side bar and open 24/7 but sometimes there isn't anyone in the channel. Today however there are a few of us in the hangout, and you should join us this afternoon for chatting about game development. Friday afternoon is often...
It's the weekend, Get to da hangout!
Here is the link: Gamedev hangout As of right now 100% of the people in the google /r/gamedev hangout are me, and therefore boring. In order to liven the place up a bit you should stop by and chat. This thing is up 24/7 but sometimes it can get pretty quiet so it helps to remind people that it exist...
I've made a very engineering and design heavy rant video about designing the infinite procedural universe in my game
I'm developing the Wayward Terran Frontier game engine, and the single player game Zero Falls that exists inside of it. My latest project is rewriting the code for our infinite procedural world from the ground up. Because I'm a geek who loves talking about engineering stuff I've created a video wher...
Imagine as a simple example, a request of some early players of World of Warcraft when it was in vanilla: Why can't we just throw items on the ground from our inventory?
It seems like a simple problem to solve, in their previous games (diablo 2 for instance) this was actually a common occurrence, so why couldn't they do it in WoW?
The answer is worst-case scalability issues. A WOW server could support a (thousand or so?) players at the time, so lets imagine what sorts of network traffic gets added just by allowing a player to take a rusty dagger and throw it on the ground in Iron Forge.
First of all, you obviously want everyone nearby to see this item when it gets thrown on the ground, so you are going to have to encode some sort of message that describes an item being thrown on the ground which presumably the server will be forwarding to everyone in the area. This message is going to have to tell the clients what item to draw on the ground, so it has to send enough data to describe a rusty dagger, its 3d position and orientation, and perhaps it's source(for animation) to everyone in the zone, and that method has to be received by (worst-case) everyone on the server at once without causing the game to gind to a halt.
Okay, so worst case you can easily send 1000 messages describing an item being dropped on the ground, but you have thousands of people in hundreds of instances, do you send every person information about every item dropped? What if everyone drops an item at the same time? Now you are sending far too much information for a real time application and everyone has to spend a good 15 seconds downloading all the new items, certainly you can't expect the game to constantly pause to transfer all that data, so you need to filter drops by region so only people who can actually see the dagger will be sent the messages. Now worst case, everyone stands in the same place and drops and item, and everyone spends 15 seconds with their game locked up, but that is very unlikely so you allow it to happen. Nobody is surprised when everyone on a WOW server stands in the same spot and spams their abilities and then the server crashes.
Since you are filtering item drop messages by region, you now have to consider a new problem: what if you walk into a room where an item was once dropped? how will the client know what items are there? Well clearly the server has to keep a database of all items that were dropped, and check boundary conditions to see when players enter a region with an item on the ground so they can be sent that message they missed, but now you have more problems because items on the ground could build up over time. Lets set aside the difficulty of comparing the locations of thousands of players to the locations of hundreds of thousands of items every update and wonder for a moment: What happens when a thousand people each drops 10 items in the same area? That is a lot of data to download when you enter that area, are you going to sit and look at a loading screen for every area? Well WOW already has such a loading screen for things like player equipped items and positions, but those are things that are 1 per player currently in the zone and you can see how long you have to load when going to a completely new area. Now imagine that with items on the ground you have a worst case of unlimited number, per person on the server over all time periods for every zone. Now you have a worse case where the game never loads because people are throwing items on the ground faster than any individual can download the new messages.
You might try to solve this issue via network topology and client-load balancing, but now you are facing programming problems like "how do we distribute a database of items across an arbitrary number of unreliable clients as they connect and disconnect in real time so that they can share information with their peers who they may or may not be able to form connections to" and suddenly you understand that this is a hell of a lot harder than diablo 2 where you have 10 players in a server and you just send the message to everyone every time something happens.
TL/DR: when you have more than a thousand sources of information and more than a thousand destinations for that information any tiny change in the encoding of the information can cause instant lag death.
Because nobody else was making the game I wanted to play so I had to do it myself.
XNA will never support the latest and greatest new stuff because microsoft has totally forgotten it. You will never have built-in support for windows 8 tiles or appstore, and the latest direct X features will likely be forever out. It certainly will never work on XBONE or
8PHONE. [Apparently I was wrong about 8 Phone]That being said:
WAYWARD TERRAN FRONTIER
My multiplayer space captain mashup game has recently entered open alpha. Here are some recent developments in screenshot and video form:
New Screenshots
New Infinite scrolling parallax asteroid field backdrop gif (warning, huge gif)
New backdrop - high res
Shooting up a ship until it sets on fire
Internal view of the burning ship
Bigger ship from ingame editor
New Video
In which I spawn some ships and shoot them - my favorite part is at the end when my section of the ship gets blown off and my crew decides to keep fighting without me while I spiral off to my doom.
Wayward Terran Frontier
Playing around with a new backdrop
Also Explosions!
Inside of the ship after a series of reactor explosions.
That's all I have for today. Shrinking that gif to < 2MB took WAY too long, and all my other progress has been working on network code. Multiplayer space ships are working now! In fact, explosion design is what I do to relax after all the network coding.
Website | IndieDB | Twitter