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 Discussion / Jumpy sprite movement in DBC ver 1.13

Author
Message
Rick B
21
Years of Service
User Offline
Joined: 20th Aug 2003
Location: United States
Posted: 28th Jul 2004 09:26
Hello there. I'm currently working on a 2d space shooter using all sprites. The problem is that when the sprites move, they tend to jump sometimes, rather than move smoothly acroos the screen. I have posted my code here but be aware it is my whole prgram and is rather lengthy. Any help with this problem would be greatly appreciated.

It's not what you know. It's what you can prove!! =)
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 28th Jul 2004 10:55
Sprites are always going to be slow with DBC, even regular 2d images. You basically have three solutions:

1. Do everything you can in other parts of your game to speed it up(look in Jess's thread).

2. Instead of sprites use images and write your own transformation functions (eesh).

3. Use textured plains as a substitute.

These are my first impressions, of course I didn't have time to chekc your code out in detail, gotta run to marching band practice, so wait for some other guys to post who have looked more thoroughly through your code.

Crazy Donut Productions, Current Project: Project Starbuks
Sony stole our name!
Rick B
21
Years of Service
User Offline
Joined: 20th Aug 2003
Location: United States
Posted: 28th Jul 2004 19:53
ok np. Thank you. That is exactly what im going to to do for now.

It's not what you know. It's what you can prove!! =)

Login to post a reply

Server time is: 2025-05-25 16:28:07
Your offset time is: 2025-05-25 16:28:07