Showing posts with label drawing. Show all posts
Showing posts with label drawing. Show all posts

More work on JSRL

After a short hiatus, I have started development on JSRL again. This is the roguelike I entered into the 2011 7DRL competition. Now it is time to complete version 1.1.

At first I am going to go after some low hanging fruit. I will start by allowing navigation with the number pad. That will involve new diagonal moves as well. Then I might internally redo how I draw the maze to the screen. Right now it is very inefficient. I redraw the whole darn thing when something changes. An incremental change will be to redraw the line that got changed.

If I get ambitious, I might try to add an intro screen. Sure I could put some lame text intro screen in there. But I hear you should really rock your user with a cool graphic intro. So let's see how far I get. I will post a link to the new version of the game as soon as I code and test it out.

Progress on my Game

I finally figured out that I needed to use the WriteConsoleOutputCharacter function to get something drawn on the screen. Now I have the power. The rest is mechanics.

So I got a simple startup screen done. And I drew the outline of the maze. Finally I put character symbol on the screen too. I can retrieve keyboard presses. But they just don't do anything yet.

Now for the fun stuff. Time to experiment to figure out how to draw a good maze. That is the main goal of my 7DRL entry this year. I want there to be a bunch of interconnected rooms. The rooms should be random. Let's see if I can get this done by the end of the week.