Wednesday, April 2, 2008

13 hours before submission...



My latest screenshot of my games. Submission in roughly 13hours!

I still need to implement:
  1. Scoring system
  2. Coffee and order selection
  3. Doxygen for commenting
  4. Flash screen

Monday, March 31, 2008

In progress... 2 more days!


I got something working... 2 days left... Pls2... I need to finish this!

Coffee - Purple
Orders - Green

Next implementation:
1. Detection collision and post-action
2. GUI design
3. Scoring Class and Implementation
4. Commenting and misc
5. Last release via SVN.

Thursday, March 27, 2008

Choose your editor


It's always good to have a nice editor for my programming. For this, I dont need IDE. I've tried Xcode - well it's ok but sometimes these IDEs sure makes simple things more complicated. For eg, making use of makefile or batch compiling using bash command.

So I found 2 good editor for mac - TextMate and TextMangler... Eventhough TextMate is not a freeware like TextMangler, I prefer this one because the font is bigger. (perhaps i still can't figure out how to configure TextMangler)

Anyway, here's some screenshots oh my working environment.

Layout Design with Photoshop/gimp/others

Photoshop or any image editor program can make your life easier when doing some layout design for your game.

Tuesday, March 25, 2008

if(Stress) { drink(coffee); cast->Chillax(); }

If you're stressed... take a break! really helps... a lot!

I was debugging this silly linker problem with my C++ until 2 hours later I've realised that I made a silly mistake.

Earlier, I wrote:

#include "something.cpp"

omg! that was a really silly thing to do in C! why couldn't trace this ?? sigh....

so take a break... short break.. long break... doesnt matter.

doing programming is like releasing the enegy by opening all your chakra blocks... you have to be calm and relax... if you don't know about this, go watch Avatar: the Last Airbender / The Legend of Ang.

Monday, March 24, 2008

Constructors in C++

From http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.3
Can one constructor of a class call another constructor of the same class to initialize the this object?
NO ( i did this before because in Java, it's supported )

About This Blog

Hello everyone. Ty for dropping here.

I've created this blog a moment ago as my own reference for my Assignment 1 on ENEL428 - Software II. I'm learning a great deal of stuffs especially about class, inheritance etc2 based on C++. I did have earlier esposure to Java style and sometimes certains things in C++ doesn't turn out to be the same.

I've spend few days to directly create some advance classes in C++ for my "Coffee Dash" game and I didn't learn much based on collision example by the lecturer! (i still dont undertand why he didnt write the program properly - with comments etc and makes spend sh*tloads of time to understand that) Anyway, then I decide to get rid of everything (yes, start all over again! aaaarrrgghhh!) and program on my own wihtout referencing other ppl style.

So,

Let's the lessons be learnt... happy learning C++