Wednesday, February 23, 2011

References and pointers and const

Gahh!!! Mid-terms tomorrow. Everyone's panicking about const-ness and references! 
Thought I'd write some nonsense for practice.

oh boy so nervous. XD

// chinykian
// 23 Feb 2011

#include
iostream

const int gInt1 = 10;
const int gInt2 = 20;

const int*const& MyFunc (const int*& pI)
{
    pI = &gInt2;
   
    return pI;
}

const int*const& (*pFP) (const int*& pI) = MyFunc;

int main(void)
{
    const int*const& (**const&ppFP) (const int*& pI) = &pFP;
   
    const int* pI = &gInt1;
    std::cout << *((*ppFP)(pI)) << std::endl;
   
    return 0;
}

Sunday, January 9, 2011

Actionscript Awards 2010

Last Friday was the Actionscript Awards 2010 Ceremony and winners and guests alike were invited for the prize presentation. Everything went as expected until one organizer mentioned that the prize winners were to present their games to the audience.



Video courtesy of Wei Liang.

Friday, December 24, 2010

Back! With good news!

The first semester at Digipen is over in the blink of an eye. Boy, was it a busy semester.
.....

A few months ago, I participated in the local Actionscript Awards 2010 competition. As it turns out, I managed to get myself a 3rd place. Yippee~


That said, I really wish the organizers were more efficient - till now, I still do not know what I've won, the website isn't updated with the details either. I suppose I'll need to wait till the prize-giving ceremony for a surprise.

Saturday, September 25, 2010

3rd Week gone by

Okay, I admit it. I probably will not be posting any new updates on Final Boss any time soon simply because I. have. no. time. (I'll still update the blog though)

3 weeks in Digipen has proven to be a little hectic and at times, downright nerve-wrecking(yeah, Math quizzes). Despite that, I'm having a great time in the school- its another step towards my dream of becoming a game developer and quite frankly, that's all that matters to me.

(Okay, maybe the Math quizzes weren't so great)

Thursday, September 2, 2010

School Starts... tomorrow!

Just great. My National Service of 2 years is finally ending in a week, school's starting tomorrow, and I'm no where near finishing Final Boss! The ORD (Operationally-ready Date) mood must be getting to me.

Well... Digipen Singapore, here I come! =)

Tuesday, August 10, 2010

HTML 5 Canvas

I once saw someone posted a link to a game developed purely with Javascript and HTML. While making a Javascript game isn't on anyone's "TODO" list any time soon (view source, anyone?), it does bring to mind the possibility of creating much more complex and innovative web content.

With that in mind I dragged along an experienced web developer friend to guide me while I fooled around with the scripts. Click on the link below to see the result: