Gauntlets of Recursion (+3)

Times, trials, and turbulence.

A little red house.

With saving and loading completed, Battleforge takes another step towards completion. For the sake of including a screenshot, below is a incredibly simple ‘map’. As a credit to the ease-of-use of the editor, it took a little over a minute to create.

 bf_img12.PNG

Mini-Maps

The next item on the list is the generation of mini-maps. I’ve been using it in a very buzzword-like manner, so I shall explain.

The general idea is that in-game there is a box on the HUD in the top right-hand corner of the screen where a miniature version of the map will be displayed, showing players, objects, and the surrounding area. The mini-map itself will just be a large static image that will have a rectangular region ‘cut out’ and placed in the HUD box, with players and other dynamic (read: movable) objects being drawn over top of it on-the-fly.

Mini-maps will be generated every time the user saves a map in Battleforge. Eventually I want a single file to contain both map data and the mini-map image, but for now it will be saved as two separate files: a BFM (BattleForge Map) and a PNG containing the actual mini-map image. Since the generator will be shared code, the game will be able to generate the mini-map if it’s not present. The only reason for having it in the editor is because larger maps could take several seconds to generate, depending on the system. It does allow map sharing to be a lot easier, since only the raw map data needs to be sent to players if the host has a map s/he does not, and the mini-map can be created on-demand.

This is the initial plan, so it’s wide open to suggestions, comments, or questions.

Until next time!

Advertisements

2 responses to “A little red house.

  1. zyklon February 20, 2008 at 11:50 pm

    Sounds good. My feeling is that if it can be generated, why not just have it generated each time. What is one to two seconds of loading time? Just have a temp png file. Once everyone has generated the game starts simple. All you need is a loading screen.

    BTW, that house looks good, too bad you wont be winning when we play that map ;).

  2. brian.ripoff February 21, 2008 at 7:56 pm

    Seems like it handles every eventuality, and will work quite nicely.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: