This is my 10th blog for game engine, and i think it's the last blog post for this year. Although I already got enough exp for the final exam, I still want to get more marks to increase my final grade, so I was working on more homework questions last week.
Question 10 seems like a pretty good one and an interesting question, therefore I started working on the Interactive and Fixed Cinematic camera. Since the base question required us to export path from Maya, I can only implement them using the ogre animation class. One thing I had worry about at the beginning is to switch between different animation tracks. I declared two animation tracks and tried to switch them when user input from keyboard. I did check the code several times then I ran the program after I thought it was perfect but it was certainly not working in the way I expected. In the following two hours, I kept checking the part where I get the locators and create the animation but I could not find anything wrong.
I thought the problem was from the animation part but I finally realized that it wasn't. The animation didn't change after I pressed the key. I then compared the code to my previous works and I found that I missed these two guys:
OGRE_CORE->mMouse->setEventCallback(this);
OGRE_CORE->mKeyboard->setEventCallback(this);
Small things can cause big and major problems. After I put keyboard handles in the enter function, everything worked as I expected. This also reminded me that I made the same kind of stupid mistake last year.
I think the fun part of question 10 is to implement numbers of fixed cinematic cameras and make them work together. I thought it was very hard, but after trying several ways I found that I could simply make the camera focus on the character by updating the lookAt point of the camera.
Ogre::Vector3 lookAt = Ogre::Vector3(0,10,0) + bearNode->getPosition();
Where bearNode is my character node, I added a vector to the character position to make it looks more cinematic. Before using the getPosition(); function, I used a position vector instead, I realized that I can only get the position directly from the node to update the camera, otherwise the camera would keep looking at the starting position of the character and won't be updated after the character is being moved. This was the second stupid mistake I have made when doing question 10.
Sunday, December 8, 2013
Sunday, December 1, 2013
PVP Fight 2
Mackenzie Sturrup's Mincemeat Mind Review
Playing Time
Mackenzie's portal puzzle is a pretty complex and interesting puzzle level, plus that I am not really good at playing portal, I took a quite long time to solve the puzzle. Although I asked for many help and tips from Mack, I still found this puzzle fun and playable. Solving the puzzle takes longer than 20 minutes for me but I think it only takes approximately 5-10 minutes for a normal portal gamer. Therefore, I think this game still obtain a good amount of time to challenge the player, without frustrating them.
Puzzle Complexity
This puzzle uses a variety of mechanics in a mentally stimulating and satisfying way. At the beginning, the puzzle set up 3 turrets at the other side of the room, and there are pedestal button and a Edgeless Safety Cube Receptacle placed beside the turrets. First thing you have to do to solve this puzzle is grab the Edgeless Safety Cube up from the basement floor, the stair to downstairs is tricky, once you jump down to the basement, you have to find a way how to get back upstairs. After dropping 2 turrets, player needs to make a portal on the wall behind the only left turret, then go to the back of the turret and jump up to the second floor and place the Reflection Cube to the right place in order to trigger the last gate to the Door.
Puzzle Solvability
Puzzle is challenging, but solvable after thinking for a bit. Almost the entire level are constructed with un-portal-able wall, while you jumped down the stairs to basement, you need to think a bit on how to get back when the only portal-able wall is placed very high player better make a portal before they jump. The other challenge that made me so impressive when I was placing the Reflection Cube. I have to make two portals on the wall at very accurate places to reflect the laser from the Laser Emitter in order to get another Reflection Cube.Solving this problems are actually making it feel rewarding.
Use of Logic Gates
Multiple logic gates are used in this puzzle, and Mackenzie did complement the puzzle in interesting ways.The part I like the most in this puzzle is the two of the three turrets drop down into water when the pedestal button being pressed. During the first time I play, I had no idea what the button does, after Mackenzie showed me, I felt this is a very interesting way to do so. The part that player have to jump with the Faith Plate required some skills, this also took me some time to do. The other impressive part of the level design is that at the very last end challenge of the puzzle is to remove the Reflection Cube from the trigger to open the last gate to the door. This also made me feel a bit rewarding while I took time to think of how to solve it.
Design considerations
Again, my favorite part of dropping down the turrets when the button pressed make me feel pleasantly surprised after I knew that. I like this design consideration very much, although I can never notice that before Mack told me. The laser placement I think is the part took me the most time to solve, and also took Mackenzie pretty much time to design. I like the way that player spend lots of time on thinking how to solve the puzzle while the level designer puts a lot more effort on how to make you confuse and do critical thinking, this was pretty amazing.
Recommendations for future improvement
I think this portal level is very perfect at least for me. If I have to say, the only thing that could be improved is that the trigger placement made the player running too much. They are too far away from each other and took me some times for just running.
Playing Time
Mackenzie's portal puzzle is a pretty complex and interesting puzzle level, plus that I am not really good at playing portal, I took a quite long time to solve the puzzle. Although I asked for many help and tips from Mack, I still found this puzzle fun and playable. Solving the puzzle takes longer than 20 minutes for me but I think it only takes approximately 5-10 minutes for a normal portal gamer. Therefore, I think this game still obtain a good amount of time to challenge the player, without frustrating them.
Puzzle Complexity
This puzzle uses a variety of mechanics in a mentally stimulating and satisfying way. At the beginning, the puzzle set up 3 turrets at the other side of the room, and there are pedestal button and a Edgeless Safety Cube Receptacle placed beside the turrets. First thing you have to do to solve this puzzle is grab the Edgeless Safety Cube up from the basement floor, the stair to downstairs is tricky, once you jump down to the basement, you have to find a way how to get back upstairs. After dropping 2 turrets, player needs to make a portal on the wall behind the only left turret, then go to the back of the turret and jump up to the second floor and place the Reflection Cube to the right place in order to trigger the last gate to the Door.
Puzzle Solvability
Puzzle is challenging, but solvable after thinking for a bit. Almost the entire level are constructed with un-portal-able wall, while you jumped down the stairs to basement, you need to think a bit on how to get back when the only portal-able wall is placed very high player better make a portal before they jump. The other challenge that made me so impressive when I was placing the Reflection Cube. I have to make two portals on the wall at very accurate places to reflect the laser from the Laser Emitter in order to get another Reflection Cube.Solving this problems are actually making it feel rewarding.
Use of Logic Gates
Multiple logic gates are used in this puzzle, and Mackenzie did complement the puzzle in interesting ways.The part I like the most in this puzzle is the two of the three turrets drop down into water when the pedestal button being pressed. During the first time I play, I had no idea what the button does, after Mackenzie showed me, I felt this is a very interesting way to do so. The part that player have to jump with the Faith Plate required some skills, this also took me some time to do. The other impressive part of the level design is that at the very last end challenge of the puzzle is to remove the Reflection Cube from the trigger to open the last gate to the door. This also made me feel a bit rewarding while I took time to think of how to solve it.
Design considerations
Again, my favorite part of dropping down the turrets when the button pressed make me feel pleasantly surprised after I knew that. I like this design consideration very much, although I can never notice that before Mack told me. The laser placement I think is the part took me the most time to solve, and also took Mackenzie pretty much time to design. I like the way that player spend lots of time on thinking how to solve the puzzle while the level designer puts a lot more effort on how to make you confuse and do critical thinking, this was pretty amazing.
Recommendations for future improvement
I think this portal level is very perfect at least for me. If I have to say, the only thing that could be improved is that the trigger placement made the player running too much. They are too far away from each other and took me some times for just running.
Crafting a Dekonstruer 2
This time, I would like to identify the game design atoms of another game: Uno, and how they work together to form a complete and enjoyable experience for me.
Players
Uno is a multiplayer card game that can be play with up to 10 but at least 2 player. Each of the player gets 7 cards to start with 0 score in the beginning.
Objectives
To win a game, players need to play all of their cards in hand before other player. It's to Get rid of all a player's cards while preventing other players get rid of their cards. Also the player scores points for cards left in his/her opponent's hands.
Rules
At the very beginning, player flip a card from the top of the deck then match the color or number of that card to start playing. Player take turns to play a card in clockwise unless a Reverse Card has played by any player. Players have to call "Uno" before they play the next-to-last card, or they get penalty of drawing two cards from the deck if they failed to call. Players need to follow the instruction shown on the wild card while they were played by any player. When player plays a Wild Draw Four card, the next player will have a chance to challenge the previous player if holding any card of previous number or color. The one who makes mistake has to draw two cards from the deck. Other than that, players also need to draw a card if they have no matching or they have a wild card as their last card in hand.
Resources
The only resource in Uno would be the deck with 108 cards. Players draw from the deck whenever they have no matching or the previous player played a "Draw" card.
Game States
Game states will be shown as the player who plays a wild card. The number cards with colors have less effects to the game states since player just try to match the card number or color with the cards in hand. However the Wild cards change the actual mechanics of the game. Wild cards also represent the game states and here are some wild cards functions:
Information
In Uno, the cards player played become the only visible information in game. The content of all the cards that have distributed to player's hand are their private information. And certainly, other players’ cards in hand are the information are private to each other. The cards in the deck are hidden but they will become your privileged information once you draw them from the deck to your hand.
Sequencing
Uno is a turn-based game with no time limit at all. Game starts with clockwise at the beginning and the order reverses whenever any player played a Reverse card.
Player Interaction
There are direct conflict between each player and the player next to them. When someone plays a wild card, the card affects the next player directly.
Theme
Shout out "UNO!"
How they work together
In Uno, the rules do really affect the other atoms, since this is a card game. The resources player get always affect by the objective and mechanics of the game, because the player has to draw cards (getting resources) when player played "Draw" card. By drawing more cards, it prevents the player to win the game since the goal of Uno is to clear the cards on your hand faster than others. Game states and rules are affecting each other, since the wild cards functions are defined by the rules where players have to follow the cards in order to form a game. Player interactions change the game states by playing out different kind of cards, and the rules change the sequence between player buy the Reverse card rule. Therefore, the rules do also affect the sequencing of the game indirectly.
Players
Uno is a multiplayer card game that can be play with up to 10 but at least 2 player. Each of the player gets 7 cards to start with 0 score in the beginning.
Objectives
To win a game, players need to play all of their cards in hand before other player. It's to Get rid of all a player's cards while preventing other players get rid of their cards. Also the player scores points for cards left in his/her opponent's hands.
Rules
At the very beginning, player flip a card from the top of the deck then match the color or number of that card to start playing. Player take turns to play a card in clockwise unless a Reverse Card has played by any player. Players have to call "Uno" before they play the next-to-last card, or they get penalty of drawing two cards from the deck if they failed to call. Players need to follow the instruction shown on the wild card while they were played by any player. When player plays a Wild Draw Four card, the next player will have a chance to challenge the previous player if holding any card of previous number or color. The one who makes mistake has to draw two cards from the deck. Other than that, players also need to draw a card if they have no matching or they have a wild card as their last card in hand.
Resources
The only resource in Uno would be the deck with 108 cards. Players draw from the deck whenever they have no matching or the previous player played a "Draw" card.
Game States
Game states will be shown as the player who plays a wild card. The number cards with colors have less effects to the game states since player just try to match the card number or color with the cards in hand. However the Wild cards change the actual mechanics of the game. Wild cards also represent the game states and here are some wild cards functions:
- Skip - skip to the next player's turn
- Reverse - reverse the order of play
- Wild - player who plays this card can decide what color to be matched next
- Draw Two - next player draws 2 cards
- Wild Draw Four - next player draws 4 cards but has a chance to challenge if the previous player had any card that can match the previous number or color
Information
In Uno, the cards player played become the only visible information in game. The content of all the cards that have distributed to player's hand are their private information. And certainly, other players’ cards in hand are the information are private to each other. The cards in the deck are hidden but they will become your privileged information once you draw them from the deck to your hand.
Sequencing
Uno is a turn-based game with no time limit at all. Game starts with clockwise at the beginning and the order reverses whenever any player played a Reverse card.
Player Interaction
There are direct conflict between each player and the player next to them. When someone plays a wild card, the card affects the next player directly.
Theme
Shout out "UNO!"
How they work together
In Uno, the rules do really affect the other atoms, since this is a card game. The resources player get always affect by the objective and mechanics of the game, because the player has to draw cards (getting resources) when player played "Draw" card. By drawing more cards, it prevents the player to win the game since the goal of Uno is to clear the cards on your hand faster than others. Game states and rules are affecting each other, since the wild cards functions are defined by the rules where players have to follow the cards in order to form a game. Player interactions change the game states by playing out different kind of cards, and the rules change the sequence between player buy the Reverse card rule. Therefore, the rules do also affect the sequencing of the game indirectly.
Blog Quest 2: Design your game item
The game that I designed a new item for is Temple Run. This is a cell phone game that has no end for running until you die...I mean the player character. The objectives of this game are to gain coins, run further, and get high score. There are several objectives you can choose to see before you start a new run. The goals will change higher in terms of difficulty after every time you reach one. During the run, you need to collect the coins that someone dropped on the floor as much as possible to achieve the goals. The more coins you get and the more far you can run, and then gives you higher score. You can buy different characters in the store with the coins you have earned to access the different abilities between each of them.
The item that I designed for this game is a pair of "Despicable Shoes".
New Mechanics
How This Changes the Game
This design basically changes the strategy on how player run in the game. Before adding the item, player would only just run and get whatever they can get that are floating on the floor as many as they can without too much thinking. However, after putting this design in, the player needs to consider they should get this or not depending on their goal in this run. Players who aim to get more coins to achieve the goal or to buy a new character probably want to grab this, otherwise they should try to avoid this power up to maintain their speed. This also makes the game to offer different varieties of functions. Temple Run only has coins to grab originally, but this provides player another choice or way to play the game. Despicable Shoes also let players do more thinking in a very short time, it gives player more challenges to play this game.
| Triple the coins! |
![]() |
| Despicable...Shoes!? Maybe they look like this. |
New Mechanics
- Slow down the player character running speed to very very slow
- Triple the coins you can get
- Time limited
- Coins always near this trigger in certain distance
- Speed will not decrease and return to normal if player get this during a speed up state
- this power-up will only appear after player ran a certain distance, essentially a "higher level power-up"
How This Changes the Game
This design basically changes the strategy on how player run in the game. Before adding the item, player would only just run and get whatever they can get that are floating on the floor as many as they can without too much thinking. However, after putting this design in, the player needs to consider they should get this or not depending on their goal in this run. Players who aim to get more coins to achieve the goal or to buy a new character probably want to grab this, otherwise they should try to avoid this power up to maintain their speed. This also makes the game to offer different varieties of functions. Temple Run only has coins to grab originally, but this provides player another choice or way to play the game. Despicable Shoes also let players do more thinking in a very short time, it gives player more challenges to play this game.
Grind Quest: Skills, Goals and Feedback
Temple Run
Types of feedback:
There are three main goals in this game: gaining certain value of coins, run as far as you can, and getting high score. If you run more meters the score will increase immediately at the top right, so that the player will know how far they ran and how many have left to achieve the goal. The other goal is to run as many meters as you can, we can know that while the points increase, more points means more meters you have ran. The coins number shows at the right top under the score, while player grabbed up coins the game will have some animations showing the coins go to the yellow bar at the top left, after the bar is fulled your character can get a power up of running faster than normal.
Types of skills required:
Types of feedback:
- Score points
- coins
There are three main goals in this game: gaining certain value of coins, run as far as you can, and getting high score. If you run more meters the score will increase immediately at the top right, so that the player will know how far they ran and how many have left to achieve the goal. The other goal is to run as many meters as you can, we can know that while the points increase, more points means more meters you have ran. The coins number shows at the right top under the score, while player grabbed up coins the game will have some animations showing the coins go to the yellow bar at the top left, after the bar is fulled your character can get a power up of running faster than normal.
Types of skills required:
- reaction effectiveness
- concentration
Cookie Clicker
Types of feedback:
- Cookies in bank
- Cookies you can earn per second
- number of you buildings
- cost of the new building
Objectives of this game is to produce as many cookies as you can and buy more buildings to help you earn more cookies. When first time to play this game, the number of cookies in hand shows right above the cookie you click. The number only increases after you clicked the cookie. Once you bought something at the right column to help you earning cookies, the number of cookies will increase automatically by itself and the per second feedback showing under the cookies number will also increase to let player know how helpful are the buildings they bought. The numbers of building and their costs has show at the right hand side to let player keep in mind how many building they bought and consider what they are going to buy next.
Types of skills required:
- resources management
- fine motor skills
- persistence
Flight Control
Types of feedback:
- Aircraft landed
- Highest Score
To win this game, player has to land as many aircraft as he/she can avoid crashing them and getting higher score. Basically, your score is the same as the aircraft you landed, so while you are playing the game you can easily compare the score you currently have and the highest score. The game also shows feedback after you landed a plane perfectly to let player knows he/she got points. Number of aircraft landed increases when player landed a plane.
Types of skills required:
- concentration
- reaction skill
Other types of skills people enjoy that I could incorporate into the games I design are critical thinking and observation. By incorporating these skills I can make my game more playable and interesting. Players always enjoy the sense of achievement after they have spent time and thought deeply on how to solve the problem or win the game. Therefore, incorporating the skills of critical thinking and observation can let player be more passionate and last their interest longer although designer have to do much more critical thinking and observation than the player.
Thursday, November 28, 2013
INFR 3110 Blog entry 9
This week, I have been working on the question 9 of homework question. After finishing the base question, I will have enough 40 exp for the final exam, but I would still looking forward for more exp to increase my final grade.
Q9) Inventory System Mini Game: Implement a triggering system that lets you collect objects when your character hits them.
I think the most difficult part of this question is the collision between character and objects. Fortunately, we got an example of ray picking from the twoloc engine and we can find some clue on how to do the collision in this sample. In the ray picking sample, we can find that it created ray to check if the mouse had clicked on any entity by normalized the mouse input. After ray created, we can then createRayQuery to store the items into the query then find and return to the closest one.
float xNorm = OGRE_CORE->mMouse->getMouseState().X.abs /
float (mCam->getViewport()->getActualWidth());
float yNorm = OGRE_CORE->mMouse->getMouseState().Y.abs /
float (mCam->getViewport()->getActualHeight());
Ogre::Ray lMouseRay = mCam->getCameraToViewportRay(xNorm, yNorm);
Basically, the pickObject(); function in the ray picking did the most part of collision for question 9 base. For the ray function, we can use the object's position and direction to fire the ray. We just need to change the way where the ray being created. To do so, I searched and found some very useful material from here. In this website, we can learn how to detect objects when you shoot out fire.
Ogre::Ray::Ray (const Vector3 & origin, const Vector3 & direction)
Q9) Inventory System Mini Game: Implement a triggering system that lets you collect objects when your character hits them.
I think the most difficult part of this question is the collision between character and objects. Fortunately, we got an example of ray picking from the twoloc engine and we can find some clue on how to do the collision in this sample. In the ray picking sample, we can find that it created ray to check if the mouse had clicked on any entity by normalized the mouse input. After ray created, we can then createRayQuery to store the items into the query then find and return to the closest one.
float xNorm = OGRE_CORE->mMouse->getMouseState().X.abs /
float (mCam->getViewport()->getActualWidth());
float yNorm = OGRE_CORE->mMouse->getMouseState().Y.abs /
float (mCam->getViewport()->getActualHeight());
Ogre::Ray lMouseRay = mCam->getCameraToViewportRay(xNorm, yNorm);
Basically, the pickObject(); function in the ray picking did the most part of collision for question 9 base. For the ray function, we can use the object's position and direction to fire the ray. We just need to change the way where the ray being created. To do so, I searched and found some very useful material from here. In this website, we can learn how to detect objects when you shoot out fire.
Ogre::Ray::Ray (const Vector3 & origin, const Vector3 & direction)
For the position, we just simply characterMesh->getPosition(); but for the direction we have something needed to be work on.
Ogre::Vector3 direction = Ogre::Vector3(Ogre::Math::Cos(mMechDirection),0,Ogre::Math::Sin(mMechDirection))
This is what we can find from the above website, to get the direction of a moving character we have to cosine the x and sine the the z. But if we just put this directly to our pickObject function, your character will pick up all of the the items through the ray remotely before it actually touches the object. We need to shorter the ray!
Ogre::Vector3 direction = Ogre::Vector3(Ogre::Math::Cos(0),0,Ogre::Math::Sin(bForward));
While the y axis is going upward and downward, we can just ignore it and put a zero for it. Then depend on which direction your character is facing to, we change the x or z value to the variable where you declared how much the character move forward. Finally, I can pick up the items when my character hits them rather then grab them up by ray.
Wednesday, November 27, 2013
PVP Fight
Mackenzie Sturrup's Tectonic Shifting Device Review
Trigger and Enemy placement
When I first entered the level, I saw some spiny objects moving around and I can easily realize that those are the enemies of the level. Enemies are floating in balance around the level. When the player character approaches them and touch them, player will lose 1 health. By running through the level, player can also see there are some pink cubes that distributed around the level, the cubes were collectible and player were supposed to collect all of them in order to open the exit. Therefore, in terms of the trigger and enemy placement, I think they were placed at key locations in the level.
Challenge and Progression
At the beginning, there were only enemies to be killed and cubes to be collected, enemies can be killed by shooting several times, and this gave moderate challenge to player. By more exploration, I can find that other than the collectible and enemies, this game also featured with sliding platform. The platform not only made the game more interesting, but also gave player more challenges. Therefore, this game has a progression of difficulty, easier at the beginning and more challenging towards the end.
Design considerations
When I first played this game, when player has to use the mouse to click in order to shoot out bullets, I felt this design is quite inconvenient. While controlling the character direction with keyboard arrow keys or WASD keys with my right hand, I am lack of coordination to use my left hand shooting with mouse. I think this design may be much more suitable for left hand writer while I am not. The other design consideration would be the problem about the collectible; even though player collected all the cubes, the game did not show an ending. I think this part is lack of design consideration and can be improved simply by showing an ending text on screen.
Recommendations for future improvement
For improvements, I think the designer can add some direction notes for player. The game did not give player direction when they were supposed to jump down to the very lower level. This may make player confuse where they should go. Create an exit or a simple door, or text to let the player know that the game is ended, this is also very important to make this game more complete. At the very beginning, I recommend to notice player the aim of the game which is to collect all the cubes in order to win the game.
Trigger and Enemy placement
When I first entered the level, I saw some spiny objects moving around and I can easily realize that those are the enemies of the level. Enemies are floating in balance around the level. When the player character approaches them and touch them, player will lose 1 health. By running through the level, player can also see there are some pink cubes that distributed around the level, the cubes were collectible and player were supposed to collect all of them in order to open the exit. Therefore, in terms of the trigger and enemy placement, I think they were placed at key locations in the level.
![]() |
| I really like the main character model, it was very detailed and animated where my character doesn't... |
Mechanic Design
The objective of this sidescroller game is to collect all the pink cubes in order to win the game. Player character has the ability of shooting bullets from his gun. The enemies have certain amount of health, so that the player can't kill them in one shoot. While the player character got hit by enemies too many times, player lose and have to restart from the beginning. The level did not provide any power up for health support, so player can only depend on the original health points. After playing for a few minutes, the game reach to the end of the right side, player had to jump down to the much lower platform and pass a sliding platform. However, the game has to be ended beyond this point, since every time when I was on the sliding platform and almost arrive the other side, I will fall down through the platform. In all, Mackenzie's game has an interesting core mechanic that is used competently.At the beginning, there were only enemies to be killed and cubes to be collected, enemies can be killed by shooting several times, and this gave moderate challenge to player. By more exploration, I can find that other than the collectible and enemies, this game also featured with sliding platform. The platform not only made the game more interesting, but also gave player more challenges. Therefore, this game has a progression of difficulty, easier at the beginning and more challenging towards the end.
Design considerations
When I first played this game, when player has to use the mouse to click in order to shoot out bullets, I felt this design is quite inconvenient. While controlling the character direction with keyboard arrow keys or WASD keys with my right hand, I am lack of coordination to use my left hand shooting with mouse. I think this design may be much more suitable for left hand writer while I am not. The other design consideration would be the problem about the collectible; even though player collected all the cubes, the game did not show an ending. I think this part is lack of design consideration and can be improved simply by showing an ending text on screen.
For improvements, I think the designer can add some direction notes for player. The game did not give player direction when they were supposed to jump down to the very lower level. This may make player confuse where they should go. Create an exit or a simple door, or text to let the player know that the game is ended, this is also very important to make this game more complete. At the very beginning, I recommend to notice player the aim of the game which is to collect all the cubes in order to win the game.
Monday, November 25, 2013
INFR 3110 Blog entry 8
This week, I have been working on the mesh morpher and the myGUI system. In the morph targets question, we need to morph at least mroph 5 targets and they should be move continuously back and forth. In the nice ogre library, we can do it in a very straight forward way by using the function softwareVertexMorph().
entity->getMesh()->softwareVertexMorph(t,morphTarget1,morphTarget2,targetVertexData);
Where t is how much you want to morph in time, morphTarget1 is the original mesh data, morphTarget2 is the mesh data that you want to mroph to from the original mesh, and the targetVertexData is the target mesh data that you want to apply this morph to. Therefore, the mrophing action will apply on the third object and it has to apply on a third object, otherwise errors will occur. and this third mesh has to have the same number of vertices with the original mesh and the target mesh, or they have to by edited from the same model.
To upgrade the morph question, we need to use myGUI to select different object and morph between them depending on the user input. Since we already had a tutorial about how to use myGUI layout editor to create myGUI window, we can do it very quickly.
The other homework question that required myGUI in a major part is the inventory system where we have to collect the items and have a preview of the item in 3D, spinning. This is the most difficult part for me and I have to figure it out as soon as possible before the homework question deadline.
entity->getMesh()->softwareVertexMorph(t,morphTarget1,morphTarget2,targetVertexData);
Where t is how much you want to morph in time, morphTarget1 is the original mesh data, morphTarget2 is the mesh data that you want to mroph to from the original mesh, and the targetVertexData is the target mesh data that you want to apply this morph to. Therefore, the mrophing action will apply on the third object and it has to apply on a third object, otherwise errors will occur. and this third mesh has to have the same number of vertices with the original mesh and the target mesh, or they have to by edited from the same model.
To upgrade the morph question, we need to use myGUI to select different object and morph between them depending on the user input. Since we already had a tutorial about how to use myGUI layout editor to create myGUI window, we can do it very quickly.
The other homework question that required myGUI in a major part is the inventory system where we have to collect the items and have a preview of the item in 3D, spinning. This is the most difficult part for me and I have to figure it out as soon as possible before the homework question deadline.
Friday, November 22, 2013
INFR 3110 Blog entry 7
This week, I went over the homework question 1 and finally found a way to export keyframes from Maya to Twoloc successfully. To do that we first need to load a fbx file in Ogre and we can simply just grab the code from the fbx loader sample in twoloc engine.
std::string lFilePath = TOOLS::GetEnvPath ("TwoLoc_PATH", "\\Samples\\Resources\\Models\\cameraPath.fbx");
std::string lMaterialPath = TOOLS::GetEnvPath ("TwoLoc_PATH", "\\Samples\\Resources\\Materials\\");
TwoLoc::OgreSceneInfo lInfo(mMgr);
TwoLoc::OgreFbxLoader lNewLoader(lFilePath.c_str(),
&lInfo,
NULL,
lMaterialPath.c_str());
Although I tried very hard to use the directory of the homework question project to keep it neat, I just felt so annoying to fix the path errors, so I put the fbx and the material files in the engine folder. Otherwise, I would get errors for the wrong file path or you will render a gray scene with nothing on it.
lNewLoader.Initialize();
lNewLoader.ParseScene();
The fbx loader sample said ogre would automatically load the scene in normal! However, I don't know why, maybe some abnormal things happened. If I don't put this two lines after I loaded my fbx, the project could not be compiled. After, loading the scene, we just need to get the locators' positions we created earlier for the camera path and lerp between them using the Ogre::Animation class.
To get the locator, first we need is getting the locators name which ogre already got it when it loaded the scene.
std::string locateName = "locator1";
Get the scene node of the locator from Maya, ogre automatically created the nodes when loading the fbx.
Ogre::SceneNode* locatorNode = TOOLS_OGRE::GetOgreSceneNode(locateName .c_str(), lInfo.GetRootNode());
Store the position to vector.
locatorVec = locatorNode ->getPosition();
Next is to keyframing the animation. Ogre makes our life much easier by having the animation class, although its still takes time to figure it out.
1) Create an animation, name it and set the length for it. Then LERP IT!
Ogre::Animation* animation = mMgr->createAnimation("cameraPath",yourAnimationLength);
animation->setInterpolationMode(Animation::IM_SPLINE);
2) Create the route for the animation you just set, and decide what object do you want to animate. Here I use my camera node camNode.
Ogre::NodeAnimationTrack* track = animation->createNodeTrack(0, camNode);
3) Create keyframes on specific time and translate the object to the locator's position.
Ogre::TransformKeyFrame* key = track->createNodeKeyFrame(timePos);
key->setTranslate(locatorVec);
4) After setting up how the animation works and it path, we put the animation on screen
Ogre::AnimationState* camAnimState = mMgr->createAnimationState("cameraPath");
5) Update the animation in the update function.
camAnimState->addTime(0.5);
std::string lFilePath = TOOLS::GetEnvPath ("TwoLoc_PATH", "\\Samples\\Resources\\Models\\cameraPath.fbx");
std::string lMaterialPath = TOOLS::GetEnvPath ("TwoLoc_PATH", "\\Samples\\Resources\\Materials\\");
TwoLoc::OgreSceneInfo lInfo(mMgr);
TwoLoc::OgreFbxLoader lNewLoader(lFilePath.c_str(),
&lInfo,
NULL,
lMaterialPath.c_str());
Although I tried very hard to use the directory of the homework question project to keep it neat, I just felt so annoying to fix the path errors, so I put the fbx and the material files in the engine folder. Otherwise, I would get errors for the wrong file path or you will render a gray scene with nothing on it.
lNewLoader.Initialize();
lNewLoader.ParseScene();
The fbx loader sample said ogre would automatically load the scene in normal! However, I don't know why, maybe some abnormal things happened. If I don't put this two lines after I loaded my fbx, the project could not be compiled. After, loading the scene, we just need to get the locators' positions we created earlier for the camera path and lerp between them using the Ogre::Animation class.
To get the locator, first we need is getting the locators name which ogre already got it when it loaded the scene.
std::string locateName = "locator1";
Get the scene node of the locator from Maya, ogre automatically created the nodes when loading the fbx.
Ogre::SceneNode* locatorNode = TOOLS_OGRE::GetOgreSceneNode(locateName .c_str(), lInfo.GetRootNode());
Store the position to vector.
locatorVec = locatorNode ->getPosition();
Next is to keyframing the animation. Ogre makes our life much easier by having the animation class, although its still takes time to figure it out.
1) Create an animation, name it and set the length for it. Then LERP IT!
Ogre::Animation* animation = mMgr->createAnimation("cameraPath",yourAnimationLength);
animation->setInterpolationMode(Animation::IM_SPLINE);
2) Create the route for the animation you just set, and decide what object do you want to animate. Here I use my camera node camNode.
Ogre::NodeAnimationTrack* track = animation->createNodeTrack(0, camNode);
3) Create keyframes on specific time and translate the object to the locator's position.
Ogre::TransformKeyFrame* key = track->createNodeKeyFrame(timePos);
key->setTranslate(locatorVec);
4) After setting up how the animation works and it path, we put the animation on screen
Ogre::AnimationState* camAnimState = mMgr->createAnimationState("cameraPath");
5) Update the animation in the update function.
camAnimState->addTime(0.5);
Crafting a Dekonstruer
In this blog, I would like to identify the game design atoms of the iPhone/iPad/iTouch game: Kingdom Clash, and how they work together to form a complete and enjoyable experience for me.
Players
Kingdom Clash is a single player game in which the player have to against other player in the game. You become a landowner of a kingdom and your knights will teach you how to play the game and tell you the story within the game at the very beginning. After that, you take the whole control of the game and decide to continue the story to fight the evil Iron Swarm or fight other players to gain resources. You can also join an alliance to gain troops from it to improve your kingdom.
Objectives
The goal of this game is to grow and expand your kingdom as strong as possible and crush all of your opponents. You can choose to fight battles to gain resources from other players or just collecting them from your own kingdom, but in either way, other players may still take their chances to attack you. Therefore, you better protect your kingdom and grow stronger to against the intruder.
Rules
In Kingdom Clash, when someone attacked your kingdom and you lose the battle, you will get a shield to protect your kingdom by blocking any player to attack you in a certain time depending on the percentage of your kingdom had being destroy. However, you can only attack other kingdoms when you are not protecting by a shield, otherwise, the system will ask to take off your shield. Once you decided to attack other kingdom, you have to pay coins to find a match, the higher level you are, the more you need to pay for. The system will find a match for you randomly and different kingdom has different loot to gain, if you are not satisfy with the loot you can gain, you can choose the next match and of course you still have to pay for it.
Another important thing in this game is to build and upgrade the resource and other useful buildings, but it is limited by your worker numbers. Each player can purchases two workers by coins and a worker can only build or upgrade one building per time. The building needs more time to upgrade when it reaches the higher level. If the player wants to get more workers, then they have to win the tournament or it costs real money. When placing the building, you can't put it on the area with trees and rocks, or you have to remove them by demanding your workers.
Resources
There are three very important resources in Kingdom Clash: coins, spellstones, and gem.
Coins: use to build the spellstones storage, spellstones quarry(where you can collect spellstones by time), removing trees, all the building that related to the troops, and also training troops for battle.
Spellstones: use to build the coins safe, market(where you can collect coins by time), removing rocks, and the defenses.
Gem: use to buy more workers and shorter the time used to build or upgrade.
These resources are extremely in this game, because without them you can do nothing and you are not even playing a game.
Game States
The main game states for this game are including your kingdom level, royal points where you gain it from a battle, coins, maximum number of coins that you can obtain, number of spellstones, maximum number of spellstones that you can obtain, and the gems.
Information
All the information as stated at the game states are visible to the player. When player visits others' kingdoms, they can also get the information of others such as his/her kingdom level and royal points, but the total coins, spellstones, and gem he/she has are private to the player. Once you decided to attack a kingdom, you can see the available loot, royal points you can get, and royal points you will lose if you lose; that is the privileged information to the player who paid to find the match. However, the opponent's alliance troops in kingdom is hidden from the player even you paid to find this match. The alliance troops will pop up when the player's troops step over the alliance castle.
Sequencing
Players take their actions in time limits during battles.Each player has 3 minutes to storm the opponent's place in each battle, they can gain as much as resources as they can in this 3 minutes. Player wins the battle while they can destroy 50% of opponent's kingdom. However, other than the battle the rest of the game is in simultaneous play, player can build and upgrade and do anything they want at anytime.
Player Interaction
Players get direct conflict between each other. They attack each to gain valuables; while someone attacks you, you will lose coins and spellstones no matter you win or lose the battle. Your royal points also decrease when you lose. The other part of the Kingdom Clash that has player interaction is when you join an alliance, you can request troops from them. Likewise, your alliance would request troop from you too.
Theme/Setting
Kingdom Clash has a very simple theme within the game: defeat the evil forces of the Iron Swarm. When player press the attack button, the screen will display two choices for you, one is to pay and attack other kingdom, the other one is to attack the Iron Swarm kingdom. While player chooses to defeat the Iron Swarm, you will then enter the story mode and versus the game system.
How they work together
In Kingdom Clash, the objectives are very depending on the theme. The theme of defeating the Iron Swarm let the player to have a proper reason of attacking other players for resources and grow themselves stronger to fight the boss, although the storyline is optional. After attacking someone else, they probably want to revenge you, and this made the objectives make sense. The rule of limiting the construction number per time define the workers (game state) that you have and giving player more challenges to grow the kingdom. Resources cause the player interaction where they attack each other to gain and grow. The rule also affects the sequence of the game, when player has the shield protecting their kingdom, they have to make decisions on whether attack other or not. This rule actually prevents player to take turns for battle and affecting the sequence of player's actions.
Players
Kingdom Clash is a single player game in which the player have to against other player in the game. You become a landowner of a kingdom and your knights will teach you how to play the game and tell you the story within the game at the very beginning. After that, you take the whole control of the game and decide to continue the story to fight the evil Iron Swarm or fight other players to gain resources. You can also join an alliance to gain troops from it to improve your kingdom.
Objectives
The goal of this game is to grow and expand your kingdom as strong as possible and crush all of your opponents. You can choose to fight battles to gain resources from other players or just collecting them from your own kingdom, but in either way, other players may still take their chances to attack you. Therefore, you better protect your kingdom and grow stronger to against the intruder.
Rules
In Kingdom Clash, when someone attacked your kingdom and you lose the battle, you will get a shield to protect your kingdom by blocking any player to attack you in a certain time depending on the percentage of your kingdom had being destroy. However, you can only attack other kingdoms when you are not protecting by a shield, otherwise, the system will ask to take off your shield. Once you decided to attack other kingdom, you have to pay coins to find a match, the higher level you are, the more you need to pay for. The system will find a match for you randomly and different kingdom has different loot to gain, if you are not satisfy with the loot you can gain, you can choose the next match and of course you still have to pay for it.
Another important thing in this game is to build and upgrade the resource and other useful buildings, but it is limited by your worker numbers. Each player can purchases two workers by coins and a worker can only build or upgrade one building per time. The building needs more time to upgrade when it reaches the higher level. If the player wants to get more workers, then they have to win the tournament or it costs real money. When placing the building, you can't put it on the area with trees and rocks, or you have to remove them by demanding your workers.
Resources
There are three very important resources in Kingdom Clash: coins, spellstones, and gem.
Coins: use to build the spellstones storage, spellstones quarry(where you can collect spellstones by time), removing trees, all the building that related to the troops, and also training troops for battle.
Spellstones: use to build the coins safe, market(where you can collect coins by time), removing rocks, and the defenses.
Gem: use to buy more workers and shorter the time used to build or upgrade.
These resources are extremely in this game, because without them you can do nothing and you are not even playing a game.
Game States
The main game states for this game are including your kingdom level, royal points where you gain it from a battle, coins, maximum number of coins that you can obtain, number of spellstones, maximum number of spellstones that you can obtain, and the gems.
Information
All the information as stated at the game states are visible to the player. When player visits others' kingdoms, they can also get the information of others such as his/her kingdom level and royal points, but the total coins, spellstones, and gem he/she has are private to the player. Once you decided to attack a kingdom, you can see the available loot, royal points you can get, and royal points you will lose if you lose; that is the privileged information to the player who paid to find the match. However, the opponent's alliance troops in kingdom is hidden from the player even you paid to find this match. The alliance troops will pop up when the player's troops step over the alliance castle.
Sequencing
Players take their actions in time limits during battles.Each player has 3 minutes to storm the opponent's place in each battle, they can gain as much as resources as they can in this 3 minutes. Player wins the battle while they can destroy 50% of opponent's kingdom. However, other than the battle the rest of the game is in simultaneous play, player can build and upgrade and do anything they want at anytime.
Player Interaction
Players get direct conflict between each other. They attack each to gain valuables; while someone attacks you, you will lose coins and spellstones no matter you win or lose the battle. Your royal points also decrease when you lose. The other part of the Kingdom Clash that has player interaction is when you join an alliance, you can request troops from them. Likewise, your alliance would request troop from you too.
Theme/Setting
Kingdom Clash has a very simple theme within the game: defeat the evil forces of the Iron Swarm. When player press the attack button, the screen will display two choices for you, one is to pay and attack other kingdom, the other one is to attack the Iron Swarm kingdom. While player chooses to defeat the Iron Swarm, you will then enter the story mode and versus the game system.
How they work together
In Kingdom Clash, the objectives are very depending on the theme. The theme of defeating the Iron Swarm let the player to have a proper reason of attacking other players for resources and grow themselves stronger to fight the boss, although the storyline is optional. After attacking someone else, they probably want to revenge you, and this made the objectives make sense. The rule of limiting the construction number per time define the workers (game state) that you have and giving player more challenges to grow the kingdom. Resources cause the player interaction where they attack each other to gain and grow. The rule also affects the sequence of the game, when player has the shield protecting their kingdom, they have to make decisions on whether attack other or not. This rule actually prevents player to take turns for battle and affecting the sequence of player's actions.
Sunday, November 17, 2013
Game Design and Production II Lecture 7
Play Spaces and level Design
In this lecture, we talked about the play spaces and level design. Play spaces are the areas where players can interact with the game and also other players in multiplayer game. Level design is to create challenges, triggers, events, and also to make the level more interesting. While the game designer designs the game play rules, level designer's job is also to design how a player is confronted with the rules.
“Level design is putting theory into practice”
Level designer need to think a lot about how are the rules going to be interpretive. One of the other very important thing to level designer is how do you make people learn in the level . Often times, in the game there would be new weapons, new abilities, and new mechanics and level designer needs to design how to allow the player to understand what's going on, and how to use that new abilities and new weapons. The responsibility to a game designer is to ensure that the player knows how to use the mechanic. Therefore, designers always need to imagine themselves as the actual players in the game in order to think that how he/she can challenge himself/herself to use and understand it.
What do you teach to players?
While the players start your game, they need to understand the physical rules of the environment. This is especially important to the games that are not using our real world as their environment base. In the real world, we knew there's gravity, we knew we will sink if we fall into water. However, when we are designing a magic game world that is overhead or undersea, we need to let the player know the physical rules of your environment, how to survive in the game world that you designed. The next thing that level designer need to teach to the player is the abilities of player's in-game character. What can the player actually do in the level? How to use this ability and weapon? What's the effect if I ate this or grab this item? Level designers should provide instruction or guidance, and give player novice mission/training mode to let them understand. The next thing to teach is the behavior of enemies. Different type of enemies may have different kind of attacks and behaviors. While the player character attacks the enemies, they may get more familiar with their own abilities and controls. The last thing is the game's reward system. So the player knows if they do this, they can get certain kind of reward or damage back.
Level design golden rules
One of the most important golden rules is to be consistent, because if you have the mechanic keeps changing in the game, the player will need much more time to learn how to use it and this may decreases their focus/attentions and makes the game very hard.
Goals
During the game design process, designer should try to achieve the external goals and internal goals.
External goals are basically the things that could make your company money. It is the things that are high value to the company and the developer. Internal goals are things that derived from game play specifications. Internal goals can also be trying to give the player the sense of achievement and when do you want to reward the player.
Linear Levels
Linear levels are the levels that go straight from the start to the end and doesn't have any extra quest other than the main quest. Linear levels perfect control for level designer and it's very consistent. The disadvantages of Linear levels would be constrained players' freedom and game play events might be forced on players. No matter what the player do, the game would only get into the main story theme. Single player games would usually be considered as linear level game. A very good example of linear level game would be Mario.
Semi-Linear Levels
Semi-linear levels give enough freedom for players to feel they are controlling the game. In this kind of level, players have the main quest but there are still many other side levels, side quest, or even side story for the player to explore. The disadvantages for semi-linear levels would be leading players by nose when uninspired and logically inconsistent.
Non-Linear Levels
In non-linear levels, players get the maximum control of the game and take responsibility for their own failures. It also gives player the sense of gameplay ownership and it's free content. Most kind of MMORPG were non-linear levels, player controls their character to go anywhere they want. They can challenge the higher level of enemies if they want and they take their responsibilities like dying when they fail. Of course non-linear levels are extremely hard to test, players may break the game with unforeseen actions, and loopholes in gameplay logic, that's why MMORPG always have their regular maintenance time to fix this errors.
In this lecture, we talked about the play spaces and level design. Play spaces are the areas where players can interact with the game and also other players in multiplayer game. Level design is to create challenges, triggers, events, and also to make the level more interesting. While the game designer designs the game play rules, level designer's job is also to design how a player is confronted with the rules.
“Level design is putting theory into practice”
Level designer need to think a lot about how are the rules going to be interpretive. One of the other very important thing to level designer is how do you make people learn in the level . Often times, in the game there would be new weapons, new abilities, and new mechanics and level designer needs to design how to allow the player to understand what's going on, and how to use that new abilities and new weapons. The responsibility to a game designer is to ensure that the player knows how to use the mechanic. Therefore, designers always need to imagine themselves as the actual players in the game in order to think that how he/she can challenge himself/herself to use and understand it.
What do you teach to players?
While the players start your game, they need to understand the physical rules of the environment. This is especially important to the games that are not using our real world as their environment base. In the real world, we knew there's gravity, we knew we will sink if we fall into water. However, when we are designing a magic game world that is overhead or undersea, we need to let the player know the physical rules of your environment, how to survive in the game world that you designed. The next thing that level designer need to teach to the player is the abilities of player's in-game character. What can the player actually do in the level? How to use this ability and weapon? What's the effect if I ate this or grab this item? Level designers should provide instruction or guidance, and give player novice mission/training mode to let them understand. The next thing to teach is the behavior of enemies. Different type of enemies may have different kind of attacks and behaviors. While the player character attacks the enemies, they may get more familiar with their own abilities and controls. The last thing is the game's reward system. So the player knows if they do this, they can get certain kind of reward or damage back.
Level design golden rules
- Be consistent
- Don't require skills in a level that you have not taught the player
- Always teach main goals and rules first
One of the most important golden rules is to be consistent, because if you have the mechanic keeps changing in the game, the player will need much more time to learn how to use it and this may decreases their focus/attentions and makes the game very hard.
Goals
During the game design process, designer should try to achieve the external goals and internal goals.
External goals are basically the things that could make your company money. It is the things that are high value to the company and the developer. Internal goals are things that derived from game play specifications. Internal goals can also be trying to give the player the sense of achievement and when do you want to reward the player.
Linear Levels
Linear levels are the levels that go straight from the start to the end and doesn't have any extra quest other than the main quest. Linear levels perfect control for level designer and it's very consistent. The disadvantages of Linear levels would be constrained players' freedom and game play events might be forced on players. No matter what the player do, the game would only get into the main story theme. Single player games would usually be considered as linear level game. A very good example of linear level game would be Mario.
Semi-Linear Levels
Semi-linear levels give enough freedom for players to feel they are controlling the game. In this kind of level, players have the main quest but there are still many other side levels, side quest, or even side story for the player to explore. The disadvantages for semi-linear levels would be leading players by nose when uninspired and logically inconsistent.
Non-Linear Levels
In non-linear levels, players get the maximum control of the game and take responsibility for their own failures. It also gives player the sense of gameplay ownership and it's free content. Most kind of MMORPG were non-linear levels, player controls their character to go anywhere they want. They can challenge the higher level of enemies if they want and they take their responsibilities like dying when they fail. Of course non-linear levels are extremely hard to test, players may break the game with unforeseen actions, and loopholes in gameplay logic, that's why MMORPG always have their regular maintenance time to fix this errors.
Wednesday, November 6, 2013
INFR 3110 Blog entry 6
Last week, I was still working on the errors I've got with twoloc engine. Although I found a method to solve the bin\Debug\..\..exe errors, the problem actually still can't be fixed. I knew that it was pretty lame to just copy and paste the .exe file to fix this errors, that's why I asked our nice TA for help during today's tutorial.
I tried re-cloning and re-installing the twoloc dependencies over 20 times but still got the exact same 17 errors while compiling the engine. And Visual Studio kept saying that it can't find the .exe. After asking TA for help today, I understood that the PC's system language DOES matter! Although I got errors before I changed the system language, I still tried to change it back to Canadian English base, and then the engine complied successfully.
![]() |
| I kept getting 17 errors when I was compiling the engine. :( |
![]() |
| Uable to start program because the system cannot find the .exe file. |
The other thing that I have done this week is the robot arm homework question:
While we were doing question 3, we needed to include a box generator header file to completed it.
#include "ProceduralBoxGenerator.h"
However, you probably will get some errors if just including the header file. What we can do to solve this is very similar to the solar system question as I talked about in the previous blog post. The difference between them is just changing VS2008 to VS2010 format.
Go to the project properties and add the following stuff:
C/C++ -> Preprocessor add:
PROCEDURAL_STATIC_BUILD
Linker -> General -> Additional Library Directories add:
$(TwoLoc_PATH)\lib\VS2010\$(Configuration)\$(Platform)\OgreProcedural
Linker -> Input -> Additional Dependencies add:
OgreProcedural_$(ConfigurationName).lib
After adding the above items, the project runs perfectly fine. In this question, what we were supposed to do are very similar to the solar system too except for the planet's orbit. For the robot arm we just need to nodes: a rotation node and a translation node for each part of the arm rather than the planets' three nodes(orbit, rotation, translation). The whole thing is about parenting the nodes to the right places.
While we were doing question 3, we needed to include a box generator header file to completed it.
#include "ProceduralBoxGenerator.h"
However, you probably will get some errors if just including the header file. What we can do to solve this is very similar to the solar system question as I talked about in the previous blog post. The difference between them is just changing VS2008 to VS2010 format.
Go to the project properties and add the following stuff:
C/C++ -> Preprocessor add:
PROCEDURAL_STATIC_BUILD
Linker -> General -> Additional Library Directories add:
$(TwoLoc_PATH)\lib\VS2010\$(Configuration)\$(Platform)\OgreProcedural
Linker -> Input -> Additional Dependencies add:
OgreProcedural_$(ConfigurationName).lib
After adding the above items, the project runs perfectly fine. In this question, what we were supposed to do are very similar to the solar system too except for the planet's orbit. For the robot arm we just need to nodes: a rotation node and a translation node for each part of the arm rather than the planets' three nodes(orbit, rotation, translation). The whole thing is about parenting the nodes to the right places.
![]() |
| Scene graph for my robot arm |
![]() |
| Robot arm that I did. |
Game Design and Production II Lecture 5
Digital Prototyping
In the fifth lecture, we talked about digital prototyping for games. Digital prototyping is the main concept as a blueprint of a game. We can understand how is the game going to work, how does it feel, and how does it look like through the game prototype. There are four areas of digital prototyping: Game Mechanics, Aesthetics, Kinesthetics, and Technology.
Game mechanics is the formal aspect of the game. It is generally the main question or the problem that you want to model in the game. Every game design starts with a problem and player is the one who is supposed to solve it. When prototyping the game mechanics, designer should think of what rules they should put in the game to make it interesting and focus on the core mechanics. We should prevent to put too many design questions in the game at once, since it may make the game feels scattered. When designing the game mechanics, we should also keep it balanced, so that the game won't be too easy or too hard. Game mechanics also included designing the game logic like how much will it be demaged when you attack or being attacked, your health and experience points when you each time level up. Those mechanic questions can be done on spreadsheet like in Excel.
Aesthetics is referring to the the view of your game, it is the visual, audio and dramatic elements of the game, like how things are being performed and showed to the player. It is like how the things look like when they are in motion within the game. How does an avatar run or attack, how does it work in the game? Do we make the animation very smooth by putting many details on it or just make it with very simple animation? Which one fits more to the visual style of your game? What kind of audio we should put in certain areas? Those are all the questions that we need to consider when prototyping aesthetics of a game. We can prototype aesthetics by storyboards, concept art, animistic, interface prototypes, audio sketches etc.
Kinesthetics is referring to the feeling of your game, which is like how the controls feelings and how the interface feelings. The types of control that are available to the player like mouse, keyboard or special controller such as Wii mote, are the things that we should consider about when we are prototyping. When we first design our game, we should always keep in mind that what controller we are designing for, because different kind of controllers can make the game "feels" very differently. For example, it would be much more fun if we use a Wii mote to play a dancing game rather than using classic keyboard or mouse.
Technology is generally all the software that make the game works in a technical way. Nowadays, digital prototypes are mostly based on technologies. When prototyping, when should think of what kind of technology we can use to create the certain graphics, AI, and physics in your game. Since the technology is changing constantly today, we should not just stick on the programming language that we usually use to create the prototype, its always better to prototype with some easy and effective languages that we can rapidly build out something. If we always reuse the same code that is written by a specific language, we cannot learn anything new; we may not easily move on or adjust to a new programming language.
One thing that I have learned in this lecture is that digital prototyping before start building a game is important, because a good prototype gives us an easier way and guide us to build what we want. We may also be able to fix the game mechanical problems before we have those issues.
In the fifth lecture, we talked about digital prototyping for games. Digital prototyping is the main concept as a blueprint of a game. We can understand how is the game going to work, how does it feel, and how does it look like through the game prototype. There are four areas of digital prototyping: Game Mechanics, Aesthetics, Kinesthetics, and Technology.
Game mechanics is the formal aspect of the game. It is generally the main question or the problem that you want to model in the game. Every game design starts with a problem and player is the one who is supposed to solve it. When prototyping the game mechanics, designer should think of what rules they should put in the game to make it interesting and focus on the core mechanics. We should prevent to put too many design questions in the game at once, since it may make the game feels scattered. When designing the game mechanics, we should also keep it balanced, so that the game won't be too easy or too hard. Game mechanics also included designing the game logic like how much will it be demaged when you attack or being attacked, your health and experience points when you each time level up. Those mechanic questions can be done on spreadsheet like in Excel.
Aesthetics is referring to the the view of your game, it is the visual, audio and dramatic elements of the game, like how things are being performed and showed to the player. It is like how the things look like when they are in motion within the game. How does an avatar run or attack, how does it work in the game? Do we make the animation very smooth by putting many details on it or just make it with very simple animation? Which one fits more to the visual style of your game? What kind of audio we should put in certain areas? Those are all the questions that we need to consider when prototyping aesthetics of a game. We can prototype aesthetics by storyboards, concept art, animistic, interface prototypes, audio sketches etc.
Kinesthetics is referring to the feeling of your game, which is like how the controls feelings and how the interface feelings. The types of control that are available to the player like mouse, keyboard or special controller such as Wii mote, are the things that we should consider about when we are prototyping. When we first design our game, we should always keep in mind that what controller we are designing for, because different kind of controllers can make the game "feels" very differently. For example, it would be much more fun if we use a Wii mote to play a dancing game rather than using classic keyboard or mouse.
Technology is generally all the software that make the game works in a technical way. Nowadays, digital prototypes are mostly based on technologies. When prototyping, when should think of what kind of technology we can use to create the certain graphics, AI, and physics in your game. Since the technology is changing constantly today, we should not just stick on the programming language that we usually use to create the prototype, its always better to prototype with some easy and effective languages that we can rapidly build out something. If we always reuse the same code that is written by a specific language, we cannot learn anything new; we may not easily move on or adjust to a new programming language.
One thing that I have learned in this lecture is that digital prototyping before start building a game is important, because a good prototype gives us an easier way and guide us to build what we want. We may also be able to fix the game mechanical problems before we have those issues.
Monday, October 28, 2013
Blog Quest 1: Emotional Contagion
When talking about stories within a game that gripped me or moved me emotionally, the first one comes to my mind is the story line of Ishida Mitsunari in Samurai Warriors 2. Samurai Warriors 2 is a game took place at Sengoku period in Japan. Player can choose to be one of the about 30 characters to fight their battles. Each of the character has his/her own story line and legend, most of them are created according to the Japanese history. The game featured with very fantastic animations to keep player's attentions and enjoy to being the hero they have chosen.
Ishida Mitsunari is my favorite character in this game and also in Japanese history. There are only five characters for player to choose in the beginning, and we can activate the rest of the characters by playing throughout those five basic character's legend. At the first play, I chose to be Ishida Mitsunari because he has red hair and used a fan as his weapon. The story of each character mostly based on the Japanese history, unless you won the battles which the character was supposed to lose in history. The design of the character also gives the player lots of passions because the designer has beautify them a lot, this is a great advantage in the Japanese games. However, since this is a Japanese game, the characters and most of the texts are written and shown in Japanese, this language barrier limits the fun for players who don't know Japanese.
The story of Ishida Mitsunari
Ishida Mitsunari was a Samurai and also Daimyo during the Sengoku period in Japan. In the game, he served Toyotomi Hideyoshi as his lord, assisted him to unify Japan by giving him suggestion to fight the battles. Ishida Mitsunari also met his best friend Naoe Kanetsugu in the story. After his lord's death, he decided to fight against Tokugawa Ieyasu as the result between their conflicts. He asked Naoe for help and Naoe decided to support Ishida even though they didn't have a big chance to win. In Ishida Mitsunari's whole life, he kept pursuing an aim "Man for me, I for all, peace and harmony." He even created an emblem for his belief, and player can see this emblem everywhere in his battles. There was a battle called Battle of Sekigahara, it was the last mission before the end of his legend and it was a very important battle for Ishida Mitsunari. By winning this battle, player can then unify Japan, and Ishida Mitsunari will become the governor of Japan. However, this still not the part that moved me the most.
By playing through his legend, I believe player would certainly know much more about his characteristics and contributions to Japan. Although he is a really good fighter in the game, he lost the Battle of Sekigahara in the real Japanese history. I felt very glad that I played his legend first, because in the rest of the legends in the game, he gotta die! In every other character's story which related to Ishida Mitsunari, he lost the Battle of Sekigahara like Japanese history, and was beheaded in Kyoto. When I played through his best friend Naoe Kanetsugu's legend, I moved the most by the game story.
Naoe tried Seppuku when he knew that his best friend was beheaded, but it was stop by the other guy. The guy dissuaded him by saying that he should protect and keep Ishida Mitsunari's spirit rather then just die for nothing. He then picked himself up and his story continued. After that, I felt really sad and replayed Ishida Mitsunari legend few times the following days. Although the most touching part was not in the main Ishida Mitsunari story, but by watching the marvelous animation cut scenes with the dubbing, it really made me fell into the game story. A good story is really important for a game!
![]() |
| I am not easily moved by a game story, but when I am, I would be upset for few days. |
| Ishida Mitsunari |
The story of Ishida Mitsunari
Ishida Mitsunari was a Samurai and also Daimyo during the Sengoku period in Japan. In the game, he served Toyotomi Hideyoshi as his lord, assisted him to unify Japan by giving him suggestion to fight the battles. Ishida Mitsunari also met his best friend Naoe Kanetsugu in the story. After his lord's death, he decided to fight against Tokugawa Ieyasu as the result between their conflicts. He asked Naoe for help and Naoe decided to support Ishida even though they didn't have a big chance to win. In Ishida Mitsunari's whole life, he kept pursuing an aim "Man for me, I for all, peace and harmony." He even created an emblem for his belief, and player can see this emblem everywhere in his battles. There was a battle called Battle of Sekigahara, it was the last mission before the end of his legend and it was a very important battle for Ishida Mitsunari. By winning this battle, player can then unify Japan, and Ishida Mitsunari will become the governor of Japan. However, this still not the part that moved me the most.
| Man for me, I for all, peace and harmony |
![]() |
| Naoe Kanetsugu tries to kill himself after he got the message of Ishida Mitsunari's death. |
Thursday, October 17, 2013
INFR 3110 Blog entry 5
As we tried to install the twoloc engine to Visual Studio 2010 last week tutorial, we encountered millions of problems and errors. After re-cloning and re-installing several times of the dependencies and the engine, I finally got the ogre samples work. However, when I tried to generate a new program with the generator, it still comes with error.
![]() |
| Why...?! |
To solve this, I then go to the debug folder to look for the .exe file and certainly it wasn't there. But then I found it in the ..\bin\Debug folder instead of ..\Debug, so I simply copy and paste the .exe I have found into ..\Debug. I thought it was going to be worked, but NO.
![]() |
| What..? |
I'm not going to reinstalling the program anyways. I sat there and felt frustrated for about 20 minutes. I tried a few methods but still not working. Later, I rechecked the bin\Debug and there is vld_x86.dll. How come I didn't see it? Finally idea pops up then I copy the whole thing in the ..\bin\Debug folder and paste them into Debug.
Guess what? It magically works.
![]() |
| No, Visual Studio is magic tool. |
Now I can finally work on the homework question with VS2010.
Game Design and Production II Lecture 4
System Dynamics
In the 4th lecture, we discussed about the system dynamics for game. There are four basic system elements: objects, properties, behaviors, and relationships. These elements determine how a system acts in motion and guide interaction quality. As the following, I will use one of my favorite board games: Jungle Chess as an example.
Objects
Objects are the basic system building blocks. In the world of a game, everything basically formed by objects. They can be physical, abstract, or both. According to the lecture notes, the examples of the objects in game would be: Game pieces, In-game concepts, Players, Player representations, Areas or terrain. In Jungle Chess, the animals pieces, players, and the terrain would be the physical objects. The river, animals themselves, the den and traps would be the abstract objects of the game. Objects are defined by their properties, behaviors, and the relationships with other objects.
Properties
Properties determine interactions between different objects like what it can do, their where they should be placed, how they attack each other. Properties also define the qualities or attributes of objects like the size, color, rank hit points. In Jungle Chess, each animals pieces have different properties as shown below:
Rank - Elephant -> Lion -> Tiger -> Leopard -> Wolf -> Dog -> Cat -> Rat -> Elephant
Color - red, black
Position - each animal has specific location when start up the game as shown on the game board
Behaviors
Behaviors are the potential actions in a given state, but it can still be restricted by the rules. For example, in Jungle Chess each piece can move horizontally or vertically one space and move horizontally or vertically to capture a opponent's piece. Specific pieces also have its own behaviors like the lion and the tiger pieces can jump over the river squares, and the rat pieces can move into the water. In this game, there also some behaviors restricted by rules like the lion and tiger pieces cannot jump over the the river when there is a rat piece directly block that roll.
Relationships
"No relationships = collection, not system". Relationships are essential for a system and can be determined by chance and rule sets. Relationships always expressed as locations on game board and numerical sequence cards. In Jungle Chess, relationships expressed as locations on the game board. The water squares provide chance for pieces to jump over it, the trap squares provide chance for pieces in lower rank to capture pieces in higher rank, and the den squares provide chance for players to win the game. If there're no relationships in the system like board game with a blank game board, there would not be called as a game or system.
In the 4th lecture, we discussed about the system dynamics for game. There are four basic system elements: objects, properties, behaviors, and relationships. These elements determine how a system acts in motion and guide interaction quality. As the following, I will use one of my favorite board games: Jungle Chess as an example.
![]() |
| Jungle Chess - Dou Shou Qi |
Objects
Objects are the basic system building blocks. In the world of a game, everything basically formed by objects. They can be physical, abstract, or both. According to the lecture notes, the examples of the objects in game would be: Game pieces, In-game concepts, Players, Player representations, Areas or terrain. In Jungle Chess, the animals pieces, players, and the terrain would be the physical objects. The river, animals themselves, the den and traps would be the abstract objects of the game. Objects are defined by their properties, behaviors, and the relationships with other objects.
Properties
Properties determine interactions between different objects like what it can do, their where they should be placed, how they attack each other. Properties also define the qualities or attributes of objects like the size, color, rank hit points. In Jungle Chess, each animals pieces have different properties as shown below:
Rank - Elephant -> Lion -> Tiger -> Leopard -> Wolf -> Dog -> Cat -> Rat -> Elephant
Color - red, black
Position - each animal has specific location when start up the game as shown on the game board
Behaviors
Behaviors are the potential actions in a given state, but it can still be restricted by the rules. For example, in Jungle Chess each piece can move horizontally or vertically one space and move horizontally or vertically to capture a opponent's piece. Specific pieces also have its own behaviors like the lion and the tiger pieces can jump over the river squares, and the rat pieces can move into the water. In this game, there also some behaviors restricted by rules like the lion and tiger pieces cannot jump over the the river when there is a rat piece directly block that roll.
Relationships
"No relationships = collection, not system". Relationships are essential for a system and can be determined by chance and rule sets. Relationships always expressed as locations on game board and numerical sequence cards. In Jungle Chess, relationships expressed as locations on the game board. The water squares provide chance for pieces to jump over it, the trap squares provide chance for pieces in lower rank to capture pieces in higher rank, and the den squares provide chance for players to win the game. If there're no relationships in the system like board game with a blank game board, there would not be called as a game or system.
Monday, October 7, 2013
INFR 3110 Blog entry 4
Few weeks past, but I still can't figure out how to export coordinates from Maya to twoloc :(. Therefore, I tried to move on to another question that looks easier for me which does not required exporting keyframes.
Q4: Build a simple solar system out of textured spheres.
First, to make it easier, we can use the ProceduralSphereGenerator.h file to easily create a bunch of spheres.
#include "ProceduralSphereGenerator.h"
I got 24 errors after I include this thing... The way to solve it go to project properties and add these items:
Linker -> General -> Additional Library Directories:
$(TwoLoc_PATH)\lib\VS2008\$(ConfigurationName)\$(PlatformName)\OgreProcedural\
Linker -> Input -> Additional Dependencies:
OgreProcedural_$(ConfigurationName).lib
But...
This is for Visual Studio 2008!
Before we start, we need to know:
1) Ogre::SceneNode
2) Ogre::Entity
SceneNode is use for translating/rotating the object. Its basically the coordinates of an object.
Entity is the actual object, It can be a mesh, a fbx file, etc. we can only set the texture/material for an entity not the node.
First thing we need for this solar system is the sun. The sun is also the root node of the scene, it doesn't do anything(it's not spinning and no orbit). It's just a simple sphere, so we only need to create a sphere and attach the entity to the node.
//Declare the variables for the sun
Ogre::SceneNode *mRootNode;
Q4: Build a simple solar system out of textured spheres.
First, to make it easier, we can use the ProceduralSphereGenerator.h file to easily create a bunch of spheres.
#include "ProceduralSphereGenerator.h"
I got 24 errors after I include this thing... The way to solve it go to project properties and add these items:
Linker -> General -> Additional Library Directories:
$(TwoLoc_PATH)\lib\VS2008\$(ConfigurationName)\$(PlatformName)\OgreProcedural\
Linker -> Input -> Additional Dependencies:
OgreProcedural_$(ConfigurationName).lib
But...
This is for Visual Studio 2008!
Before we start, we need to know:
1) Ogre::SceneNode
2) Ogre::Entity
SceneNode is use for translating/rotating the object. Its basically the coordinates of an object.
Entity is the actual object, It can be a mesh, a fbx file, etc. we can only set the texture/material for an entity not the node.
First thing we need for this solar system is the sun. The sun is also the root node of the scene, it doesn't do anything(it's not spinning and no orbit). It's just a simple sphere, so we only need to create a sphere and attach the entity to the node.
//Declare the variables for the sun
Ogre::SceneNode *mRootNode;
Ogre::Entity *sun;
Since the sun is the root of this solar system and it does not spin and no orbit, we just make it the root node for the scene.
mRootNode = mMgr->getRootSceneNode();
Other than the sun, we have the earth spinning and rotating around the sun. For these kind of planet, we need to declare 3 scene nodes for each of them.
mEarthOrbitNode = mMgr->getRootSceneNode()->createChildSceneNode();
mEarthTranslateNode = mEarthOrbitNode->createChildSceneNode(Ogre::Vector3(5, 0, 0));
mEarthRotateNode = mEarthTranslateNode->createChildSceneNode();
mEarthOrbitNode represents the point it rotates around, mEarthTranslateNode represents it’s actual position while rotating around the root(the sun), mEarthRotateNode represents the point that the earth spins around/its local axis, and they are all attached in order.
Procedural::SphereGenerator().setRadius(1).realizeMesh(“earth”);
Ogre::Entity* earth= mMgr->createEntity(“earth”);
earth->getSubEntity(0)->setMaterial(Ogre::MaterialManager::getSingleton().getByName(“earthMat”));
mEarthRotateNode->attachObject(earth);
And then, we create entity called earth for the scene and set material for this entity. Finally attach it to the rotation node.
After creating the mesh, we still need to make it move and rotate as well. We can simply do this in the update function. First, declare variables control how the planet spin and its orbit. Then, use the setOrientation function to move the mesh.
mEarthSpin += 360.0f*dt * 5.0f; // every second is 5 days
mEarthOrbit = mEarthSpin/365.25f;
mEarthOrbitNode->setOrientation(Quaternion(Radian(Degree(mEarthOrbit)), Vector3::UNIT_Y));
mEarthRotateNode->setOrientation(Quaternion(Radian(Degree(mEarthSpin)), Vector3::UNIT_Y));
Then, we copy and paste a bunch of codes to get this:
Since the sun is the root of this solar system and it does not spin and no orbit, we just make it the root node for the scene.
mRootNode = mMgr->getRootSceneNode();
Other than the sun, we have the earth spinning and rotating around the sun. For these kind of planet, we need to declare 3 scene nodes for each of them.
mEarthOrbitNode = mMgr->getRootSceneNode()->createChildSceneNode();
mEarthTranslateNode = mEarthOrbitNode->createChildSceneNode(Ogre::Vector3(5, 0, 0));
mEarthRotateNode = mEarthTranslateNode->createChildSceneNode();
mEarthOrbitNode represents the point it rotates around, mEarthTranslateNode represents it’s actual position while rotating around the root(the sun), mEarthRotateNode represents the point that the earth spins around/its local axis, and they are all attached in order.
Procedural::SphereGenerator().setRadius(1).realizeMesh(“earth”);
Ogre::Entity* earth= mMgr->createEntity(“earth”);
earth->getSubEntity(0)->setMaterial(Ogre::MaterialManager::getSingleton().getByName(“earthMat”));
mEarthRotateNode->attachObject(earth);
And then, we create entity called earth for the scene and set material for this entity. Finally attach it to the rotation node.
After creating the mesh, we still need to make it move and rotate as well. We can simply do this in the update function. First, declare variables control how the planet spin and its orbit. Then, use the setOrientation function to move the mesh.
mEarthSpin += 360.0f*dt * 5.0f; // every second is 5 days
mEarthOrbit = mEarthSpin/365.25f;
mEarthOrbitNode->setOrientation(Quaternion(Radian(Degree(mEarthOrbit)), Vector3::UNIT_Y));
mEarthRotateNode->setOrientation(Quaternion(Radian(Degree(mEarthSpin)), Vector3::UNIT_Y));
Then, we copy and paste a bunch of codes to get this:
Sunday, October 6, 2013
Reverse Scröwdriver Crafting 2
Pac-Man was a classic and simple game that appealed many people from different age groups. It’s an amazing game because of the simple programming and easy rules. The objective of the game is to eat all the Pac-Dots in order to complete the level and get into the next one. There are 4 enemies roaming around the maze try to capture Pac-Man. You will lose a life if you got touched by one of the enemies. The Pac-Man also has the opportunities to eat the enemies when Pac-Man eats the power pellets.
Rule: After Pac-Man eating the power pellets, the enemies turn deep blue, reverse direction and usually move slower. When an enemy is being eaten, its eyes remain and return to the center box where it is regenerated in its normal color.
Rule Change: After the enemy is being eaten by the Pac-Man twice, the enemy reduces its speed every time when it's being eaten.
How this changes the game: The game won't be running too crazy when getting in higher level. In higher levels, the time enemy turn deep blue will get shorter and it makes the game much more challengeable. By changing the rule, player takes the chance to scale down the hardness of the game and easier to keep the life. Also, it allows players to last their interests longer in playing this game.
Rule: After Pac-Man eating the power pellets, the enemies turn deep blue, reverse direction and usually move slower. When an enemy is being eaten, its eyes remain and return to the center box where it is regenerated in its normal color.
Rule Change: After the enemy is being eaten by the Pac-Man twice, the enemy reduces its speed every time when it's being eaten.
How this changes the game: The game won't be running too crazy when getting in higher level. In higher levels, the time enemy turn deep blue will get shorter and it makes the game much more challengeable. By changing the rule, player takes the chance to scale down the hardness of the game and easier to keep the life. Also, it allows players to last their interests longer in playing this game.
Reverse Scröwdriver Crafting
Tetris is a very classic tile-matching puzzle game. Tetris
is a game that has a random sequence of Tetriminos fall down the playing field.
The objective of the game is to manipulate the Tetriminos to create a
horizontal line without gaps; players can rotate and translate the Tetriminos
by using the arrow keys and space bar on computer. When such a line is created,
the line disappears and the blocks above the deleted line will fall. When a
certain number of lines are cleared, the Tetriminos falls faster and faster.
The game ends when the stack of Tetriminos reaches the top of the playing field
or no new Tetriminos are able to enter.
Rule: The Tetriminos falls faster when a certain number of lines are cleared.
Rule Change: When the player cleared 4 lines in one stack, the Tetriminos falls slower.
How this changes the game: This rule change can make the game more dynamic. By changing this rule, the game would not only be just increasing the speed and keep being more challenge. It lets player having chances to recover the mistakes they previously made or having more time to think of how to stack the Tetriminos. This changing may also maintain player's interest.
Saturday, October 5, 2013
Grind Quest: Objectives
1. Samurai Warriors series - killing enemies, level up and gaining new weapons
2. Dynasty Warriors series - killing enemies, level up and gaining new weapons
3. Kingdom Clash - killing enemies and gaining resources
4. Castle Story - kingdom simulation
5. Dragon Story - dragon hatching simulation
6. Farm Story 2 - farm simulation
7. Candy Crush - puzzle solving and level up
8. Candy Blast Mania - puzzle solving and level up
9. Jewel Mania - puzzle solving and level up
10. Fruit Mania - puzzle solving and level up
According to the list above, there are three types of games that appeal to me: Action RPG (hack and slash), simulation games, and puzzle solving games. I think what I enjoy the most in playing games is having the special abilities to fight and do things that I’m not able to do in the real world. This is also the feeling that we can get from most games and the reason why people addicted in playing games. In the action RPG games like Samurai Warriors and Dynasty Warriors, I can enjoy the play of being a hero to protect my own kingdom and defeat the enemies. I also enjoy the feeling of being victory after I win a tough battle. Those feelings can all be found by playing Action hack and slash game. Samurai Warriors and Dynasty Warriors also feature gorgeous 3D graphics and animation, so that the players not only can enjoy the excitement of battle, but also the art and the feeling of being “in” the world.
The other reason that games appeal to me is that I can build or create business, city, kingdom and farm, etc. while I will not be able to do those things in the real life. Although I can buy and run a farm in real life certainly, sometimes we may not able to do that, because we don’t have enough money. Therefore, we can achieve this goal in those simulation games. Sometimes we just have the idea on a whim, after playing for a while you may start to lose the interest on the city or kingdom you have built. One of the benefits for playing simulating games is saving your money before you waste them in real life.
One more thing that I enjoy in games is to think, to think of how to win, how to solve the puzzle, how to set up your armies, how to attack other kingdoms, and etc. I had a sense of achievement through not only winning the battle or solving the puzzles, but also I am able to think deeply on how to succeed during the process, the process requires a lot of critical thinking skills, and then I achieved it successfully.
2. Dynasty Warriors series - killing enemies, level up and gaining new weapons
3. Kingdom Clash - killing enemies and gaining resources
4. Castle Story - kingdom simulation
5. Dragon Story - dragon hatching simulation
6. Farm Story 2 - farm simulation
7. Candy Crush - puzzle solving and level up
8. Candy Blast Mania - puzzle solving and level up
According to the list above, there are three types of games that appeal to me: Action RPG (hack and slash), simulation games, and puzzle solving games. I think what I enjoy the most in playing games is having the special abilities to fight and do things that I’m not able to do in the real world. This is also the feeling that we can get from most games and the reason why people addicted in playing games. In the action RPG games like Samurai Warriors and Dynasty Warriors, I can enjoy the play of being a hero to protect my own kingdom and defeat the enemies. I also enjoy the feeling of being victory after I win a tough battle. Those feelings can all be found by playing Action hack and slash game. Samurai Warriors and Dynasty Warriors also feature gorgeous 3D graphics and animation, so that the players not only can enjoy the excitement of battle, but also the art and the feeling of being “in” the world.
The other reason that games appeal to me is that I can build or create business, city, kingdom and farm, etc. while I will not be able to do those things in the real life. Although I can buy and run a farm in real life certainly, sometimes we may not able to do that, because we don’t have enough money. Therefore, we can achieve this goal in those simulation games. Sometimes we just have the idea on a whim, after playing for a while you may start to lose the interest on the city or kingdom you have built. One of the benefits for playing simulating games is saving your money before you waste them in real life.
One more thing that I enjoy in games is to think, to think of how to win, how to solve the puzzle, how to set up your armies, how to attack other kingdoms, and etc. I had a sense of achievement through not only winning the battle or solving the puzzles, but also I am able to think deeply on how to succeed during the process, the process requires a lot of critical thinking skills, and then I achieved it successfully.
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:
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.
![]() |
| 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.
Subscribe to:
Posts (Atom)



































