In UFO – Enemy Unknown you face a serious situation. All the worlds countries have to set aside their disagreements because aliens are attacking the Earth. You first get to decide where are you going to set up your base. You get to build the base. You have money that you can use for research, training and otherwise imnprove your base. When you get to attack against UFOs you get also to missions that happen when an UFO gets shot down. For that you have to have soldiers, guns and you can evenuse tanks.
This game has many different areas. It combines very nicely strategy and action. I am trying not to spoil the game so much in this text since it has some moments in it that can be a bit suprising. I am not going to reveal any more about the plot of this game.
This game was first released for PC in 1994. When I first encountered it it was end of the 90s. This game was for me like candy for a child. That’s about how attractive it was. UFO – Enemy Unknown had many innovations that set it apart from some other strategy games. It also told a story that was full of Science Fiction influences.
I definitely recommend you to get into this game and give it a chance. It is an old game, but it also is a gold game or an oldie goldie if you want to use that term. If you are into DOS games already I can do nothing more than recommend this game. Also if you’re into alien stuff or have even a slight interest in Science Fiction.
Object oriented thinking is a way of modelling real world. Objects have attributes and methods. Attributes are variables. There are different kinds of variables and they always have a type. Different types can be, for example, integer, float, double, string and character. I am talking about Java now which is very good programming language for explaining object oriented thinking. Methods are functions of the object.
So different object can have values, such as Person would have height, weight, age and name. Height, weight and age can be numbers and name is a string or combination of characters. For a role playing game you could a Monster that has values like strength and chance to hit for determining if player is hit and how much damage does the player get.
When there’s types of enemies in our little game they have these basic abilities. So we must create instances of classes to generate more enemies that are of the same type. There are many enemies of a type, for example “ghost” or “zombie”. Player can also have abilities like health, armor class and so on. We can build worlds in thinking like this.
To build a game you need many other things than just object oriented programming. You need textures, 3d-models, sounds, music. and logic for the game to exist. So you can begin programming with Java but you must understand that it is a tool that can be used to create something. Plain Java doesn’t do so much. I have programmed a text adventure game. I still think it’s not a full game. It’s more like piece of code that gives you some output for your input. If you are interested in creating games, rather than playing them, I think you should sharpen your skills inside Blender, Unity and graphics design. And these aren’t only tools there can be.