Showing posts with label Nights of Lurnia. Show all posts
Showing posts with label Nights of Lurnia. Show all posts

Monday, November 14, 2011

Progress !

Nothing beat fresh new progress ! Phase one complete, I've got my zone. It's not great but it works. But images speaks better than words so here goes :

This is the first try at my basic grid. It's not beautiful yet but at least I can shove things in the screen now. It's made of two classes, a Zone which is a "manager" of Tiles. A manager is a kind of Overlord that watches over the Tiles and assigns them values and executes action. The update and draw method are found here :
What this does is create an array of Tiles and loops through them in the Draw() and Update() method.

The Initialize() method is used to create the instances of Tile and put them in the array. All of this is done by looping through the the rows and then the columns. It's fairly easy but simple once you get the gist of it.

Now I updated it a bit by adding a spritesheet instead of single sprites and the random generation of the map. The functions are found in pictures of course, below :

It loops through the tileValues array(which is the array of integer values representing which tiles to grab from the spritesheet) and puts a random value in it. Then when I draw the tiles, the manager goes through the values in the tileValues and tells the Tile to draw a specific rectangle from the spritesheet.

The result is then :
It's messy but it's cool, I've got a small spritesheet I used in a previous project. I added the cool functionality of randomly changing the map again when enter is pressed. Fun little feature. As always grab a peek at the source here.

Tuesday, November 8, 2011

Title Screen !

Couple of days ago I messed around with Paint.Net because I wanted to have a nice cover for my game, like a splash-screen or a main screen.

It's certainly not final but at least it's a start.


Hehe, it's just an image I took from google image and I added some text. I especially like the font and the contrast with the font color.

I'm also not sure if it's "Nights of Lurnia" or "The Nights of Lurnia". Depending on which one sounds better.

Monday, November 7, 2011

The man, the plan and the plan and the plan and more plans.

Since I want to do things the right way, I decided that the planning phase would take a greater amount of time this time than my usual projects. It's been 3 days since I started this project and I still haven't started programming. I think this is a new record.

I made a small Dev plan and here is what's included :


  1. Generate a map
  2. Make a character
  3. Create the camera system
  4. Implement movement
  5. Make NPC's
  6. Give properties to the tiles
  7. Integrate actions, that is actions you can execute on tiles or NPC's
  8. Start generating screens. The intro, the game scene, options...
  9. Make character screens, inventory/map.
I might shuffle things around so be prepared for an edit. Or just another post.