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.

DarkBASIC Professional Discussion / Distorted Sprites...

Author
Message
iaretony
23
Years of Service
User Offline
Joined: 6th Jun 2003
Location:
Posted: 6th Jul 2003 00:16
So, I've got a basic physics model running, and my little skateboarder jumping around... But his sprite comes out distorted! It looks like their is some noise in their that I know isn't their in the saved .png.

I'm using
load image "foo.png", 1

and then

sprite 1, 10, 10, 1

Is this the wrong technique?

Tony
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 6th Jul 2003 00:50
use
load image "foo.png",1,1

The extra ,1 stops dbpro from messing with the image when it loads it.

Login to post a reply

Server time is: 2026-07-17 21:01:13
Your offset time is: 2026-07-17 21:01:13