donderdag 24 maart 2016

Cross-platform development in Xamarin

The last presentation we received was from Erik van Seters and Ewoud Stuurman from EsperantoXL, a company focusing on mobile solutions for big companies, e.g. NS, Mercedes and DHL. Their presentation was about native cross-platform mobile app development in C with the use of Xamarin's development environment and their experiences with Xamarin.


What is Xamarin?

Xamarin is a software company created in 2011 by the engineers that created Mono: Miquel de Icaza, Nat Friedman and Joseph Hill. The company created Xamarin, a C#-based tool which can be used to write native Android, iOS and Windows apps with native user interfaces and share code across multiple platforms. The company was bought by Microsoft in 2016.

EsperantoXL started with making Proof of Concepts at the end of 2011 with Xamarin and fully started development in 2013.



What is the advantage of using Xamarin?

There is no need to write in different languages for each platform. Xamarin makes use of C# for its back end. This means that the core will always stay the same no matter where the application is exported to. The advantage of cross-platform development is that you don't have to rewrite certain parts of your application for it to be compatible with certain operating systems. Each platform can make use of its native UI while the underlying code is the same, making the applications not only look good on each platform, but also making them more practical.


Hands-on experience with Xamarin

After their presentation, Erik and Ewoud gave us a half-finished application for us to complete. They made a simple application to show the different sets you can have in a Poker game and our job was to make a description page.

Xamarin is easy to use and very friendly towards Microsoft and Android systems. The fact that you need an Apple computer to develop apps for iOS devices was the only big letdown for me. Overall I enjoyed the presentation and working with Xamarin and would like to do so in the future again.

 Please leave a comment below, I would like to hear your thoughts about the presentation.

woensdag 23 maart 2016

Ethics (Lecture by Esther van der Stappen)

March 3rd we had a lecture about ethics given by Esther van der Stappen.

The presentation was started with some key words when thinking about ethics, such as values, social behavior and principles.

We learned about what we should know about ethics. First of all, we need to be able to recognise it and where to look for it. We also need to know which people to talk to in order to solve an ethical issue.

Esther told us about the importance of ethics knowledge, because we will need it whilst writing our thesis. The thesis should include a consideration of ethical aspects (such as sustainability, social issues and scientific research).

When working for a specific target audience, ethics are also importannt. For instance, if you happen to make a film. In this case you will have to consider adding subtitles for the hearing impaired, as there is a big chance that this group will be amongst your audience. Another example is an epilepsy warning for flashing images.

Esther asked us for some examples about ethical issues we had experienced ourselves. Marieke told us about hitting someone's car by accident, and for a brief moment she thought about just leaving the scene. In the end however, she did leave a note with her information and explaining what happened.
We discussed this in the classroom, and wondered why this was an ethical issue. We concluded that this was the case because of  two things: it has to do with others, and it has to do with good and bad.

We then shortly discussed ethics in the news, amongst others fraud, gay marriage and euthanasia.

There are different kinds of ethics, prescriptive (basic principles), descriptive (observe and explain) and applied (specific issues).

Values are goals which are worth it to pursue. Ideals are things like love, compassion,independence, like a general direction in which to live your life. Standards are behavioral rules which describe why some action is or is not allowed.

Some general thoughts about ethics:
- Standards are only effective if there are values. Standards are used to achieve values.
- Morality is subjective, thus different moral systems are equal.
- A certain action is only in someone's interest, if this contributes to their wellbeing, and this is also recognised by the person in question.
- Always try to be un-biased in a scientific investigation.

maandag 14 maart 2016

Javascript Game Development

Today’s we had a lecture by Arjan Egges, an associate professor at Utrecht University. He has done research on a few game technology subjects such as: computer animation, motion capture and medical (serious) games. He also teaches the subjects computer animation and game programming at Utrecht University.

The lecture he gave was about Javascript game programming. He covered the subjects:
  • Introduction to HTML5 and Javascript.
  • Game programming basics.
  • Programming the JavaScript Way.
  • Creating a simple aim-and-shoot game

The subjects he covered were pretty simple to understand for most students, since they already had a course about HTML and Javascript and most students have a few years of programming experience.
Afterward, Arjan showed us the basics of javascript game programming and explained the basic game structure with the help of a prototype. After explaining the basics we had time to make our own game for the rest of the lecture. Which had about an hour left.

Theo and I decided to make a space invaders clone. Of which we only managed to make the basic mechanics. Like moving aliens and shooting.

I personally thought this lecture was a lot of fun. But wasn’t really that useful of a lecture. It only had a small presentation and was for the biggest part making your own game. And because most of the material covered in the presentation was very basic, I didn’t learn too much.
It would be better if more time went into the details and the more advanced games, instead of spending more than half off the lesson making our own game, which we could also do in our own time instead of during class.




woensdag 2 maart 2016

Lecture/Class Gamification

The third presentation we received was from Dr Martijn C. Koops, teacher at the Archimedes Institute of the Hogeschool Utrecht. He is involved in the attempt gamify lectures.
 
Most lectures given today have very little interaction between teacher and student, which leads to students paying less attention in class. This results in lower grades and less information received by students. By gamifying a lecture you can add more interaction, leading to a more active class and ultimately (and hopefully) higher grades.

Dr Koops gave showed us how gamification can help enhance the learning process and showed us a few examples of how this is executed, too.

I personally found this a very interesting and informative presentation on how gamification could help the enhance our learning experience.

woensdag 17 februari 2016

Group motion planning

This week’s lecture was by Arno Kamphuis, who is a teacher at our school. His lecture was about group motion planning. Which was for a part about research that Arno did at Utrecht University.

Using some interesting examples of both some older and some modern game he explained the problems that most games have with group motion planning.

Afterwards he explained what group motion planning is. The definition of group motion planning is the following: ”Given one or more character (NPCs) at a certain start position, find a path for each of these NPCs such that they reach a goal position without colliding with the environment”.

Making a group move from one point to another needs two things. Creating a route, and steering the group. And if you combine these two the right way you can move a group from one random place to another random place in a realistic way.

For calculating routes there is one basic algorithm that a lot of games use. It’s called A*. It works by putting waypoints on the map and calculating how close the waypoints are to the goal and how much it costs to get from the start to the waypoint. If you do this often enough you’ll get a route.

There are faster methods than the basic A* like D* or D* lite but those algorithms are really complex and therefore they are usually not used in games. Which I think is a shame, because there should be more effort in perfecting algorithms like this for time critical applications such as games.

The waypoints that are used for planning a route are usually generated at level creation, because compiling a level for a game isn’t as time critical as playing the game in realtime. By doing this while the level is compiling there are way more options to perfect the waypoints. However, computer generating perfect waypoints is harder than is seems like.  

The second part of group motion planning is the steering. Steering on itself is pretty simple. You have three basic actions that units need to do.
1.       Units need to stay separated from each other(units can’t stand too close to each other)
2.       Units need to stay aligned with other units(this way all units will move in the same general direction)
3.       Units need to stick together(this way single units won’t be left out)
If you combine just these three steering basics with a basic path. You get basic group motion planning. This still has quite a lot of problems and can be optimized a lot.

There are still a lot of interesting problems on the topic of group motion planning that still need to be researched. For example, taking the mood of the units into account while planning or making a more realistic model of which movements a character is able to make.

I personally thought the lecture way very interesting and it gave me a better idea on how group motion planning works. It also made me think about the problems with is that I had never thought about before.




donderdag 4 februari 2016

Week 1 - Organising a seminar

This week, we were visited by Steven Nijhuis. He works at the HU and told us quite a bit about organising a seminar or congress. Steven is a mathematician by origin, but he has a lot of field experience, since he has helped to organise the yearly FNT congress for a few years, and has visited some other events outside of the HU.

During the course with Steven, we managed to get a good overview of the aspects of our assignment.
The seminar is planned to take place on march 18th. We're going to have to decide what specific time frame is most suitable for the intended audience, but the whole day is available (9-5).
A college-room has been reserved for us to use, and this is Collegezaal 3. This room has a capacity of about 175 people. This is something we should keep in mind when we will be inviting people. It would be smart to come up with a way in which we would know if people will really be attending or not, but this also is dependant of the target audience which still has to be determined.

The main idea is to make a fun and informative seminar, so we concluded that it would be a good idea to think about different ways of reaching people. The college-room is very suitable for  'talking suit' presentations, but doing this all day could be a little bit boring. Other important things to take into account are coffee breaks, lunch and moving about (if there will be workshops in different classrooms). Steven also told us that people like to have a choice, so it would be a good idea to have some different activities in different locations at the same time (and maybe switch them around afterwards).

To summarize:
- Seminar about some subject in game technology
- Voluntary attendance
- Enough open time to allow for networking/eating/coffee

Things to consider:
- which target audience(s) are we inviting
- how will we be marketing the event
- how will we know if people are attending
- how will we facilitate the lunch/coffee
- what is the goal and how do we keep it interesting