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
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
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
publicvar clip : AudioClip; //make sure you assign an actual clip here in the inspectorfunctionStart(){
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