Author Topic: Week 5 - Multiplayer, The World Map, Regions, and Windstorms  (Read 6023 times)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« on: February 24, 2011, 06:20:29 pm »
Original: http://christophermpark.blogspot.com/2011/02/multiplayer-world-map-regions-and.html

This week there is less to visually show you for A Valley Without Wind, but it's been a hugely productive week nonetheless.  An updated screenshot gallery is now on the main AVWW page.  And here's the latest video:



Multiplayer
Perhaps the most exciting thing in progress at the moment is multiplayer.  It's been almost two years since I wrote my case for co-op games, but everything in that post still holds true -- and we're really excited to be bringing multiplayer to AVWW.  It's mainly a co-op game, as a lot about the stats and world is collectivized rather than for individual players, but there's room for pvp content if the server administrator wants to allow it.

That's right -- an Arcen title with servers, rather than peer-to-peer connectivity.  Unlike RTS or puzzle games where peer to peer gaming is the norm, AVWW follows a model more like an FPS game or similar.  You can launch the game server on any computer, and then other players can connect to it (including the computer running the server, if you wish).

We're not going to be putting any explicit limits on the number of players per server, but we're not sure it will do well with more than 16 players -- we'll see, and obviously it will depend on the hardware and connections in question.

Right now it is still super early for the networking in this game, and this game uses a new style of networking for us (the action-game-style "diffs-only" model, rather than the RTS-style "fully-synchronous" model that we have always been accustomed to).  Using a whole new networking model is likely to lead to a whole new set of problems than we're used to, and so until recently we'd been wondering if we could really accomplish networked multiplayer at all with this title.  It's still early yet, but it's looking promising and at this point we're pretty much committed -- we just can't imagine this game without multiplayer at least being an option.

Keith has been absolutely invaluable for this part of the project, taking over the networking for the time being since I simply don't have the time or the mental energy for it at the moment (between juggling the art and the parts of the programming I'm working on, that taps me out for now).  This style of networking has been the only big "can we really do this?" component of this project for us, and so we're really happy to be tackling this now and finally putting that question to bed.  So far it's still very early, as I noted, but it's looking quite promising.

I expect we'll find all manner of multiplayer-specific issues in alpha with the help of all the players with various configurations and setups, but it should be orders of magnitude less pain and trouble than what Minecraft has been going through to get them from alpha to beta -- that's another reason why we're hitting the networking sooner than later.  Fingers crossed.

World Map
The other big new thing this week, and this one does have a visual component, is the world map.  Each tile on the map is a "region," and consists of one big outdoors area with a variety of buildings, caves, tunnels, and so on leading down into the earth or up into the sky.

Each one of these areas where you can walk around contiguously is what we call a "chunk," and up until now we've just been working with a single outdoor chunk at a time.  That's been great for early testing purposes, but it's not representative at all of how the real game is to be structured.  Now we're finally getting that overarching structure into place.

Right now the movement on the world map isn't smooth, as you may notice from the video above, but that's just something we haven't gotten to yet.  The functionality and visual style is pretty much all there, though -- the world is set up like a set of Carcassonne pieces, laid out in a rounded grid-like pattern.

Regions
All the tiles on the world map are called individual regions, and get populated as such.  There will be many, many types of regions in the game as we move toward version 1.0 of the game, and I'm hoping to have even around 20+ in place by the start of alpha.  At the moment we have 7: Grasslands, Grasslands With Tree Clumps, Ice Age Snowy Plains, Ice Age Snowy Woods, Ice Age Thawing Plains, Ice Age Thawing Woods, and Junkyard Crates.

In turn, all of the regions are organized into super-regions, which span multiple tiles and create the realistic/interesting distributions that you see in game.  Some super-regions are more rare than others (some are very rare), and individual regions have a rarity within their parent super-regions.  Right now there are 4 different regions in the game: Grassland, Ice Age General, Ice Age Thawing, and Junkyard.

My goal for alpha is to add another 4-6 regions, but we'll see how things go and how much time I have between now and alpha.  This week a lot of my time was spent designing these regions, doing art for them, and doing a lot of code related to getting regions set up the way that I wanted.

The best thing about each individual region is that it can be populated in so many different ways -- regions are just the most coarse descriptions of what an area will be like, but there are thousands of possible types of grasslands, for instance.  And that complexity is only going to grow even further as my content generation work continues.

Windstorms
On the world map, you move between pieces an entire piece a time (rather than  smoothly), and each time you do it counts down on a "movement counter"  in the upper right corner.  Right now that's set to a really high number for testing purposes, but in-game that number is expected to start at 4.  Every time you hit 0, a "windstorm event" happens, and the counter resets to 4.

These windstorm events suck you into the region you're standing on, and involve a huge amount of blowing wind -- and possible rain/snow/sand as appropriate -- along with monsters that are all super-powered and extra prevalent until all characters have escaped from that region.  This makes travel difficult,  particularly in parts of the world map with levels higher than yours (region levels aren't in place yet, but are something I've talked about on our forum for AVWW).

But, there's a catch -- if you've constructed a wind shelter on a region, you'll see a little wind shelter icon on that region's tile on the map.  If you're standing on a region with a wind shelter when your counter hits 0, then nothing bad happens to you at all, and the counter just resets to 4 instantly.  In this way you can "colonize" the world in yet another way other than the settlements that we've talked about in past interviews and on the forums.  When you have a network of wind shelters, you can move around relatively freely -- when you stray into new territory, the risks go up.

Other New Stuff
I've put in place about a dozen completely-new trees and plants that you can see in the screenshots and video, as well as another dozen variants of past plants (mostly snow versions for the new snowy ice age areas).  This nearly quadruples the total number of types of trees and bushes in the game.  I also more than doubled the number of buildings in the game.  You can see how the various buildings are now taking on region-specific looks, something which will be emphasized even more in the future.

Keith got a number of "chunk script" features added in, as well as making it possible for buildings to have literal doors that take you inside.  The code on that isn't 100% finished yet, but it's getting there, and the art for interior stuff isn't something I've started on yet.  Hopefully interiors can be my big new thing for next week, but we'll see how things go -- we also have more enemies, more regions, more spells, and a lot of other content-related stuff that we want to get done in the next 2-3 weeks.

Pablo's been working on some of the first sound effects this week, and has been figuring out a general sound style of the  audio work in the game.  I'm really pleased with how that's been coming  along, but we probably won't highlight that in videos for a while yet,  until we've got more of the sounds all in place together.  I'm really pleased with how the sound design is coming along, though, and I think it will be Arcen's strongest showing yet in that department.  Pablo also managed to find time to create a new World Map theme this week, despite all the work on sound effects.

Until Next Week!
All in all... it's really coming along.  For five weeks in, this is content-rich already.  The regions still feel way too empty, but my main personal goal between now and alpha is going to be filling it in and making it feel more and more like a unique world, while Keith works on crafting, NPCs, and such.

Multiplayer has been a bit of a scope increase for us, and might set us back a couple of weeks.  I think we're looking at the last week in March as the absolute earliest time for the first alpha version, but it might be into sometime in April, we'll see.  We've got a lot of press wanting to do previews as soon as the first alpha comes out, and we've got a lot of players waiting to preorder and start playing at the time, so we want to make sure that we have something slam-dunk exciting from day one, even if it is a tiny subset of what we're planning for 1.0.

We'll keep you up to date on the schedule as things progress, of course.  Right now the big question mark is multiplayer networking, and how long that takes us to nail down.  If that's finished by the next video, then we're actually going to wind up a half a week ahead of our self-set schedule.  If it takes longer... that's when we'll have to adjust.  But it shouldn't delay us more than a few weeks at most, from what we're seeing so far.

More to come next week -- stay tuned!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Ozymandiaz

  • Hero Member Mark II
  • *****
  • Posts: 813
  • King of kings
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #1 on: February 24, 2011, 07:08:10 pm »
Awesome :)

We are the architects of our own existence

Offline Teal_Blue

  • Hero Member Mark II
  • *****
  • Posts: 935
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #2 on: February 24, 2011, 10:39:19 pm »
Video looks great!  The shadows on the character and on the trees and buildings look very refined now, and they move!  :)  nice touch. It was interesting seeing the new plants, sandbags and new buildings and things in the video and am just thinking it is looking very good after just 5 weeks! :)

Looking forward to the Alpha release and pre-order, thanks for the weekly peeks at how it is coming! Really nice to see it all come together!  :)

This is the Best Yet! But of course, each week it gets Better!  :)

-Teal


Offline Echo35

  • Master Member Mark II
  • *****
  • Posts: 1,703
  • More turrets! MORE TURRETS!
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #3 on: February 24, 2011, 11:21:15 pm »
Video looks great!  The shadows on the character and on the trees and buildings look very refined now, and they move!  :)  nice touch. It was interesting seeing the new plants, sandbags and new buildings and things in the video and am just thinking it is looking very good after just 5 weeks! :)

I'm digging the effects too. The explosions, spell effects, moving foliage. Looks great!

Offline Zhaine

  • Jr. Member Mark II
  • **
  • Posts: 85
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #4 on: February 25, 2011, 02:45:18 pm »
Nice to see the visual variety increasing and good to hear multiplayer seems to be going well :)

One thing I noticed: where there's a 'lootable' object (those little glowy things) 'behind' a tree you're drawing them on top (e.g. at 0:44 in today's vid), so as to make them visible, as they're more important than the scenery, right? That's obviously important so that you don't miss items that are behind scenery, but do you have plans to draw them in a different way when they would 'realistically' be concealed.

For example drawing just the outline of the object or somehow blending the image so it looks like it's seen through the tree. . . That way you can see all the important objects without the the slightly jarring effect of them appearing in front of the tree (and thus looking like they're floating in the air).

You're probably sick of me saying this but thanks again for sharing so early in the process. . .

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #5 on: February 25, 2011, 03:22:54 pm »
Glad the new video, screens, and info are a hit. :)

In terms of the lootable objects, those are something that are only ever created by breaking something else -- killing a monster, breaking an object, destroying a tree, etc.  So in that respect, there are never any that are to be concealed.  On the flip side, of course, the thing-that-is-to-be-broken to create them might be concealed, as things like trees and bushes and desks don't glow. ;)

Note that normally there is actually an object itself to be seen there, and the glow is just something that is drawn on top of the rest of it.  That's pretty much in progress right now.  And you wouldn't normally run into those glowy things just at random; at the moment the robots are busting down trees and each other, which is what is causing that.  Think of these as being like dropped hearts or rupees from killing enemies, breaking pots, or cutting grass in Zelda.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline BobTheJanitor

  • Master Member Mark II
  • *****
  • Posts: 1,689
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #6 on: February 25, 2011, 03:25:03 pm »
I like the idea of drawing simple outlines for things that are behind scenery. That might even be something to consider for the character and enemies, not when just behind a tree, but in areas with tall office buildings in front of you. You could lose yourself back there otherwise. The music is pretty nice in this one too. Sounds like a sort of 'town' theme. Ever since someone linked that extra credits episode about game music a few threads back, I find myself listening for those simple melodies in each tune and realizing how well they work.

I'm sorry to say I'm still cringing a bit when I see shadows going flat over buildings and the sky. Last ditch effort, couldn't the shadow layer be coded to go over the ground, the small vegetation like bushes and grass, and the characters, but under big buildings, large trees and the sky, to avoid this effect? It really throws off the immersion and makes everything looks jarringly 2-D when I notice it happening. I mean I know it is 2-D, but it's not presenting itself as such. This would let you put trees near the skyline without any problems, avoid the shadows being completely lost under the ground cover, and it would briefly stop me from whining, until I find a new thing to whine about.  :)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #7 on: February 25, 2011, 03:35:10 pm »
I like the idea of drawing simple outlines for things that are behind scenery. That might even be something to consider for the character and enemies, not when just behind a tree, but in areas with tall office buildings in front of you. You could lose yourself back there otherwise.

Doing that sort of outline would be fairly tricky, unless we were just drawing the outline all the time such that it would show up in front of things when you're behind buildings, etc.  That's possible I suppose, but I'd like to stay away from that if possible, as it's quite a lot of extra art, and thus extra GPU load, extra RAM, and extra time for me to create every item, monster, and player.

Honestly I haven't had a lot of trouble with getting lost, because you can always just throw off a fireball to clear most things in your way, or at least to send up sparks showing where you are, etc.  There's also just simply not a reason to go behind buildings in most cases, as nothing of value will be seeded back there in the long term.  It's like running through a dark alley if you want to -- it can be a shortcut, but it can be dangerous, too.  You can always just go around.

The music is pretty nice in this one too. Sounds like a sort of 'town' theme. Ever since someone linked that extra credits episode about game music a few threads back, I find myself listening for those simple melodies in each tune and realizing how well they work.

Glad you like it!  That's the wilderness theme.

I'm sorry to say I'm still cringing a bit when I see shadows going flat over buildings and the sky. Last ditch effort, couldn't the shadow layer be coded to go over the ground, the small vegetation like bushes and grass, and the characters, but under big buildings, large trees and the sky, to avoid this effect? It really throws off the immersion and makes everything looks jarringly 2-D when I notice it happening. I mean I know it is 2-D, but it's not presenting itself as such. This would let you put trees near the skyline without any problems, avoid the shadows being completely lost under the ground cover, and it would briefly stop me from whining, until I find a new thing to whine about.  :)

No, it can't be coded to do that.  The sky is the lowest thing in the scene, and the buildings are interspersed with all of the various plants and such.  The only thing the shadows would cover in your example are things like the dirt and road itself (and the sky), but not the plants, characters, other buildings, or anything in the scene.  In other words, for all practical purposes they would be invisible.  Ground cover is drawn higher than buildings in many cases -- the Y position on the screen determines the position of all upright stuff.

The shadows are pretty much final.  I didn't see any going over the sky in this set, I always look for that.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline BobTheJanitor

  • Master Member Mark II
  • *****
  • Posts: 1,689
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #8 on: February 25, 2011, 05:14:41 pm »
The screenshots were fine; I think I saw the sky shadows in this week's video, but I'm going to stop harping on it because I'm starting to annoy myself. Keep up the good work!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #9 on: February 25, 2011, 05:44:50 pm »
Thanks.  ;)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Zhaine

  • Jr. Member Mark II
  • **
  • Posts: 85
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #10 on: February 25, 2011, 06:14:05 pm »
Aye, it's hard to tell due to the compression, but it does look like near the end (1:08 to 1:12) the sky has shadows on it. Not that it bothers me personally that much: I didn't notice until I looked for them :p


Offline KingIsaacLinksr

  • Master Member
  • *****
  • Posts: 1,332
  • A Paladin Without A Crusade...
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #11 on: February 26, 2011, 01:12:45 am »
Gah, quit pointing out stuff, otherwise I'll notice it and that ruins it :P

On a more serious note that is very nice, 5 weeks later to see how its come along.  Very interested to see how this multiplayer works out.  Heck, maybe I can get some people to go for this game as they weren't into AIW (non-RTS-fans), but perhaps this one. 

Keep the updates coming, I enjoy this sort of reading immensely!  :)

King
Casual reviewer with a sense of justice.
Visit the Arcen Mantis to help: https://www.arcengames.com/mantisbt/
A Paladin's Blog. Long form videogame reviews focusing on mechanics and narrative analyzing. Plus other stuff. www.kingisaaclinksr.com

Offline RooksBailey

  • Newbie Mark III
  • *
  • Posts: 45
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #12 on: February 26, 2011, 08:48:30 pm »
Wow!  The game is looking great!  I can't wait to dive in to this new world and start exploring.  I particularly love the snowy terrain  - it looks spot on.

Quote
These windstorm events suck you into the region you're standing on, and involve a huge amount of blowing wind -- and possible rain/snow/sand as appropriate -- along with monsters that are all super-powered and extra prevalent until all characters have escaped from that region.

I love in-game weather, especially when it impacts gameplay!   8)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Week 5 - Multiplayer, The World Map, Regions, and Windstorms
« Reply #13 on: February 26, 2011, 09:24:38 pm »
Thanks!  I'm also a big fan of in-game weather, so I work it in whenever I can. :)  That's why Tidalis had so many themes with background weather, but in AVWW we get to make it so much more a part of what is going on, which I'm excited about.  It's something I'd done back in Alden Ridge, too, but this is so much higher fidelity.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!