I was playing games and watching tv and continue working for my daily job for this 2 whole month but I never gave up my dream to becoming a very successful game programmer
So I finally decided to stop playing online games and stay focus
Today I am going to learn how to make a 3D game instead, since I guess 3D is cooler and more challenging and if i can do it I rock
So the very first thing is to download blender , a free software that let you create your 3D object and then download Unity3D that you can use to code your 3D game
after playing around for 30 minute here is a product of my 3D character
yeah, yeah it suck ball but hey, this is my first 3D creation so give me a break
things that i learned
1. middle mouse click to rotate
2. tab to change to edit mode
3. right click to select the surface while in edit mode
4. E to extrude
5. Red ball to change color
Wednesday, October 24, 2012
Sunday, September 9, 2012
Okay I failed to quit my job
Ok, it been another 10 days and nothing have been going on
My boss ask me to continue to work for him as the project cannot finish and he cannot find another person to finish the thing off
So I agree to continue to work for him until the project is finish maybe another 2 to 3 months only afterward i can really "quit my job"
And in the mean time, I should really try to at least accomplish something
My boss ask me to continue to work for him as the project cannot finish and he cannot find another person to finish the thing off
So I agree to continue to work for him until the project is finish maybe another 2 to 3 months only afterward i can really "quit my job"
And in the mean time, I should really try to at least accomplish something
Monday, August 27, 2012
Its almost 2 months and I have finish nothing?
Well, I first started this blog on June and hoping to at least finish some simple game and I am not too proud to say that I failed, due to my laziness and just gaming and playing with my free time and not enough concentration and effort put into this
Well, guess I will start doing something today, yes, since I started my simple forex game, so I guess I will study how to plot a simple chart first for today objective
Okay after a 5 minute searching I found that there are 2 library I can use to plot the char, one is the power plot and one is the core plot
After a quick view for both, I found that power plot is more simpler even though the feature might be less, I will go for power plot then
Hmmm, after one hour of trying and coding and I am still failing, and I already feel tired, I will continue tomorrow and hopefully by then I can at least finish plotting a graph
Well, guess I will start doing something today, yes, since I started my simple forex game, so I guess I will study how to plot a simple chart first for today objective
Okay after a 5 minute searching I found that there are 2 library I can use to plot the char, one is the power plot and one is the core plot
After a quick view for both, I found that power plot is more simpler even though the feature might be less, I will go for power plot then
Hmmm, after one hour of trying and coding and I am still failing, and I already feel tired, I will continue tomorrow and hopefully by then I can at least finish plotting a graph
Tuesday, August 21, 2012
Xcode how to convert integer to String for Noob
Here is how to convert integer to String in Xcode
NSString *temp = [NSString stringWithFormat:@"%d", price];
So let say you want to convert integer "price" into String temp, above is how you do it
Xcode how to convert String to Integer for Noob
Here is Xcode how to convert String to Integer
int temp2 = [temp1 intValue];
Let say your temp1 is a String with value "100" it will convert into integer 100 in temp2
Xcode how to substring for Noob
There are 3 way to substring in Xcode
Let say Your String is "HelloRabbit"
NSString *aString = @"HelloRabbit"
First Way
Third Way NSString *substring = [aString substringWithRange:NSMakeRange(5, 3)];
Let say Your String is "HelloRabbit"
NSString *aString = @"HelloRabbit"
First Way
NSString *substring = [aString substringToIndex:7];
You will get: "HelloRab"
It mean you take the first character until the 7th character
Second Way
NSString *substring = [aString substringFromIndex:5];
You will get "Rabbit"
It mean you take from the 5th character until the end
You will get "Rab"
It mean you start from character 5 and take only 3 character
Xcode how to Concat string and integer together for Noob
Here is how to Concat string and integer together for Noob
NSString *temp = [NSString stringWithFormat:@"Your Money: $%d, Price now is: $%d", money, price];
So your String is "Your Money:$, Price now is:$ " and your integer is money and price
Subscribe to:
Posts (Atom)
