Design and documentation journal for my interactive fiction (text games); also reviews and other miscellaneous stuff.

Showing posts with label procrastination. Show all posts
Showing posts with label procrastination. Show all posts

Wednesday, April 13, 2011

Moar Graphics Stuff (Grassland/Weather)

Picture courtesy of sgt fun from flickr (well, I didn't ask, but pic is under creative commons license)
Grassland graphics have been going poorly.  Trees work well as discrete objects - flowers and grass, not so much.  The impression of grass is much more important than actual individual grasses, and I keep missing stuff as I experiment.  The picture above is a good reference; it has about the same ratios as I sketched out for the border - ~1/3 of the way up is the grass line, ~1/2 -2/3 is the tree line, and 1/2-1/3 sky.

It's hard to tell from the original, but I'm guessing that's a field of false sunflowers, or something in that family.  It's really just an impression of waves, in color; I'm hoping if I get enough reference pics, I can get the feel right.  I think the front grasses might be important to give the grass a sense of height, as well; I've been layering "flower" directly over grass, and a front level might help.  Or it might not.  I guess we'll find out.

The flower bit is actually one of those bonus parts; adding it has the *potential* to improve things, but not the guarantee.  Each one of these bonus bits seems barely worth doing, but I'm finding that cumulatively, it's making the difference.  Other such inclusions have included fringes of grass, a glow on the sun, fluffy clouds, and a random bird or two. 


Especially proud of the right-hand cloud.  That is some fine water vapor there.

(Wow.  The sun does *not* look that big in Photoshop.  I think I better dial it back a bit.)

However, as of this moment, there's a moratorium on more pieces until I actually get what I've got working.  No bushes, no flowers, no piles of snow, no whimsical forest creatures - in short, no distractions from what I actually need to be doing.  This decision is made possible by storm clouds that I don't hate with a firey passion.  (It turns out that fluffy white clouds are difficult, but dark ominous storm clouds are impossible.)  The decision is made *necessary* by the three hours I spent creating various lightning layers in an attempt to procrastinate my way out of having to actually knock this thing together.

It is very pretty lightning, though.


I don't even *have* a lightning mechanic.  There is no way for the game to know if it's ever appropriate to display them.  

I am *creating* mechanics in an attempt to procrastinate on working on the game.  

(I believe a wise developer, having recognized this streak of insanity, would have dropped both the graphic and the mechanic.  That . . . was not what I did.  Now there's notes under weather to add a thunderstorm option.)

So this afternoon, Inform willing, I'm going to start layering in summer sprites.  I think it'll be easier to work backward/forward from the summer states, since most of the sprites are pretty constant then, because so many of the trees are likely to be in different spots during the spring/fall, and I'd rather look at green than white, in the case of winter.

Goals for Friday afternoon:
- have the grass layers working for summer
- have all the summer sprites for the trees imported to the canvas editor
- have a case of porter on hand, in case of emergency

I *think* the tree layering will be the most ungodly part of the process.  All the rest - the arc of the sun, the moon phases, the weather patterns - are either things I clearly can imagine the code for, or are already game mechanics.

Trees are tougher, because you've got several different species, each with 6+ layers triggered at different points, and each sprite of those species should have a *slightly* different trigger (or a random trigger within a certain range).  I *think* I know what I'm doing, but if I've messed up anywhere, it's going to be an ugly weekend.

Basically, every species (or subdivision of species - ie, there's four maples, so they each get their own line) is entered into a table, along with the appropriate figure for seasonal subdivisions.  Initially, figure changes are fired by date alone; this mechanic will be preserved in case I need it.  Primarily, this is for testing purposes, but it's got in-game uses as well; it allows for the possibility of skipping large periods of time (ie a month or more) without worrying that half the trees will be transitioning to spring while others are still in fall color.  It also would be useful if I decide to let players pick when they want to start the game; there can just be a blanket graphical set-up, based on the date chosen. 

The other worry with trees is that there will be so many they'll bog down processing speed.  That's not something I'll know until I get in there; it's not easily predictable from the outside.  It could be quick, or I could need to consolidate trees into groups. 

Thursday, March 10, 2011

Graphics Stuff

Cautious optimism about graphic stuff continues apace.  I'm basically thinking a top frame with a landscape made up of various sprites.  I think by layering the sprites and triggering them at different points, I can get a nice landscape that gives the player instant access to a bunch of info.  It's work, but it Fun Procrastination Work, not Maybe I Should Take Up Newt Catching as a Hobby Instead Work. 

Above is a .gif of a maple with its seasonal sprites.  Let me know what you think about the style - it's the first one completed, so there's time to turn back, but only for a narrow window.

Thursday, February 10, 2011

Yay Netflix

Just noticed that there's a subtitles tag on Netflix for some titles.  Hallelujah.  It's even a sans serif font. 

Monday, September 20, 2010

Quick update - fishing


Fishing has turned out to be a load of fun to research, in no small part thanks to the New York Public Library's archive of awesome. Did you know hammerhead sharks used to be called balancefish?

In terms of coding, I am way behind. There are a lot of really boring bits to do, like specifying how the game should put together a fishing pole. Because of the way Inform's set up, verbs with two nouns require a lot of repetitive disambiguation and referencing commands. "Doing something with a fishing pole" only counts for one of the nouns in putting it on, so you also have to write a whole series of commands about putting things on fishing poles. Which, you know, gets really old. I totally understand why this is here, but on the other hand: putting something on a fishing pole *is* doing something with it.

I have, finally, got fishing poles to assemble properly, although not automatically, which is the goal. My original idea was just that the character would rummage up some appropriate items for a crude rod, line, and hook. "But then," I thought cleverly, "what if they want to upgrade to a better rod, or I want to break the line? Those had better be separate parts." Then I looked at it and realized the player might actually try to manipulate those parts - untie a line, or specify which hook to use. And players might use verbs like "tie X to Y" to do so, and "tie" wasn't really equivalent to "put on", and from there was madness.

Now I get to buckle down to the real nuts and bolts of the thing, which I have enjoyed envisioning, but am not so much looking forward to implementing.

(Interesting note: Scientific names have changed a *lot* over the past 300 years. Very few fish have the same genus and species names as they used to. Lots of fish are findable under their common names, though - something they don't mention in biology much. Hopefully that period of reclassification is over, but I'm not holding my breath.)

Thursday, September 9, 2010

Feelie Creation - the trees


Yeah. Trees are not quite what I want, but I am very proud of my gorge, which emerged after a lot of experimentation and pig-headed erasing.

Here's the no-trees one. Hopefully I'll find a tree style that I like, because it's sort of naked without them.
Woot.

Tuesday, November 10, 2009

Procrastinating

Coding's ground to a halt on FTA, largely because I'm afraid to delve into the Issues. I'm not sure where things went wrong, or how to deal with them - there's at least a half dozen potentially fatal flaws, and how do I cope with that?

What I ought to be doing is other things, to keep my hand in, but I'm not. I am playing a spectacular amount of Dragon Age, though.