Monday, September 30, 2013

INFR 3110 Blog entry 3

This week, we learned how to export fbx file to twoloc and use havok tool in Maya 2014 in game engine tutorial. This made us a lot easier to start with the havok homework questions.

Lets talk about how to export fbx file to twoloc first, it was really simple we just need to use the Fbx loader sample in the twoloc engine. When we first time open the fbx sample, we got this:

A crate.
Now we go to Maya and create something. But before exporting, remember to go to Window -> Settings/Preferences -> Plug-in Manager and check the fbxmaya boxes.


After that, we change the crate.fbx to the fbx file you just create.

Then we got this:
but shhh... we didn't put lights in the scene.

And then I added colored material and 3 point light to the scene.

but there's no color...why?

To fix this problem, we go the the folder that containing the fbx file and delete the the .mesh file and the .material file in the Materials folder, they were created when you compile.

Finally we successfully render the fbx scene with lights and material.


Sunday, September 29, 2013

Game Design and Production II Lecture 3

In lecture 3, we discussed about the dramatic elements of games. This is also the first time we had our lecture online using Adobe Connect. The elements that we discussed in the lecture were Challenge, Play, Premise, Character and Story. The function of the dramatic elements is to immersing player into the game.

First, we talked about challenge. A challenge is the obstacle for the player to complete the mission or level. The sense of enjoyment and accomplishment the player get will affect by the player’s skill. Some of the players may feel difficult but some of them may think it’s a piece of cake to the same level of difficulty.
The second thing we talked about is the play. There are 4 types of play named by Roger Caillois:
  1.  Agôn (Competitive Play)
  2. Alea (Chance-based Play)
  3. Mimicry (Make-believe play)
  4.   llinx (Vertigo Play)

Agôn is the competitive play, most type of sport games are count as the play, such as soccer or racing game. Basically, it’s the type of game that allows players compete with others. Alea is the chance based games that totally play by players’ luck like lottery. Mimicry is the domain of imaginative role play. The last type of play is the Ilinx, the example of this would be skiing and mountain climbing games.

Then, premise is the main setting of the game; the things that designers need the plan out and think about. They are the things like time, place, main characters, and objective. Those are the important things that show at the beginning of the game and also push the story forward and make the game’s formal system playable for the player.

Next is the character, it’s about the appearance and the characteristics of the character. Designer needs to think about how they look like, the background of them, and their characteristics, for example what’s their reaction when they face this problem etc…
Finally is the story. It tells players what is going on in the game. A good story can also move players emotionally and clear the objective of the game.

The thing that I have learnt in this lecture is that the game designer always put a lot more effort in the game than we think. Designing a game is not only just telling a story, we also need to plan and decided so much things before we start building a game, unless you want a scribbled game. Even is a NPC in a game, we still need to think about what its functionality is and how should they talk and behave. Designing good dramatic elements for the game can also move the player emotion, let them feel excited and “in” the game.

Monday, September 23, 2013

INFR 3110 Blog entry 2

Today, we had a group meeting in the library and discuss about our GDW game, gameplay, game style, game mode, and etc…We pretty much finished the preliminary development plan and the high concept of our game and moving on to the concept art and art assets list for the modelling class assignment. Below are some information that were being discuss and decided to use for our game:
The name of our game:
Starfish: Battle Royale
J
Starfish: Battle Royale is a party fighting game in the same vein as games such as Rag Doll Kung Fu™: Fists of Plastic, and the Super Smash Bros. franchise. The game will feature several traditional multiplayer game modes such as King of the Hill, Capture the Flag and Team Deathmatch. The game will be geared to more casual audiences and will be easily accessible to most age groups.
Gameplay
Starfish: Battle Royale will feature simple gameplay; players can move, jump and hit each other with a stick/sword/lightsaber. Items in the future may have different effects, however, at this time we will be focusing on the simple mechanic of players being able to hit each other. In the future we also plan to introduce hit-streaks such that if a player gets several consecutive hits without a miss, they will be rewarded.


Levels will feature deadly obstacles that players must avoid, and levels will be designed to accommodate specific game modes.


There will be power-ups and power-downs in levels:
  • Speed up: Increases locomotion speed and hitting speed
  • Slow down: Slows locomotion speed only
  • Ghost: Can’t be hit by anyone, can go through obstacles, but can’t hit or pick up anything

Game Modes
 Protect the King
Two teams of three or more each. One player on each team is designated as the King of that team. The opposing team must kill the king, although they do not know who the king is until the king is hit. First team to eliminate the king wins.
King of the Hill
Object is to stay on top of hill the longest. Other players try to knock each other off the the hill to become king.
Capture the Flag
Capture the enemy team’s flag and return it to your base for points. First to X amount of points wins.
Survival Zombie Tag
One player starts as a zombie. All other players are trying to survive until the end of the round. When a player is hit by the zombie, they also become a zombie. If all players become zombies, the zombies win. Otherwise the last surviving player wins.
Deathmatch
All players are trying to knock out each other for points. The player with the most points wins.
Hunter
A team of players are designated as hunters who hunt the opposing team. The opposing team’s objective is to survive or eliminate the hunters, while the hunters’ objective is to eliminate the opposing team.

Since we don’t have that much time, we will focus on the Protect the King as our main game mode. The rest of them may leave it until next semester.
We also talked about the art style for our game and we got this:

Animal Crossing! Cute…ay?

And all of us did a colour palette for our game, this is mine:



Friday, September 20, 2013

Game Design and Production II Lecture 2

Last week, we learned about the formal elements of games and they were all the elements that were very important to structure a fun game.

Other than the warm-up exercise, the first thing we have learned is the structure of games which included: Players, Objectives, Procedures, Rules, Resources, Conflict, Boundaries, and Outcome. 

Players

Player is the most necessary thing for a game; the participant and the controller. Player is also the "character" in the "story". Without player, a game could not be called a game; it will become only a set of rules or an incomplete story. Player is the controller who needs to follow the rules and achieve the objectives in the game. They usually are given a role by the game creator in most Role-Playing Game or they can choose to be one of the characters in fighting games.
Any type of game need players.
Objectives
Objective is what the player must achieve in order to level up or win the game. Objectives are especially important in objective-based games. For example, the King of the Hill game's objective is to hold the hill for the longest time or to the time requirement. Some of the game seems like they have no objectives (at least for me) like the Tetris. The rule of Tetris is to match the tile and prevent the puzzle reach the top roll and keep doing this forever. According to the wiki definition, “The objective of the game is to manipulate these Tetriminos, by moving each one sideways and rotating it by 90 degree units, with the aim of creating a horizontal line of ten blocks without gaps.”
Therefore, without objectives, there would not be a game called Tetris exist in the world! :)

Objectives of game could be rescue, escape, race, etc... And it's also what bring people fun and have interest in a game. A game without objectives, may make the players feel confused and don't know what to do next and also give players less sense of success. Therefore, a successful game should include objectives. However, there are still some games that without objectives but still became very popular like The Sims series. Since this game have a huge value of additional assets/items/clothes/furniture that can be download or purchase from the internet or create by the players(with the specific software), the items can be as fancy as the players want, so that increase lots of potential playability to the game.

Rules
Rules define where and what players can/cannot do, and how they interact with other objects and characters in the game. The rules of the game basically can make the game more challengeable and playable. It can also keep the fairness of the game between players.

Resources
Resources are the things that the player needs to gather or gain in order to reach the goal. Resources are very important in games that have to collect coins/items to reach the next level or win the game.
Eating pac-dots/pellets to go to the next stage...


Overall, the contents being discussed above are absolutely important in terms of the structures of a game. It’s like building a house; there must be well-prepared materials and elements in order to complete building a safe and comfortable house. Same as producing a game, different kind of elements are required for a well-structured game. As I mentioned above, a game without any elements of structure could not be called a game. A game with good and friendly (easy-to-play) structure will definitely attract gamers’ attentions, not only that, it will also attract or engage those players who are not really the fans of games. From the viewpoint of marketing, well-structured game with the above elements will benefit and raise the sales profits in the industry of gaming.   

Monday, September 16, 2013

INFR 3110 Blog entry 1

This is the first entry for the game engine INFR 3110 course. This is my second time taking Game Engines, so I have some basic knowledge of twoloc engine. Since I'm not the main programmer in my GDW team, I will talk more about my homework assignment progress  in this blog.

This week I was working on the camera controls(Quesstion10) with twoloc engine, I found that the upgraded questions look easier to me. The first person, third person, and the over the shoulder camera are pretty straightforward just five lines of code.

OGRE_CORE->mViewport->setCamera(mCam1);
mCam1->setVisible(true);
mCam1->setDebugDisplayEnabled(true);
camDisplacement = (Ogre::Vector3(0,8,-50) - mCamera1Node->getPosition()) * mTightness;
mCamera1Node->translate(camDisplacement);
This is the first person camera code.

First, you need to toggle the visibility of the camera, then setup the displacement of the first person camera, and then translate the camera with the displacement. Basically the third person and the over the shoulder camera are same with the above code, I just need to change the displacement of the camera to what you want, then attach the camera to the viewport when different key pressed. 

The more challenging part for the upgrade questions I believe its the Fixed Cinematic camera. The upgrade 2 question need to do more math for the displacement and vector stuff, but there are lots of information up on the internet, so we don't need to worry that much.
My  very-rough-fixed-cinematic-cameras view with the frustums.

The problem for me now is the Q10 base question. In this question, what we are supposed to do is "Using Maya, create camera paths and label them as either Interactive or FixedCinematic cameras." We also need to export this information to TwoLOC. Most of the base homework questions required us to export coordinates to TwoLOC which is the part that I have totally no idea with, I will try to figure it out later.

Friday, September 13, 2013

Game Design and Production II Lecture 1

As we have gone through the course introduction of Game Design and Production 2 in first lecture, I have a feeling that this is going to be a super exciting and fun course. The introduction gave me a great first impression which means the contents were interestingly presented and engaging for all students. Professor Nacke also used a very specific way (with minimal texts) to represent what he wants to express in the course introduction. This way of creative presentation absolutely catches students’ attentions. Despite the fact that I am a student who is retaking the course, I still look forward to the refreshing grading system and interesting rules in the course.
The “level up” system in this course is really unique and allows students to make visible progress during the semester. Other than that, I personally think the professor and the TA are working together as a real team to create the best interacting system in the course to engage students in fun ways to learn unlike the traditional teaching and learning system where the professor talks while the students listen. I truly believe this spirit is needed in every modern classroom to engage students in participating but not only listening. Also, everyone gets a “character name” to participate in activities; it not only encourages students to forget who they are, what’s their backgrounds and where are they come from, but also to encourage them to learn as a team without any biases and helping each other out.
I am hoping to see such an active and engaging classroom and hoping to see our marks or feedbacks constantly and quickly from the professor or TA so I will have a lot more chances and time to improve myself in this course within my ‘Zone of Proximal Development’.

3800+ XP points is the requirement to be an A+ character, I find this is going to be a little bit challenging for me. However, I will try my best to achieve the highest level as possible.