Monday, April 30, 2007

Making One of those Weeks episode 14, part 2

More of Modern Melee Combat has been posted to the repository. The game is playable, but not fully tested. Still, unless I discover a major bug in the next few days, the game will be released this Friday. Being burned in the past when I didn't have an alternative ready, I am going to continue working on my Making of One of those Weeks chapter in this and in tomorrows posts. So, lets get on with the chapter.

As this episode takes place in a forest, we obviously need a way to create a forest. There are at least three ways that this can be done. My three methods are build the forest by hand, import an existing forest, or randomly generate a forest.

Building a forest by hand is time consuming, but not overly difficult. My 3D sequences are actually two dimensional maps extruded into the third dimension. As such, the forest is a simple tile map with three different tiles used to represent different shapes of trees, one tile to represent ground, one tile to represent sand, one tile for the river, one tile for Charles, and one tile for the cave. My Coffee Quest Construction Set was used to quickly build the tile map. That being said, even if the map was truly three dimensional, the task would not have been that much more difficult. The 3D map editor would probably allow tree objects to be placed anywhere. Some ground would have had to be created, but then the placing of trees would work out pretty much the same way as it did for the tile based construction set.

Importing an existing forest is certainly possible. You would have to find a map of the forest that you wanted to use for the game. You would also need to be able to either convert the map into a file format that your game could use or write your game to be able to handle the format that the map data is in. For a game like this, the time saved using an existing map is probably more than offset by the time converting the map. That being said, if your game was set in a real world location and you had legal access to map data, this could be a real time saving way of getting level data for the game.

The final method that I was thinking about was a randomly generated forest. I have done maze generators in the past (see the Ultimate Retro Project Maze and Dungeon Romp games) so I know that this is not that difficult of a task. A random map may add a small amount of replay ability to the game, but it does remove the consistency of the episode. Hand crafting a map gives the designer a bit more control over the flow of the map than any generated map does, but randomness is an option that as a game designer you may want to consider.

Sunday, April 29, 2007

Making One of those Weeks 14, part 1

While Modern Melee Combat is now starting to come together into a playable game, there are no guarantees that the game will be finished by Thursday evening. Still, I am now at the point where the code that I have developed can start to be posted to the ultimateretroproject.dev.java.net repository. I don't want to dump a huge chunk of code all at once, so am going to be releasing the code to the repository in a series of logical chunks. I took so long getting to this point because I had a bunch of different parts of the game partially done. I don't like releasing non-functioning code and don't like bothering with branches unless there is a pressing need to do so. While at the moment it looks like there is a really high chance of meeting the Thursday deadline, I am not going to take chances so over the next few days will be writing the next chapter of Making of One of those Weeks Chapter 14. The rough draft will appear in this blog, so the few of you who care about this eBook will get to read it early. This assumes that the people who care about books on game development would read a blog about game development, but my guess is that covers a number of the eBook's readers.

Episode 14 revolves around navigating through a forest. The auto-map feature was not ready at this time, so the player has to deal with mapping themselves. To aid with self-made maps, there is a coordinate displayed on the top of the display. For those of you who do not want to make a map, below is a copy of the map with a path to the ending location in red.


There are actually two separate goals in this episode. The required goal is to reach a point where you can cross the river. The optional goal is to find the cave. The path in the map above only shows the route to the river crossing. The cave is the grey square. It is not too hard to find on your own. Going to the cave adds to the final score for the episode. This cave is very important in future episodes of the game, though is only acknowledged in this episode.

Friday, April 27, 2007

Flex SDK now Open Source

Yesterday Adobe released their Flex SDK under an open source license. The license they chose was the Mozilla Public License (MPL), which is a fairly common license but is not GPL compatible. The license is more corporate-freindly than GPL, which is probably the reason for this choice. As the Flex SDK has been free since Flex 2 was released, this may not seem like that big of deal. What it does do is confirm that the Flex SDK will always remain free.

For those of you who are not familiar with what Flex is, it is a pure code-oriented way of creating Flash content. Flex projects consist of MXML files which is an XML-based layout language. Putting together a flex application is done in a similar way to creating a web page. That being said, flex supports ActionScript 3, so you can also use the SDK to compile ActionScript files. All of this code can be created in a text editor, though Adobe has a commercial tool called FlexBuilder that gives you a graphical way of putting together Flex applications.

Now that I own a copy of Flash CS3, I really don't need to use the SDK to create ActionScript 3 programs anymore, but I do still plan on keeping my code in separate files so that when I do Open Source my projects, people will be able to use the free Flex SDK to build and modify my code. Having the SDK free gives me added security as I know that if Microsoft does somehow manage to kill Adobe, Flash could still survive without them.

The Flash 9 player is still closed source. As the output of the Flex SDK is a file that requires the Flash player, some people may argue that open sourcing the Flex SDK is nothing more than a gesture. While I personally would like the Flash player to be released as open source as well, I know from my Java experiences that having multiple vendors creating versions of a platform leads to incompatibility problems so I personally don't mind that there is only one official source for the Flash player. That being said, there are open source alternatives to the Flash player, with the biggest one being Gnash which is aiming to be compatible with Flash 7, though I suspect they will eventually support Flash 9.

Thursday, April 26, 2007

Game page look results

Regular visitors to the Blazing Games site will know that I had a poll about the new look of game pages. A couple of weeks ago I posted an updated version of the 13 Spikes game that had a tabbed format breaking different parts of the old game page into separate pages. There is an overview page, an instructions page, a game page, a downloads page, and an articles page. I was thinking about slowly transitioning all the game pages to the new format. Still, being the way I am, I figured that I would ask the site visitors for their opinions. I got very little feedback, so figuring that people don't like emailing me they might respond better to a very convenient poll. I was right.

There were a lot of votes, with most of the votes being the neutral "either" choice. In fact, only three votes were for something other than either. Two of those votes were for the new format. Certainly, the voting results explain why no one emailed me. I suppose this means the change isn't as drastic as I thought it was.

In the future, all the game posts will be using the new format. It will take quite a while for this transition to be completed, though I don't think the transition will be that noticeable as all the more popular projects will transition fairly quickly. I should have started the transition tonight with One of those Weeks tonight, but was already really late posting the site so didn't have the necessary time.

Wednesday, April 25, 2007

Order Pending???

This morning a rental truck appeared in my driveway. "Strange, " I thought to myself while sipping my coffee, "I'm not moving and don't know anybody who is so what is going on?" The driver of the truck then walked to the door and knocked. Answering the door, I discovered that there was a delivery person at the door with my package from Adobe. It appears that there was trouble with his vehicle so he had to use an alternative vehicle while it was repaired. After installing and playing around with the various applications, I decided to check to see if they finally updated my order status on the Adobe site. It was still marked as order pending! My order is here so I am now able to learn CS3 and now own a copy of Photoshop!

I must say that Adobe does a much better job of packaging their software than Macromedia use to. The box is kind of small, but it only contains an overview book (that covers the key features of all the different applications that come in the box) and a DVD case that contains the three DVDs that make up the package. The first DVD is the application disk, the second is a content disk, and the third disk is a video workshop disk. It takes quite a while to install everything, I would guess it took about 45 minutes. No interaction is needed so you can do other things while it runs. Adobe has adopted Macromedia's authorization procedure, meaning that once installed, I had to go online to authenticate my copy and register. If you don't authorize the copy within 30 days, it stops working. Thankfully I never had any problems authorizing my copy.

My overall first impressions of the actual software is good, though the 1GB minimum that they state is probably on the low side if you like to run more than one of the components at the same time. On the other hand, if you tend to only work with one program at a time, 512MB would probably be more than adequate.

Over the next couple of weeks, I will give my impressions of the different programs that make up the package.

Tuesday, April 24, 2007

Still Waiting

I didn't get much done this weekend as Saturday ended up being used for a variety of chores and Sunday ended up being a Earth day family gathering of sorts. Of course, the local garbage dump apparently caught on fire, though that was not confirmed. Some people insisted that it was not the dump, but my Dad (as well as many other people) said it was. I would side with my Dad simply because he really does have a good sense of direction. Needless to say, I didn't get as much work done on One of those Weeks as I hoped. Still, the game should have no problem making Friday's release as the beta is functioning and unless a critical flaw appears before Thursday, I should have no problem getting the final touches done.

Of course, this leads to the Adobe shipping my copy of CS3 to me. Sadly, when I checked the purchase page a few minutes ago it was still marking the order status as pending. However, when I phoned my credit card company to check the status of my credit card, I noticed that the order had been billed to my credit card. As Adobe said that they were not billing credit cards until the order has shipped, I have to assume that the order has gone out but the status has not been updated on the computer. I should know for sure if the package arrives within the next couple of days. If the package hasn't arrived by Friday, then I may start getting really annoyed.

Friday, April 20, 2007

Feedback

The site poll on the new look of the game pages has actually provided quite a few responses. This could be because people don't like emailing strangers, but in this particular case I think it may have been something else. I don't want to skew the results of the poll so I will not speak of the current results, though will do so this Friday.

The more interesting response I got today was an email from Adobe. I am apparently an important customer, but they could find no tracking information for my order. What does this mean? I can think of three interpretations. The first is that they are trying to tell me that they simply have not shipped the order yet. Second, they are saying that my order should have been shipped, but they can't find the shipping information and have no clue as to why it is still marked as pending. Third, they are saying that they are support people in a different country and can only tell me things that have been entered into their system so I am S#$@ out of luck.

As it clearly isn't going to arrive this weekend, so I am going to be focusing on finishing the rest of Day four of One of those Weeks using Flash 8.