Quite a successful day kicking off the project.
Over my lunch hour I created a couple of tiles to be used with in a tile map. In the evening I set up the project and pulled in my tiny bit of engine code I have. This got me up and running quite quickly.
I have some old code for a tile map renderer that I decided to reuse. It is pretty simple but serves the purpose. This did present a bit of an issue with the frame rate. When I used the save(),clip(),restore() functions from the HTML5 canvas element my frame rate went from a steady 60fps to about 10fps. This happened over a period of a few minutes so something must be building up somewhere. Pragmatic solution was to avoid using the clip routine. It was not needed in this case and I originally put it there so I could render the map so it takes up less then the full canvas area.
I am logging the hours I work on this game. Obviously not all the thinking time but time I actually work on it will be logged. I am attempting to keep times for both art and code seperate.
Day one was always going to feel productive as setting up a new project is the easy part.
No comments:
Post a Comment