Tuesday, August 7, 2012

3 effects

Effect One

Compliments
This is the first effect that I've started on, adding compliments when the ingredients hit the box. I realized that Mr Ron was teaching this effect but his one was shooting the crate and have +1 appearing. Hence I applied the same technique/script. Instead of having only 1 kind of compliments, I had 4 in total, saying "Great" "Good Job" "Awesome" and "Amazing" This is one of the easiest effect I've done. I went to the net and search for a font, added in the script and this is the outcome! Each compliment lasts for two seconds and it will destroy itself.

Here's the image of my compliment.

 Here's the script, with the fade up effect after the words appear.




Effect Two

Splatter
The second effect that I have is splatter, I referenced this from fruit ninja, when the fruit is being slashed, there's actually stains on the wall, so in this case the stain is on the floor. I used a prefab, script and particle system to make this effect.


Here's the script of my splatter.




The problem faced for splatter is that when I applied the script to the floor for the collision to occur, the ingredients start falling through the floor. Hence another plane was duplicated and we added a mesh collider to it alternately. After that then the collision happens. This is how we actually make it hit on the floor.

Effect Three

Bonus Time
When you catch the blue ball, it will add additional time to the game. Simple effect done here!






I created the sphere, added texture, made it a prefab and then added plusTime script to it, and it works. What's difficult was that I didn't know how to script it. After seeking help, here's my effect 3!

Monday, July 30, 2012

Elearning

For today's elearning we actually came back and then compiled our games together. Adding those effects that are done together. After compiling,  I return back to doing my splatter, but when I apply the prefab and the script to the ingredients, then I had very bad result because after that I realized there's actually a particle effect following it, and soon after it was 3pm, I didn't have enough time to take screen shot and edit it. Let's hope that I can finish the other 2 effects in one week's time :(

Monday, July 23, 2012

One Effect Down!

Work in progress!

Today in class, we've learnt how to make scores appearing when the crate exploded. Hence I've applied it to what I need to do for our project. Hence I started off with creating the script, and then created multiple words and let it come out randomly. Here's two words that actually appeared after the ingredients were caught.



Script that do the fade up


Script that after its being caught, the words come out.



The red underlines and box are where the random script is and destroying itself after few seconds.


Sunday, July 22, 2012

Alternative

Since I kinda forget how to do the splat and I tried contacting Mr Ron, but he wasn't available, I've decided to start on the compliments first, so I'm struggling in between using a hand sign as "good" or words.

Using pop out words give me a lot more variety to put than using hand signs, but... Hand sign are more straight forward. Here's some picture for words, its actually good but in almost every game they do that. Unless, we accumulate many thumbs up and then a combo word will appear, hence we'll use both. Still considering between which two to use, OR we can use both.





Thursday, July 12, 2012

Dusty Dust

Here's my sand for the floor







Here's my dust particle exercise for last class, which was done during the week for this blog post. From the very first picture, you can see that the dust is actually in huge lumps, very ugly and doesnt' even look like dust. Hence I've changed the start size to something smaller and having it to emit lesser particles, then it look better, like the second picture.

After tweaking it for a little while, I managed to acheive the 3rd picture as shown above. This time, I think that the colour is a bit off as there's a lot of white particles that can be seen and the dust can be further improved. After many tries of changing the numbers, I've finally gotten the last picture as seen above. It would be nicer, if it could be intercepting the legs but I do not know how to do that. So this is the end of my dust exercise process!


(I couldn't enter captions on top of the picture cause blogger doesn't allow me to "space"!!)



So as for my assignment, I was trying to put the splat script in, and putting it on the food ingredients but it doesn't seem to work as what I've saw/learnt 2 weeks ago. Still working on it and getting really impatient with it.




Thursday, July 5, 2012

Let it snow let it snow let it snow

Here's our CG snow flakes! Last lesson, we had a short lesson doing ripples with houdini, and we were asked to actually replace the snow with snow flakes. So I googled images of snowflakes and here I am, with a purple/blueish snowflake!

Here's a screen shot of my snowflake moving, different color arrows represent different things.
  • Green
    To show the snowflakes are coming down in different sizes
  • Pink
    The snowflake are slowly fading out (destroying) itself
  • Black
    Its not just coming down in one direction, one way, its rotating while its falling!

Lastly we were allowed to ask questions regarding our games! So I think the splat script is difficult, or it won't be easy, hence I've consulted Mr Ron and asked how to do the splattered part. Still working on the script together with our game. That's about it this lesson!


Sunday, June 24, 2012

3 Effects for Me

Effects I intend to add in this game!

☇Well Done, Good, Excellent, Combo, Whoopsey! Appearing when the ingredient landed, or whoopsey will appear when the chilli lands on the player's hand.
  • Adding a compliment is very interactive in a game!


☇When there is a combo acheived, there will be a time freeze together with it for about 10 seconds?
  • Freeze will be at the corner. Maybe it can be done by doing a texture and then when its supposed to be freezed, there will be a fade in or fade out effect.




☇Splat of juices from the cheese, patty, when it lands on the floor.

  • When the player missed and the patty drops on the floor, it will cause this splattering effect that is on the wall in these examples.



Tiny little bit left

After two weeks of extra time given, we've tried our very best to complete the game. Scripting was really difficult because a lot of the scripts are way beyond what we've learnt in class, and checking out forum did help, but it doesn't apply to everything we need. Hence we only get it more or less done but not perfect.

Problem we faced at first :
  • The food doesn't stack nicely
  • Even after adding box collider to the table, the character could still go through. Box collider to the floor, yet the food still can drop through it.
  • Replacing the old scene to the newer one. Newer one as in the wall can be seen double sided already, and some error occured, like we couldn't make the direction of the burger go to the the correct way even if we changed it to the correct axis.
  • Making the explosion because its difficult to catch one ingredient, let alone the chilli. So we could hardly even try it properly on our final game
  • Since the food is shooting out randomly and the guy was moving too fast!

Problems we try to solve :

  • Box collider to the table and the floor so that the food can land instead of dropping through ✔
  • Replacing the newer scene. We opened the newest scene, and the slowly put in the script one by one. Starting from the Start Menu, to the Instructions, spawnPoint, shooting script, food force script, slowly one by one, we add it in. If any problem surfaced, we get to know where's the problem and we could solve it immediately, or at least try solving it.
  • Regina and I was supposed to do the explosion of the chilli, but Joseph did it in the end. Hence its he's credit ✔
  • The food was shooting out randomly, too fast and its almost impossible to wait for a top bun and catch it, we've decided to implement the time system so that at least there'll be an ending to the game instead of just waiting and waiting and missing the top bun we wanted at the beginning ✔
  • Guy was moving too fast, slow down effect was added by hitting "F" and to get the effect off cause it gets your point negative, just hit "G" to return to the orignal speed again. ✔

3 effects per person is really quite a lot, cause our scene is only a simple kitchen but we'll still work on it, think of stuffs to add but not redundant effects. Probably a "Good job", "Excellent" will appear once the ingredient land on the box. Need to squeeze some brain juice here.


Anyway, here's all the screen shot of work which I did and some together with other group members. Right from the beginning!

Start Menu


Instructions


Textured Kitchen Scene


Flip Script


Ingredient Axis and force


Spawnpoint's Script



Game while on play mode



That's about it for our game up till now for about the past 6 to 7 weeks? Yeah we'll carry on working on it till the last week of the semester!

Sunday, June 3, 2012

The week before presentation




The layout of our game is all done! Like the start game, pause, instructions and game over. Kitchen scene set up, chef and player are done too. What we're left and stuck in is scripting them all together. Previous week, Regina and I worked on the script for the ingredients to shoot out. But what we face is that we can't make the ingredient is to have a arc when its coming out of the prefab.

 For this start menu, I added a little small "instruction" by the right side, and then it'll jump into the instruction menu to teach players how to play the game.



This is the script we did and allow the ingredient to come out randomly, at random timing.




Halfway till the completed game, let's hope we can finish it by today!


Monday, May 21, 2012

Short update

Since its e-learning week, here's a short update of our kitchen its considered done ask everything is textured and the lighting might change to suit the environment in the real game in Unity. I tried looking for games with kitchen in it but its really rare, so I just textured it as how I think it should be in games, since its in games and our game is quite cartoon-ish, so I textured it in a way that it doesn't look like a super realistic kitchen, and yet it can quite lively in this small kitchen. 

So here's the full kitchen picture. 


Using the usual Mia_Material to make metallic results, chrome or metal for necessary parts, refine a little of the models. 

The lower part of the kitchen, slightly close up. 


 Sauces corner. 


Upper part of the kitchen. 


Looking forward to combine everything together and scripting the whole game and make sure it works. Time is running out, and I'm quite excited how the end product of the whole game will be like! Let's hope its fun! 

Sunday, May 13, 2012

Week 4

Since last monday I wasn't here, my group members actually modelled the burger, kitchen, and putting the hand model into Unity as the capsule. So from this week onwards, I'll continue on texturing the kitchen and make it look real.



                                      

This is the kitchen that I'm going to re-texture after she change a few more parts of the kitchen.

All these will be my reference to texture the kitchen.






So instead of having a boring "Start" button in the center of the screen, so I've decided to place a burger in the center and say "hit the burger to start making one" to make it more interesting and with that, we need to make a circle instead of a rectangle in the script and make it transparent so it can be hidden from the player. So this is another way of making a way to start game!  


Will continue working on it together with the script!