I love playing bejeweled... been playing it whenever i bored or feel overly stressed. I played 4-5 hrs straight b4 =x Yest i saw a interesting news... apparently this guy knowing that his gf love to play bejeweled too... he actually created the game from scratch and port it into the nintendo ds since the ds do not have this game... (meaning he did de entire CODE!!! being a major in progamming, i can ensure it is really hard to program .... i tried to figure out... but failed miserably T.T) Actually the game is for his wedding proposal. When the gal play to a certain score.. an animation of a ring will appear!!! Cool riet ~ U can see read his blog here... he is indeed a geek =x
I once visioned to be a game programmer.. but i just not up to it. And my confidence when a 12 yr old actually figured how to program a brick game from scratch... after so many yrs of learning i still cant get anywhere near... looking at de things i done ... i wonder how i did it? =x Part of an example =x
//draw 'score' CFont font1,font2, *old; font1.CreatePointFont(100,"Arial Black",pDC); //change the font type and size old = (CFont *) pDC->SelectObject(&font1); CString text1("Score:"); pDC->SetBkMode(TRANSPARENT); pDC->SetTextColor(RGB(255,255,255)); pDC->TextOut(0,5,text1,strlen(text1));
glPopMatrix(); // Tell OpenGL to flush its pipeline ::glFinish();
// Now Swap the buffers ::SwapBuffers( pDC->GetSafeHdc() );
PostRenderScene();
m_previousElapsedTime = m_ElapsedTime; }
Apparently it is part of my game where i used it to update de score... but dun ask me how hahaha.
9:07 pm
Monday, April 21
I love playing bejeweled... been playing it whenever i bored or feel overly stressed. I played 4-5 hrs straight b4 =x Yest i saw a interesting news... apparently this guy knowing that his gf love to play bejeweled too... he actually created the game from scratch and port it into the nintendo ds since the ds do not have this game... (meaning he did de entire CODE!!! being a major in progamming, i can ensure it is really hard to program .... i tried to figure out... but failed miserably T.T) Actually the game is for his wedding proposal. When the gal play to a certain score.. an animation of a ring will appear!!! Cool riet ~ U can see read his blog here... he is indeed a geek =x
I once visioned to be a game programmer.. but i just not up to it. And my confidence when a 12 yr old actually figured how to program a brick game from scratch... after so many yrs of learning i still cant get anywhere near... looking at de things i done ... i wonder how i did it? =x Part of an example =x
//draw 'score' CFont font1,font2, *old; font1.CreatePointFont(100,"Arial Black",pDC); //change the font type and size old = (CFont *) pDC->SelectObject(&font1); CString text1("Score:"); pDC->SetBkMode(TRANSPARENT); pDC->SetTextColor(RGB(255,255,255)); pDC->TextOut(0,5,text1,strlen(text1));