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 / Antialiasing Sprites

Author
Message
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 9th Dec 2011 14:56 Edited at: 9th Dec 2011 14:59
I have a problem with my 2D game. If I rotate my sprite it get´s ugly edges. Has somebody a solution for my problem?

P.S. It's a .png file
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 9th Dec 2011 15:43 Edited at: 9th Dec 2011 15:46
Problem is solved!!!

Just do dbLoadImage("*.png",1,0);
dbStretchImage(1,(X4 size),(X4 size));

dbSprite ( 1, 0, 0, 1);
dbScaleSprite(1,100); // Set Size to normal

And Rotation is SMOOTH!!!
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 10th Dec 2011 02:34
Also I believe you should be using ^2 scaling...

Login to post a reply

Server time is: 2024-11-19 06:36:55
Your offset time is: 2024-11-19 06:36:55