This week I have made a tileset for the objects and menus of the game. I think I have finished most of the maps for the first level and the animations. I have also changed most of the collision for the objects and doors.
This week I have made a tileset for the objects and menus of the game. I think I have finished most of the maps for the first level and the animations. I have also changed most of the collision for the objects and doors.
This week I have completed most of the maps for the first level, sometimes a lot of editing in photoshop is required to have a nice result. I have also drawn and colored a lot of objects.
Last week, I did a lot of programmings to handle animations in the game. I have created two tools one for the generating the tileset and the XML data of the animation. I had a hard time to make a good algorithm bin packing, so I have decided to not waste time on that and use one that is already implemented:
https://github.com/juj/RectangleBinPack
An example of a sprite packing on 2048×2048 texture.
And the code for one animation:
<a n="anim1"> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="0" ty="1080" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="1920" ty="0" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="51" ty="1080" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="1920" ty="498" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="1971" ty="0" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="102" ty="1080" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="1971" ty="498" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="153" ty="1080" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="204" ty="1080" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="255" ty="1080" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="306" ty="1080" tw="51" th="498"/> <f f="prison-cell-kitchen-no-door" t="80" x="300" y="300" tx="357" ty="1080" tw="51" th="498"/> </a>
Once the animation is generated I need to edit the position and the timing of each frame, so I needed to create a tool to simulate and edit the animation.
This first week I’m figuring things out for the art and also I am trying to find a way to add shadows and light for some maps with SketchUp maybe I will try with Blender or Maya to have more control. I am trying to texture maps without having too much photorealism.
I am also drawing objects for the game and try to make it look hand drawn I think it will make more tries to have something nice.
Starting today I work full time on this game, I have already developed a prototype and written a small script for the dialogs. Most of the programming for the engine but there are still some bugs with the loading of multiple images. The real challenge now is to make the art for the game: sprites, backgrounds, animations and redo the dialogs to make things interesting.
Here are some screenshots of the current build (prototype), most images are taken from picture, and backgrounds are made with SketchUp, As you can see there are a lot of things to do to improve the art (objects and backgrounds).