Game development studying Whole by Maxim Zavadskiy: Game Programming Basics 2 : My first diary in this course.

My first diary in this course.

Posted by Maxim Zavadskiy on 04 December 2011, 4:57 PM

As always I leave everything on the last day.  So I'm a bit in a harry but I hope I will do the task well.

It my first exprerience with this service and I don't know much what customs here. So let's start from lectures. I started to do first lesson on 4 p.m. let's see if it will really take 10h).

1.Lecture: Build automation and Nant (20 min)

What is build automation: remembered makefiles I did in unix to compile my projects. Let's see if it's similar

Oh I'm lucky! I managed to find a bug in Adobe tool for video lectures(no sound). I have to reload it...

I didn't understood why we will use Nant not Apache ant? what are their pros/cons?


How to create Nant files: I seen that stuff when dealing with IDEs,e.g. CodeBlocks Ide or FlashDevelop. But why do we have to know much about those building scripts if IDE will do all the work instead of us?

These scripts are cross-platform, e.g. they are used in several range of IDEs? Why we have choosen ant script  when there're plenty it seems other builing scripts? 

Yeah, what I like in XML, that it's universality. I see it can be applied everywhere. I'm a bit used with it so it will help me understanding build scripts.

Example of simple build file: Now I see it's like old-school makefile. But it has nice advantage: unlike linux makefile it seems to be platform independent, I don't see any gcc -o...... like in that makefile. That's very nice because I love freedom - cross-platform things. But I would like to see hierarhy of all those scripts to understand which is related to which and when we use one, when another. I think we gone to fast and concetrated immediately on Nant. Maybe it seems for me so because I didn't learnd first part of this course.


Nant tasks: about nunit. What if I want to use another unit testing tool? Does nant support such things?

 

2.Installing Nant

Oh gosh! As always it requires lot's of headackes to do smth useful in Windows). I'm happy I can do it in Linux as easy as double-click on needed package in Software Center of my Ubuntu:)). Fine is that, it seems that corrently it's more convenient to make games in Unix but play them in Windows:D. I think it's a matter of the time. Soon we'll play all the games in Unix;)(I hope so)

Not sure if my blog is autosaved each time so I have to save and open it again from time to time - quite irritating.

 

3.nant_demo_writing_build_file: I though that Mono develop IDE will create this build file automatically and the use is when building. In my opinion it's the most simples and cross-platfrom way. Could you tell how Mono is building the project actually?

I have seen an online course about XML programming. But now I'm not sure whatever i should study that or not if I will study some XML in this course. What would you advice me?

There was no need to delete Release and Debug folder manually when we could create Clean target. We are using Nant script all the way, aren't we?

Oh ups, actually there was added Clean later, np then:)

Properties checking  in curly bracket seem to have different syntax from XML. What's this?

It not that convenient to point dlls for nunit testing. Why Nant doesn't support nunit testing without that stuff, it can look automatically for needed dlls. Also it would be nice if we could use other testing tools without changing lot's of studd in the script.

Finished these video lectures at about 6 p.m.

Decided to skip brush0up excersices for I have no time this time(.

Now let's do the main part. I see I have to recird video of what I'm doing. Well to be honest I don't feel comfortable when someone is looking what I'm doing. I mean video makes me nervous. But anyway let's see.

Oh no! It seems that Unity is not available for Linux! Such a dicrimination:)! OK, I see no need in it this time.

So firstly let's make a vpn connection. Let's look at video demo...

I installed the shrew tool for my ubuntu through soft center but I was not able to login to the VPN. I'm trying to install it with Wine.

AT LAST! I spent severla ours to make a vpn connectionfrom Linux.

Now let's do the coding...

I got all the time unable to create directory when unzipping. The problem was that on Linux the Fat32 disk where I had the build supported badly:(. When I did all that stuff in th home directory it went fine!

I got a huge recorded video. I don't know how to uploa such a file on the youtube with me speed of 100 Kb/S. I'll try to compress that stuff.

I finished the task at 9:35 p.m. It took me about 4.5 h to do this. Not 10h but it was really long for such simple task.

Here's the video: http://youtu.be/9QWVnplPfiY

The build file is now attached.

Attached files Attachments 1

3dDownload.build (1.2K) - Download

Feedback

anonymous profile picture
office.com/setup
As an Office tech support executive well praised among the customer to help them in resolving their queries related to office setup. As problem or queries can turn up at anytime so you should be ready for it, just visit Office.Com/Setup and download the latest office setup. While doing so if you come across any difficulty then you can make connection with me on the said below link:

<a href="https://officecomsetup.com">office.com/setup</a>
anonymous profile picture
Peter Anderson
Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man,Keep it up.
http://ukwebroot.com/
http://go-avast.com/
http://ca-bitdefender.com/
http://www-eset.com/
http://webrootpro.com/
anonymous profile picture
123.hp.com/setup
To activate the hp printer Before you start with the 123.hp.com/setup network configuration as well as downloading and installing the printer driver, you must first set up the hardware of yours.nce you click on this, you can download HP printer setup easy way. Follow the instructions on the screen to complete the installation.

http://123hpcomsetup.de/
anonymous profile picture
Office.com/setup
We will provide a process that helps you to download and install the Office application in order to enhance your experience with its various products. The Office offers an ultimate range of subscription-based services like Powerpoint, Word, Excel, Access, Outlook, and a lot more.

http://officecomsetupo.com/
http://officecomsetupo.com/office-com-myaccount
http://officecomsetupo.com/office-login
anonymous profile picture
netrockdeals
<a href="http://netrockdeals.com/store/clovia-coupons/">clovia coupons</a>
<a href="http://netrockdeals.com/store/club-factory-coupons/">club factory coupons</a>
<a href="http://netrockdeals.com/store/colorbar-coupons/">colorbar coupons</a>
<a href="http://netrockdeals.com/store/confirmtkt-coupons/">confirmtkt coupons</a>,
<a href="http://netrockdeals.com/store/coolwinks-coupons/">coolwinks coupons</a>
<a href="http://netrockdeals.com/store/country-delight-coupons/">country delight coupons</a>
<a href="http://netrockdeals.com/store/decathlon-coupons/">decathlon coupons</a>
<a href="http://netrockdeals.com/store/dell-coupons/">dell coupons</a>
<a href="http://netrockdeals.com/store/dominos-coupons/">dominos coupons</a>
<a href="http://netrockdeals.com/store/dr-batras-coupons/">dr batras coupons</a>
anonymous profile picture
Norton.com/setup
Norton provides industry-leading antivirus and security software for your PC, Mac  and mobile devices. Download a NEW Norton 360 plan - help protect your devices against viruses, ransomware, malware and other online threats. https://n-norton.com/
anonymous profile picture
Office.com/setup
If your purchase of Office came with a product key, you enter your product key on one of the websites listed below for your version of Office. After you enter your key, you can download and install Office, or you can renew your Office 365 subscription. https://officesetup.support/
anonymous profile picture
office setup
Office Setup at www.office.com/setup, office setup is easy to install simple few steps, go to office.com/setup login with Microsoft account, put product key, and start downloading office setup.
https://officesetup.support/
anonymous profile picture
Norton setup
Norton.com/setup - For Downloading, Installing and activating the Norton product, visit www.norton.com/setup and Get Started with Norton Antivirus at norton.com/setup. https://n-norton.com/
anonymous profile picture
Office.com/setup
Office Setup www office.com/setup: Go to office com/setup. Sign in with your account. Enter your Product Key. Download and Install Office Setup. Run the Installation. “You’re all set! Office is installed now. http://myoffice-setup.com/