My takes on Assignment 6
A downloadable game
First of all a big thanks to our teacher for providing such detailed instructions with examples for Lua. That helped me a lot.
- Game Screenshot
(Figure 1.0 Game screenshot)
- The props of having human readable file
- Human readable files are easy to read and modify for the people outside the engineers group. For example a designer who does not know anything about programming layer can easily modify the files(game assets) without even bothering engineers from sipping their coffee!
- Easy to share and replace without modifying the actual code. No need to modify the code because it is an independent entity.
- My Human readable Geometry file
(Figure 1.1 Geometry file screenshot (Lua file))
How I shaped my decisions while creating it.
So I decided to hit the middle ground by neither keeping it very ambiguous nor specifying too much descriptive.
- First I declare simple indices array with comments that is easy to understand and also the order matters here which I write in the comments.
- It took me a while to come up with the vertices format, order does not matters and I tried to keep them simple in terms of details and decided to not have ID for each vertex and keep them in a separate sub tables.
- I think the current version is kinda fair for any non-programmer guy to understand how to specify or change the geometry data.
- Screenshot of debugging geometry program
(Figure 1.2 showing debugging of geometry builder)
- Took me around 13 hours to complete the assignmnet because I spent 30% of that time in debugging and fixing my bugs.
- My experience
- I spent a lot of time to go through the lua example and that helped me a lot while creating my lua script. As a result I didn't ran into a single issue with lua script it worked right away the first time. Once again thanks to our teacher for providing such good instructions with examples.
- I was very confused about the handles even though I got them working but the class cleared out my confusions.
- One of the points of the class was separating the game logic from creating assets and making them a separate entity. Also to learn making human readable and machine interpret-able assets.
Download
Download
Game_6.zip 178 kB
Install instructions
To Play/Run:
- Unzip and run the exe file.
Controls:
- Arrows to move object
- F1 to F6 for camera movement and zoom
- Control and shift to switch player controller and shape of an object
Leave a comment
Log in with itch.io to leave a comment.