Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Need help with setting a animationsprite over/on an sprite

Author
Message
Alahadi
14
Years of Service
User Offline
Joined: 24th Dec 2009
Location: Sweden
Posted: 14th Jan 2010 12:43
My code:



I want the animation the be on/over the sprite(Image that I uses as background).

How do I do this?
AlecG
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 14th Jan 2010 19:17 Edited at: 14th Jan 2010 19:32
WOW! Why did you do all this???
1) First of all you don`t need to use <d3d9.h> or <windows.h> header files they are allready included in "DarkGDK.h".
Delete "void game ( void );" i never saw such declaration:

#include "DarkGDK.h"
void game ( void );
#include <d3d9.h>
#include <windows.h>


Use something like this kind of declaration:



2) Next.. delete last "dbSync();" you don`t need it...
and this is LOL never do yhat!



Try rhis code:



Best Regards

Dark GDK IS THE BEST!!!!

Login to post a reply

Server time is: 2024-10-01 20:14:37
Your offset time is: 2024-10-01 20:14:37