Tuesday, May 28, 2013

Unity Get Data From Web

Ok, So after another 2 month did not coming back, i finally decided to come back and code code code

so today I will learn how to get data from the web and put it back into unity

the best tutorial I found is on

http://forum.unity3d.com/threads/24721-Tutorial-Unity-and-PHP-login-script-simple-but-useful



Sunday, March 3, 2013

update 3 march 2013

ok, so 10 month have been passed and I still haven finished my game

the entire world including me is dissapointed with me,

yes, I am too lazy, too slow, too unmotivated,

so today I want to push myself again,

so today I will try to finish a furniture shop layout then the character can go into the furniture shop to buy some furniture, then go into the house to place his furniture

ok

1. have you done the furniture shop outside? yes
2. have you done the furniture shop inside ? ok done



3. Can the player interact with waiter and go into shopping furniture menu? Yes
4. Can the player exit from the shopping menu? yes
5. Can the player bought the furniture? yes

Tuesday, February 19, 2013

update on 20 feb

So today I continue to push myself to build a furniture shopping menu

my goal is to finish 3 task

1. furniture shopping menu let user choose furniture to buy
2. push furniture into inventory
3. let user furnish their house with the furniture they bought

goal 1 is finished here is the result



goal 2 is to push furniture into player inventory once purchased, this is fine just an arraylist

goal 3 is to furnish the player house with the furniture they bought
- here need to design a bit,
- the layout need to rethink

let say i have 40 furniture
maybe start with top big button "inventory", then show me 40 inventory i have, let say i click one of the inventory, i can then move it across x,y,z and rotate, put or take, so i can furnish each of my 40 inventory

but i cannot just load every furniture everytime i go into the house because the player might not buy all furniture, this is the hard part

can only load the stuff the player bought, this is really headach, for the time being, i will just load all, sigh

now head pain, time to procrastinate again, sigh sigh sigh


Sunday, February 17, 2013

update on 12 feb

Ok, So maybe today i push a bit also

what should i do next, my cloth shop only have the outer design but dont have the inner design

1. get the inner design
Ok, i have done it before copy paste in and add in 24 texture for player to chose which one for their shirt and pants


But all those ugly texture, i guess i worry about that later

the next thing is how to do a buy sell? I guess I just add an unlock button and let player to unlock themself


update 17 feb

Today I will try to build a furniture shop, and try to let player buy furniture to furnish the home

this is very tricky because I am not sure how to do those thing yet

probably is to first let player select furniture to buy then push it into the inventory

once at the home, player can put the furniture on their home

1. Have you done the furniture select to buy yet? this is a big part so no
a. Done the layout? yes i copy paste the cloth shop
b. Put the furniture icon in? not yet, because there are so many of them, okok i put in 3 first

ok, become lazy again, watch youtube, play games, tv, procrastinate first, bye, i swear i will come back to complete this

Saturday, February 9, 2013

update on 10 feb

Ok, I have rest another week without doing anything , so i push myself to move a bit

Ok, so what am I going to do today?

Cloth shop maybe? ok

first step, have you finish the outer cloth shop? yes

second, have you finish the interior of cloth shop? not yet

- what do i need inside a cloth shop?
- a cashier
- a desk to put cashier
- a sale person
- a bunch of cloth rack


Done my cashier


Done one T-shirt
Done Shirt Rack

Done a cloth shop

Ok, I am tired, rest first, bye


Saturday, February 2, 2013

How to Play Sound On Unity

Here is what I found

1. Create a new javascript
2. Paste in below code

public var clip : AudioClip; //make sure you assign an actual clip here in the inspector
function Start(){        
    audio.PlayClipAtPoint(clip, Vector3 (5, 1, 2)); 
}
3. Drag your javascript to your object
4. Drag your sound clip into the variable "clip"
5. Just run your game and the sound will be played

Saturday, January 26, 2013

Unity Transparent Color on your object

So today I hit again this problem

When i export my bunny from Blender into Unity, I cannot see the eye and the nose

so this is what I have found to have fixed the problem

1. On your blender, on edit mode, select the area or face of your object
2. Press 'W'
3. click "switch normal"
4. reexport your object into unity


Now you can see the object color from the outside



Today Push

So what should I do today?
- Bunny game similar to the mini car game

1. What item do you need? Carrot and Bomb and Bunny
2. Have you created Carrot? Yes
3. Have you created bunny? Yes, last week
4. Have you created bomb? Yes, few days ago
5. Can your bunny run? Not yet, after 10 minute, done
6. Put all thing in? Yes


Wednesday, January 23, 2013

Mini Car Game Using Blogging to push myself to work

Ok, lets try this strategy again

I will use blogging as a tool to push myself to work, I done it yesterday where I ask my self question by question and I answer it myself with the work that I done

OK, lets start

1. Have you created 10 coin in the game for your car to get? Yes
2. Have you created 10 bomb in the game to hit your car? Yes
3. When you hit the coin , did the coin dissapear? Yes
4. When you hit the coin, show user coin counter? Yes
5. When you hit the bomb, game over? Yes

Well, here is the result

So it really worked, if you find yourself unable to start working, you can use this simple strategy, just start a new blog, then you ask yourself some question, then you answer it yourself by working on it, little by little, you can finish it

Tuesday, January 22, 2013

Another Cycle of laziness and hard to push forward

I can sit in front of my computer watching youtube but I cannot start the work

I think this is because the programming part is very difficult and it give me a headach and I just wanna run away from it, my brain refuse to process and compile the thing

I dont know how to fix it

So day after day, month after month, year after year passed by and I still cannot finish my game

I will have lame excuse such as, "I will do it tomorrow", when tomorrow come, I will say "I will do it this weekend when I am free", during the weekend, I will say "I will do it at night", during the night I will say "I will do it during midnight", and during midnight I will say "I am tired, I will do it tomorrow". The cycle continue and it really suck


I guess the hardest part is to sit down and start working

or

I try to force myself working by brainstorming all the idea by writing it down on this blog, will it work?

ok, here it goes, let say I wanna finish a simple car game,

How to even start?
1. Do you have the car ready? Yes done in blender
2. Can you control the car in the game? Yes done in unity, I can drive the car around
3. What is the objective of the game? Well, you drive your car chasing the coin, and try to avoid the bomb
4. Do you have your coin ready? Not yet, I go do it now, darn....
(after 5 minute)
here is the pic
5. Do you have your bomb ready? Not yet, I go do it now, darn....
(after another 5 minute)
here is the pic
6. Have you done the coding where you move the bomb and coin around ? Yes I have done it
7. Have you done the coding where you can detect collision with your car and coin? Yes
8. Collission with your car and bomb? Yes

9. Have you created 10 coin to running around? Not yet, tired already , tomolo
10. Have you created 10 bomb to running around? Not yet, tired already, tomolo


WELL, IT WORK, WHILE BRAINSTORMING HALF BLOG HALF WRITE I CAN DO STUFF

Monday, January 7, 2013

Today Progress: Blender Created a Bunny

Well, today I created a bunny using blender

not perfect but still better than nothing


Sunday, January 6, 2013

Year 2013 resolution: publish my first game on apple appstore

I need to set a goal for this year

I really want to finish my first game and then publish it into apple appstore

then, i wanna build another 24 cool and unique game and publish it into the appstore


many months have passed(since June so it mean 7 months have passed) and I have not yet completed my game,

OH MY GOD!!!!!

PRAY HARD, WORK HARDER

GOD BLESS!!!!!

Today Progress: Build a simple cross bridge game

Well, the game is simple, just cross the bridge

but some bridge will collapse and you will fall and game over

it depend on the luck

if you can cross the bridge you can earn more money


Wednesday, January 2, 2013