Wednesday, 17 June 2015
Tuesday, 16 June 2015
I have added subtraction to my calculator here is the paste bin for it http://pastebin.com/xL1f0BUV I have also learned how to use the float function to make multiple variables instead of just one at a time for example I would have had to put int b() int a() int result but I just put float a,b result tomorrow I will add multiplication but I spent this class learning about how to use the float function and what it is. Here is a screen shot of the calculator in action http://gyazo.com/243ca6c5fc988eb55355a19a290cf4df http://gyazo.com/484b9b425075e356c16a39761ca9b63d
Monday, 15 June 2015
Thursday, 11 June 2015
oday I learned how to make variables using variable I made a simple calculator and it worked the first time I tried. Here is the code for it if you would like to try just copy it into a compiler and compile it and you have a basic calculator http://pastebin.com/GGwDq7v2 http://gyazo.com/01ece4b8407f4ce8de742d3f19f8f318
Tuesday, 9 June 2015
Today I watched some more tutorials and I learned how to use if/else statments I made a very basic program were you type in your age and it says something different for different age groups here is a link to that program just copy and paste it into a compiler and change your age here (In the code) int age = 101; Pastebin also here is the finished game. http://pastebin.com/eRXEgyTf
Monday, 8 June 2015
Today I learnt about for loops which is is just a different kind of loop and the way it works is you need 3 pieces of information a starting value an ending value and how much you want to increment it by. here I made a line of code where it starts at 1 ends at 10 and goes up by 1. http://pastebin.com/7xwz0T8H if I break down the code and explain it for(int x = 1; x < 10; x++;) int x = 1; is the starting value x < 10; means to keep going until it hits 10 and x++; means add 1 every time I could also put x+=1; and it would do the same thing. http://gyazo.com/089af4ef8671bf15e94b09ef855c38c1
here is another one where it goes up by two and stops before it gets to 20 http://pastebin.com/Z3m3zkHN this is very simple yet very useful
Friday, 5 June 2015
My game from last year was basically done I just needed to add a few things and now its running here is the source code from it http://pastebin.com/wxVWzpwY I also watching this video and learned about functions https://www.youtube.com/watch?v=bsWWHo4KDHE A function is a group of statements that perform a task. Every C++ program has at least one function, which is main()
Thursday, 4 June 2015
Qt broke after windows 10 update happened but its not a problem because I already have codeblocks installed so I can keep doing c++ and I went back to my blog posts from last year and I want to finish the game I never did in c++.I will be posting status updates and will be able to finish before the end of the year
Tuesday, 2 June 2015
Monday, 1 June 2015
Today I learned about spinners and slidders which are basically just spinners or sliders that change the value for example if you move the slider to the right it changes the value up and if you move it left it goes down.
This is useful for when you have a program and you would like the user to input a value. I will post an example tomorrow but I am currently getting a error saying no debugger installed so I think I need to reinstall QT
Tuesday, 26 May 2015
Today I learned about signals and slots and how you can connect things, here is an example of some simple code that I wrote today that lets you interact with the program instead of just printing text onto your screen and you not being able to interact. Here is the code QObject::connect(button, SIGNAL(clicked()), &app,SLOT()); it may seem complex but the ::connect is connecting SIGNAL(clicked()) with SLOT(quit())); so when ever you click it will quit the program here is an example. Its just a small gif of my clicking quit the program and it actually responding
Thursday, 21 May 2015
Today I started QT which is a program that you use c++ on and its very simple and useful. Now instead of printing text into a console if I use QT I can make actually .exe's with actually UI which is alot better than using a console. Here is an example of what I Made as you can see it has an option to push button which just means click and another think that says Text label and when push button is clicked it displays This to make something like this is very simple and I will continue with the videos tomorrow and learn more.
Wednesday, 20 May 2015
I added a while loop to my game so until who ever is playing presses 4 they can keep choosing items. http://gyazo.com/f9b2d4b1d184a09f43c61c35779ff5f0
I finished the program it is quite simple and just displays text but if you look at the Code its very complex for something so small and that is because I used ifstream objectFile("objects.txt"); which grabs all the information from a txt file and displays it onto Here I am going to continue following his tutorials as I actually enjoy c++
Tuesday, 19 May 2015
Thursday, 14 May 2015
Tuesday, 5 May 2015
Monday, 4 May 2015
Thursday, 30 April 2015
Today I learned that cloud drivers are great and that I should always make a backup. Luckily I had a backup of my unity file I found in google drive so I didnt lose my project and do not actually have to restart.But I will be using google drive over dropbox since my last experience with Brady. I got to start the player A.I I have his animations done but I do not have the Rigidbody setup so he just falls through the ground, I will be able to continue on Monday.
Wednesday, 29 April 2015
I continued my survival shooter game and fixed an error where my player would not move. The error was coming from the player controller which was turned off for some reason...Also today I finished the player camera so when I start the game it follows the player around, I will finish the enemy tomorrow
Thursday, 23 April 2015
Tuesday, 21 April 2015
Thursday, 16 April 2015
Wednesday, 15 April 2015
Tuesday, 14 April 2015
Monday, 13 April 2015
Friday, 10 April 2015
Today I started on the actually player its self which will take a around 2 classes to complete here is a working animated gif of the players movement and how it looks. I will post better and more detailed updates of the player as I progress.
Wednesday, 8 April 2015
I finished the Enviorment it was really easy to do basically just drag and drop tomorrow I will start the player I was suppose to start today but I had more errors.
Tuesday, 7 April 2015
I feel that the roll a ball and space shooter are just really a waste of time and boring so I started the Survival shooter I am really enjoying this I setup the enviorment and tomorrow I will be creating the character and posting screen shots
Tuesday, 31 March 2015
I am getting an error with the player collision I just restarted my player object since I wasnt that far any way and it was becoming a waste of time trying to figure it out. After the restart its no longer giving me an error and I will be able to post a screen shot status update tomorrow depending on if any more errors occur.
Yesterdays post
Yesterday it wasnt allowing me to make this post im not sure why I was clicking publish and it just didnt respond. Anyways Yesterday I finished setting up the program by downloading all of the assets"Sprites,Background and all that good stuff" I have created the background and imported the player object I will post screen shots as I get further into this and have something to post.
Friday, 13 March 2015
Last class I lost the ball project I was creating so I just switched to the harder one, the Space shooter http://unity3d.com/learn/tutorials/projects/space-shooter/the-player-gameobject I created the player object, downloaded all the essentials and basically just set it up. I might work on this at home over spring break.
Wednesday, 11 March 2015
Tuesday, 10 March 2015
Monday, 9 March 2015
Data Types I & II: Numbers & Strings. Strings are sequences of characters
Find the length of the string by writing a period (full stop) and the word length, like this:
"string".length In C# length is (characters.Length) after the knife of code
Length counts every character in the string - including spaces!
C++ software was generating way to many errors so it looks like I will be starting unity which utilizes C# which I should be able to quickly adapt to.
Friday, 6 March 2015
I have been getting a error when installing DirectX SDK which is basically what all 3d video games run on but the SDK stands for Software development kit. I finally fixed the error by uninstalling Visual studio installing DirectX then installing Visual studio again so next class I will completely ready to start.
Wednesday, 4 March 2015
First post
I have spent about a week of messing around trying to get my essential software up and running but the laptops and windows 10 have been giving me alot of problems, such as taskbar not working computer being completely restored for no reason at all(happened two times) and slow wireless speeds so the software takes a long time to download. I started watching this Directx c++ series I have made it to episode two and have a long way to go since hes has many episode so that will most likely take up the whole year.
Subscribe to:
Posts (Atom)