Jump to content

  • Log In with Google      Sign In   
  • Create Account


Halley62373

Member Since 25 Sep 2009
Offline Last Active Aug 24 2012 10:58 PM

Posts I've Made

In Topic: Help! I'm trying to make a game.

23 August 2012 - 12:56 AM

I advise you to go with C++. you can make simple or complex games with Dark GDK and C++.

In Topic: how to rotate a bitmap with DDraw?

24 October 2009 - 11:54 PM

SelectObject(mdc,player);
for (int y=0;y<28;y++)
{
for (int x=0;x<28;x++)
{
BitBlt(tmdc,100+((x/sqrt(x*x+y*y))*cos(t)-(y/sqrt(x*x+y*y))*sin(t))*sqrt(x*x+y*y),100+((y/sqrt(x*x+y*y))*cos(t)+(x/sqrt(x*x+y*y))*sin(t))*sqrt(x*x+y*y),1,1,mdc,x,y,SRCCOPY);
}
}

In Topic: how to rotate a bitmap with DDraw?

23 October 2009 - 02:11 AM

Sorry ,I make a mistake. I use GDI.

I want to make a bitmap moving well rotating ,how can I reach this?

I am beginner ,so sometimes I will mix some concepts,sorry.

In Topic: how to rotate a bitmap with DDraw?

23 October 2009 - 02:11 AM

Sorry ,I make a mistake. I use GDI.

I want to make a bitmap moving well rotating ,how can I reach this?

I am beginner ,so sometimes I will mix some concepts,sorry.

In Topic: how to rotate a bitmap with DDraw?

23 October 2009 - 01:50 AM

I am not sure the code .
maybe like this

BitBlt(hdc,expression,expression,350,250,mdc,x,y,srccopy);

expresson: I forgot the code.

the bitmap can retate with only one function.

PARTNERS