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.

Newcomers DBPro Corner / Can someone help with my 2D sprite code?

Author
Message
CodeOrc
21
Years of Service
User Offline
Joined: 13th Sep 2003
Location:
Posted: 14th Oct 2003 08:20
I'm sure my code shows how little I know about DBPro, but here it goes.

I have a background image that loads fine. I have a 13 set series of images that loads that makes up a right-running routine for my little character. Everything works great...except.

When I run to the right, I get a small set of sprites that follow the leading sprite. It acts as if it is trailing the last 3 or 4 images behind the lead one.

What am I doing wrong?

P4 2.4/ 1gig Ram /GeForce3
Stedders
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location:
Posted: 14th Oct 2003 14:51
I think you need to change where the CLS is placed incorrectly.

try placing it here



I hope that works I can't guarentee it though, good luck.

Stedders

Are Games getting worse or our standards getting higher?
CodeOrc
21
Years of Service
User Offline
Joined: 13th Sep 2003
Location:
Posted: 15th Oct 2003 06:15
thanx for the help Stedders, but the prob still exists.

If I simply move 1 frame across the screen, it works as it should. But when I move through the cycles of frames it leaves the trail.

still confused...but still working on it.

P4 2.4/ 1gig Ram /GeForce3

Login to post a reply

Server time is: 2024-09-21 06:30:15
Your offset time is: 2024-09-21 06:30:15