- Viewing Profile: Reputation: phil67rpg
Community Stats
- Group GDNet+
- Active Posts 1,070
- Profile Views 6,090
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
User Tools
Contacts
phil67rpg hasn't added any contacts yet.
#5002811 open gl game
Posted by phil67rpg
on 20 November 2012 - 06:50 PM
#5002182 drawing to windows with the mouse
Posted by phil67rpg
on 18 November 2012 - 07:03 PM
#4997060 erasing text
Posted by phil67rpg
on 03 November 2012 - 08:07 PM
#4996954 erasing text
Posted by phil67rpg
on 03 November 2012 - 02:03 PM
#4996341 erasing text
Posted by phil67rpg
on 01 November 2012 - 04:58 PM
#4995682 erasing text
Posted by phil67rpg
on 30 October 2012 - 09:43 PM
#4995658 erasing text
Posted by phil67rpg
on 30 October 2012 - 07:49 PM
{
switch(wParam)
{
case ID_TIMER:
{
HRESULT hr=D3DXCreateFont(g_pd3dDevice, //D3D Device
22, //Font height
10, //Font width
FW_NORMAL, //Font Weight
1, //MipLevels
false, //Italic
DEFAULT_CHARSET, //CharSet
OUT_DEFAULT_PRECIS, //OutputPrecision
ANTIALIASED_QUALITY, //Quality
DEFAULT_PITCH|FF_DONTCARE,//PitchAndFamily
"Arial", //pFacename,
&g_font); //ppFont
D3DCOLOR fontColor = D3DCOLOR_XRGB(0,0,0);
RECT rct;
rct.left=200;
rct.right=600;
rct.top=20;
rct.bottom =50;
g_font-> DrawText(NULL,"Welcome to DX9 Pong",-1,&rct,DT_CENTER,fontColor);
KillTimer(hWnd,ID_TIMER);
}
break;
}
return 0;
}
I am using the windows timer function to draw black text to the screen to cover up red text which I already drew to the screen.
I am trying to erase text for my pong game.I have done a lot of research on this topic but I still need help.
#4995282 font text
Posted by phil67rpg
on 29 October 2012 - 09:41 PM
case WM_TIMER:
{
switch(wParam)
{
case ID_TIMER:
{
HRESULT hr=D3DXCreateFont(g_pd3dDevice, //D3D Device
22, //Font height
10, //Font width
FW_NORMAL, //Font Weight
1, //MipLevels
false, //Italic
DEFAULT_CHARSET, //CharSet
OUT_DEFAULT_PRECIS, //OutputPrecision
ANTIALIASED_QUALITY, //Quality
DEFAULT_PITCH|FF_DONTCARE,//PitchAndFamily
"Arial", //pFacename,
&g_font); //ppFont
D3DCOLOR fontColor = D3DCOLOR_XRGB(0,0,0);
RECT rct;
rct.left=200;
rct.right=600;
rct.top=20;
rct.bottom =50;
g_font-> DrawText(NULL,"Welcome to DX9 Pong",-1,&rct,DT_CENTER,fontColor);
KillTimer(hWnd,ID_TIMER);
}
break;
}
return 0;
} I am using the windows timer function to draw black text to the screen to cover up red text which I already drew to the screen.
#4986552 [SOLVED] c++ sorting problem
Posted by phil67rpg
on 03 October 2012 - 03:32 PM
#4942744 [FAST] What book should i Buy
Posted by phil67rpg
on 23 May 2012 - 07:37 PM
#4942073 [FAST] What book should i Buy
Posted by phil67rpg
on 21 May 2012 - 09:11 PM
#4941094 APPCRASH
Posted by phil67rpg
on 17 May 2012 - 08:30 PM
yes I start the app and wait then it crashes.So you just start the app, and wait 2 minutes, then it crashes?
#4930470 First programming language: C, Python or something else
Posted by phil67rpg
on 11 April 2012 - 09:21 PM
#4930446 hi if you are new to any aspect of game design(like me) but want to work...
Posted by phil67rpg
on 11 April 2012 - 07:18 PM
#4930442 hi if you are new to any aspect of game design(like me) but want to work...
Posted by phil67rpg
on 11 April 2012 - 07:11 PM
- Home
- » Viewing Profile: Reputation: phil67rpg


Find content