Wednesday 11 June 2014

Conflict critical reflection

The first group for the conflict presentations was done by an aerial ropeway group. Overall the presentation was done very well, covering the basic types of conflict, triggers to conflict and the many factors that can be added to conflict, such as gender and race. The video was very unique, displaying passionate acting skills on the topic of conflict which made it easy for me to follow on what they're talking about. The main thing that stood out for me is the idea of the treatment of a person can be based on your background, religion or culture. For example, asking for or giving out help and being refused to due to this. I wasn't aware that this could have a great impact on your work, particularly working on a group project. Thus it would be difficult to collectively work on a project if each member harshly judges first appearances from their backgrounds.

The second presentation was done by a suprematist group (Ben and Daming) and the content was on point and well done but how it was delivered wasn't so great. It mainly consisted of reading from slides which really wasn't as engaging compared to the first group, thus using more images would of helped. The video down however was very dramatic, using acting skills to convey their message which was easy to follow.

Saturday 7 June 2014

Adding points to the map, loadings its church scene

Tutorial looking at the additional way of loading levels (from the grid thumbnails) of different churches through clicking a button from the map

Tuesday 3 June 2014

Tutorial of how to add Church levels and respective dates to the grid page

This script allows you to load levels of different scenes of churches by clicking a thumbnail from the grid. The search function helps search for a particular church level you want to load as well by typing its scene name.

Wednesday 28 May 2014

Background image transparency and linking of menu buttons

This chronolapse video shows the process of creating an image with a transparent background (in photoshop). It would then be attached to a GameObject created in Unity and setting the material's shader to a transparent diffuse in the inspector.

Changing into Horizontal bar slider and final search bar

With discussing with the client of the current state of our project and what he wants to add to it, a horizontal bar slider was decided to be put in. This slider bar would control what church would be visible on screen according to date. There would be 2 slider bars, one for maximum date and minimum date. By sliding them, the series of thumbnails shown on the page would organise itself visually corresponding to the date of that church. For the script in creating this, with the help of Stephen, he made a functional slider bar by primarily using: a grid, to allow the thumbnails to be shown on a grid; a filter, to update the grid when the slider bars are adjusted; and a series of variables attached to the slider bar to make it functional.

I decided that I didn't want to abandon of having a search bar that I've worked on for awhile. So I decided to create lines of code that would fit into the new script Stephen had made in making a working search bar. This was done by adding a few lines of code inside the OnGUI function, declaring a variable at the top and by updating the filter function to include filtering strings (images shown below).

Code added in void OnGUI

End result of the slider bar + search bar together. Search bar works with how the scenes of the churches are called from the thumbnails. E.g. if a church's thumbnail's scene is called "Church1", then if Church1 was typed into the search bar, it would update the filter to only show that thumbnail from the grid.

Search bar progress

Initially working on the search bar, I've managed to change the text within the results box into a click-able box by turning the results into GUI.Buttons. After that I came across a few more problems with the issue of how to load respective levels of churches based from the the list of results in the search bar and how to transform the results box into a grid system. The search bar wouldn't be part of something now, but rather has its own page where you have a list of options to choose and click from.

This shows an idea and attempt of what I'm trying to do by loading levels from clicking a result from the search bar.

Also this second image shows what I mean by transforming the results into a grid like structure.

Monday 26 May 2014

Loading Levels

I've created a script where you are able to load different levels of churches. How it works is where a button will be set up in the scene (as a game object) and a script will be attached to it that loads a level in response to clicking it. This Loading levels script is needed to load different churches and the future aspect of adding more churches to the game.

The above script is for the button that will load a specific level when clicked on.

An example set-up of the buttons linked to different church levels

and the result of what happens when you click on the button.

Also this script is used to save a church level that will be used from the script used for the button, so that it'll know which level to load. In addition, by working with multiple levels, the different levels has to be added to the build settings, else Unity wouldn't be find the level as well.