Posted on 25-07-2008
Filed Under (Plutocracy) by Garoth

OMG Risujin wrote net code! As in, the program can now host servers and connect to servers. As in, you can, like, play with other people!

This is amazing stuff. Obviously there isn’t too much that you can do at the moment, and there will probably be some issues, but wow! This is like gnarly man!

Yeah. Best game ever, I’m telling you. Anyway, screenshots, screenshots.

So I’ve managed to run a local server and connect to myself a few times. I couldn’t wait to do a test with other people, but that’ll happen later today.

As a note, even with all the trees still on all the tiles, my computer managed to handle 3 side-by-side Plutocracy sessions without lagging at all. However, the fourth one did cause some problems. So it managed to handle around 270,000 faces without any problems, which is way more than there will be in an actual game. I don’t expect that we’ll ever have to render more than 100,000 faces at any given point. In fact, I expect that it’ll be considerably lower than that most of the time. So that’s good news.

So anyway, I connected to myself, and renamed one of my clients — oh, by the way, Risujin wrote chat and naming just yesterday.

So then the next thing I did was gather the various clients’ ships.

I had 4 clients’ worth of ships in one area. You can see all the various nations’ colours side by side. As a note, we might want to tweak the colours — looks like pirate and sapphire are too similar in the moonlight. Maybe yellow?

Here is another pretty image of all the ships together.

But then the pirates didn’t want to have anything else to do with the other nations and decided to sail away…

Honestly, this is a MAJOR milestone for the game. Please take time to send your thanks to Risujin. Send him an e-mail or stop by IRC and tell him how much you love him. Don’t be ashamed. (You can reach him via our newsgroup — plutocracy-dev on Google Groups.)

It’s like we have a game or something!

:D

(1) Comment    Read More   
Posted on 20-07-2008
Filed Under (Plutocracy, Blender) by Garoth

Hello,

So as some of you must know by now, the original thematic shift I had in mind didn’t pan out. Anyway, so I made some other designs and this is one that people seem to have liked a fair bit.

So I finished the model over the last couple of days. Here is how it looks in game:

Comments? I think it’s good. We’ve also decided that the ships are allowed to be radically different from each other. That’s probably for the best anyway, makes them easier to tell apart.

Cheers.

(3) Comments    Read More   
Posted on 19-07-2008
Filed Under (Plutocracy) by Garoth

Hello, hello!

Big updates recently. It’s almost like we have a real game! The ships move and we have some more UI. I’ll also talk about some other changes here and there.

So when you start up, you’ll notice now that there is a new button on the bottom left. It’s grayed out though.

Well, anyway, so if you click the flag and join a nation, a ship spawns. When you click on it and select it, the little ship button that was grayed out before lights up.

Clicking on the button will show you a listing of everything that’s being carried on the ship.

Probably the most interesting part — after a ship is selected, clicking on some other water tile will lay down a path for your ship to travel. (Note that it’s a bit wavy because of our triangular tiles. For the moment, we decided we weren’t going to fix the zig-zagging.) Right away, the ship turns the way it’s supposed to go and heads off!

Also, I’ve gotten into the code a bit and tried to improve the screenshot feature (F12) which I use so often. I managed to write a patch that lets you set r_screenshots_dir, a variable that will change where screenshots are saved. I also made a call to display a popup to tell you when a screenshot has been taken. And guess what? I did it all wrong and I bet Risjin’s reprogrammed all of it before applying. Hahaha. Oh well, the features are in at least.

Also, we have a google newsgroup now! If you’re interested in following development, you might want to sign up.

Another unrelated note — my last thematic change design was boo’d down mostly, so I made some new designs. They were much more liked, but I’ll post about them later. I’m hoping to make one of the models today.

Finally, we also decided that our resources system was bloated, so Risujin and I made some changes, which are now reflected on the wiki pages about Buildings, Resources, and the model list.

Yep, big updates. Sadly, however, there probably won’t be another one for a while, since Risujin is being called away to improve his old project, CellWriter, for a few days. Anyway, have a good one folks.

(0) Comments    Read More   
Posted on 19-07-2008
Filed Under (Uncategorized) by Garoth

My university Internet just has crazy speeds. I mean just nuts. By far the best part about living in residence here (which I won’t probably be doing any more after this term) is the insane download rates I can get. I know I’m repeating myself, so have some screenshots instead.

The first two images are thanks to speedtest.net (nice website) and the last image is me downloading a large high quality speed run from speeddemosarchive.com. (Not over the LAN!)

Speaking of which, the latter is a very fun site that has a large collection of speed runs for varies games. My hobby is watching speed runs for games that I’ve either beaten (to see how much people can exploit it!) or watching runs of games that sound interesting but I know I’m never going to get around to playing.

Cheers.

(0) Comments    Read More   
Posted on 12-07-2008
Filed Under (Plutocracy, Art) by Garoth

Hello, I’ll make this relatively short. Basically, Risujin and I have been thinking about switching up the theme of the game a bit. Caribbean is boring. “Lets go for something space-y and imaginative. We’ve so lost our rocker,” we said. Oh boy. Anyway, so as a first order of business, I’ve been redesigning how a ship should look.

The textures will be roughly:

  • Wood for the decks. I’m thinking about a nice dark stain for this one.
  • The wing structure, head, engines will be some sort of metallic, not sure which colour yet. My original thought was a golden-brown, with variation of course.
  • The wing fabric will be very white.

Some ship features:

  • Strong head if we for some reason decide that ships can ram into things, ha!
  • Engines. Yeah. Engines. Frickin’ ion jet engines. Because I say so.
  • Wings that can use wind to help the engines. Not like there is wind, shh.
  • Pretty classic hull design. It fits well into the era we originally drew from.
  • OPERATIONAL NOTE: SHIP DOES NOT FLY! DO NOT ATTEMPT, YOU’LL HURT YOURSELF!

I think I put too much thought into textures. I need to remember that this ship will be tiny. Anyway, this design solves some issues:

  • Looks nice from above (see sloop from above, can’t even tell what it is).
  • Roughly triangular in shape, so it fits better to our tiling system.
  • Cooler style which I’m personally more excited about.

I’ll still have to figure out how buildings fit into this kind of style, but I think I have some pretty good ideas there too.

Construction of the Aurora ship shown above has begun. She’ll be game-worthy as soon as possible.

(1) Comment    Read More   
Posted on 10-07-2008
Filed Under (Plutocracy) by Garoth

Hello, hello!

Exciting updates a plenty, friends. To business.

First thing I want to point out — as in this screenshot — is the new status display. When something of note happens, a notification in a pretty bubble comes up on screen.

Next thing that you should rapidly notice is that there is now more main UI! Yes! User Interface goodness. (Bottom left corner for the observation impaired.) This new bit of UI shows us the nations options, and for the moment lets us switch between them freely, which should be restricted later on as per the spec.

So when you click the Nations button, you get a window with the different nations possible. When you first click a nation to join with, a notification comes up. However, this is a special kind of notification — this one has a little magnifying glass icon. When you click the magnifying glass, the globe smoothly rotates to the area of interest — in this case, the newly spawned ship you own.

You’ll notice in this more zoomed shot that the ship has a pretty little ring around it. This ring shows the unit’s health and armour (for the moment). I’m very impressed that Risujin thought to put the health info in a ring like that. The ring already shows ownership of the unit in a lot of games, but this integrates the health in as well and looks very stylish.

Also note: clicking on the ship will highlight the circle for when you want to move the ship. This is not shown in these screenshots.

Also note that the nations have different colours. These colours are based on the Tango colour scheme — Risujin and I both love Tango, thanks Tango people.

Also there have been some changes to the globe rotation / movement system. I don’t think I ever explained the system too well in general, so here it is:

  • Right clicking on the globe and dragging will move it, as you’d expect.
  • Right clicking-dragging quickly on the globe and releasing will “toss” it. Momentum will then let the globe drift. Think Google Earth.
  • Right click-dragging on space will rotate the globe around an axis that would be coming out through the middle of the globe and the center of the screen. (Ie. x-axis, kinda.)
  • Double right-clicking on a tile will rotate the globe so that it is centered on the tile you clicked.

We think this system is very good. It’s simple because it only requires one button, but lets you have a lot of control over the globe. You can do quite a few tricks and get some nice benefits:

  • You can double right click -> toss (make that you will be able to soon)
  • You can toss the globe, select a unit as it’s “drifting”, and tell the ship to go wherever the globe has rotated to.
  • You can toss the globe and then single right-click to make it stop spinning.
  • You can move over large areas very quickly using throws and small mouse motions.
  • You can position your view very carefully by rotating around the protruding axis described and “manually” moving the globe without tossing it.
  • You can move entirely by double right clicks, and easily focus your view on your little city clusters and ships.

Anyway, thank you for reading. I’m happy to provide these updates to you all. Big thanks to Risujin for all his hard work. This of course, is the normal state of affairs, but we should continue to be grateful regardless of how common-place his magnificent work becomes.

I’ll leave you with some interesting statistics brought to you by git and other console trickery. Note that insertions/deletions is in diff format and tracks “lines changed” really. Some lines are deleted, some are added, some are deleted then added (ie. modified).

  • Diff-format average stats over the last 5 commits: 15.2 files changed, 330.9 insertions(+), 243.6 deletions(-)
  • Diff-format change amounts over the last 100 commits: 231 files changed, 135741 insertions(+), 16466 deletions(-)
  • Diff-format change amounts over the lifespan of the project: 233 files changed, 143994 insertions(+), 0 deletions(-)
  • In all the C files in the source folder (ie. not counting our home-made documentation generator and source parser script), there are 13261 lines of code relevant to the game as a total.
  • In all the C header files in the source folder, there are 1844 lines of code.
(1) Comment    Read More   
Posted on 20-06-2008
Filed Under (Plutocracy, Blender) by Garoth

Hello there folks, I come bearing yet more interesting screenshots today. Right to business then.

First of all, Risujin put in a slight glowing effect with the logo and resized some things. Here is how it looks now:

Another big thing that he’s done is make the tile that your mouse is currently over highlight, and the model on it glow. Here are some images about that:

And when you click on a tile, the game now opens a “ring menu” that lets you choose what you would like to construct there. This work is still incomplete in terms of what will be on the ring and possibly ring size, but I think the idea is clear:

And then when you click one of the icons in the ring, it will place a model on the tile. Obviously in the finished version, things will be constructed more slowly and the models will be textured, but you get the idea:

Also, I spent a while and made a finished-ish Sloop model (textured). Here is the process of selecting and building again, but this time I can select a ship for demo purposes:

And here are some better angles of the ship model:

Well, thanks for reading. Hopefully you found that to as cool as I did. It’s obviously even more fun when you have it live in front of you and can actually rotate and spin the globe. I think we’re all generally pleased about how it’s coming together. I really need to make more models, though, and quick!! :D

Cheers.

(0) Comments    Read More   
Posted on 20-06-2008
Filed Under (Art) by Garoth

Hello there, I would like to publish my concept for how an extrude tool / system could fit into the Inkscape workflow.

Preface

First of all, I think it would be extremely useful to have an extrude system for Inkscape. It would speed up a lot of the issues related to adding nodes to an existing curve. In Blender, I spend a lot of time making low-poly models where I have to pretty much build them vertex by vertex (or node by node if you will). In Inkscape, to do the same kind of thing to extrude just one node, I have to:

  1. Make a line
  2. Use the node tool
  3. Double click on the line near a node to make a new node at that place
  4. Move the original node as desired

I would much prefer to just select a node and hit e to make a new node near it and put select that node.

Similarly, the process I described above gets much more lengthy if I need to extured a line or a more complex shape where I have several nodes. As such, I’ve created some mockups for how this could be done better. It all hindges on the idea of select a node and hit e to duplicate the node near it and put the node into selected mode.

Concept Art

So, here, first of all, is how this would work with a line:

Secondly, here is how it would work with a line or a more complex shape:

I think this system I’ve divised here both fits well into the existing Inkscape code and makes a lot of sense. Thank you to those Inkscape developers and that take the time to read this and consider it.

(0) Comments    Read More   
Posted on 03-06-2008
Filed Under (Plutocracy, Blender) by Garoth

Risujin and I have been working hard as usual and have more progress to show off. Mostly, I’ll just be showing off some pictures as they’ll say more of what people are interested in than explanations of what’s going on would.

So, first of all, Risujin has committed several fixes and now a lot of issues have vanished. He discovered a couple bugs related to the PLUM model exporter (related to normals), the fixing of which has given us correct lighting on the models.

I’ve redone the tree model and made it overall better. That model is in SVN, by the way. Anyway, long story short:

Risujin has also worked his magic some more and improved our performance quite significantly. The face count limit for the models looks like it has stabilized at 300 faces, which is a lot of detail if you know what to do. I hear the game renders over a million faces at 25 fps on Risujin’s computer. :)

So yeah, we have models loading nicely, and some models done! Stay tuned for more exciting stuff coming up.

(1) Comment    Read More   
Posted on 29-05-2008
Filed Under (Plutocracy, Blender) by Garoth

Hello again. I’m getting back into the habit of working on Plutocracy and making blog posts (woo). Here are the updates from the last couple of days.

So, I’ve been doing some art. Here is to showing off.

First of all, I’ve made a (thus far) naked tree. The tree actually has a really detailed texture with bark and stuff, but it actually turns out that when you view it at the size you’d be viewing it in game, it’s pretty much just brown. Anyway, as what you’d be seeing in game sounds like it is more interesting than details that you’ll only ever see on my blog, most of these images will be posted with a bit of distance on them. However, Risujin says that placing models onto the globe is in the pipeline, so I should soon be able to take screenshots with the models in action. Anyway, Here is the tree:

Second of all, another unfinished model is this strange rock I’ve been working on. I haven’t textured it properly yet, so I just made the entire texture grey. Here it is anyway:

Third of all, you may remember recently Risujin added the cool new limbo mode for when you first start up the game. I saw the potential of this and decided to make a new logo, partially inspired by a heraldic wallpaper I have. Naturally, I’m not in the habit of stealing art — so here is how it turned out:

This is actually not how I made it originally, it’s been changed due to some suggestions and complaints I received.

Also, I should mention that the above image was brought to you by Plutocracy’s new screenshot feature. Notice how there is no window around it like normal? Plutocracy can now do the screenshotting for me. For those of you that have this version of the game running, press F12 to take a screenshot. For the moment, there is no kind of confirmation that a screenshot has been taken, so don’t worry. The screenshot should appear in you .plutocracy/screenshots folder. Thanks Risujin, it feels like you made this feature specifically for me. :D

So that’s it for the art updates (this kind of thing takes a while, you know!). I thought some of you might be interested what the texture for the tree actually looks like from a development point of view. The way textures (for Plutocracy and a lot of games) are done is with something called UV mapping. Basically, the model is unfolded as if it were made of paper and laid out flat. Then you paint onto the flattened model and save the file you used. Later, the game can use the unwrapping layout it used and the image file to texture the model. Makes sense, I think.

Anyway, I’m new to UV and pretty sloppy, but here is the tree’s texture:

You can imagine that the flattened model would roughly fill the non-black space.

Anyway, have yourselves great days and I’ll have more updates for you later (probably).

(0) Comments    Read More