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 / What will make this run better?

Author
Message
Code Ninja
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 27th Mar 2004 22:03
okay, ive created an RPG Battle System but the attack menu cursor is... well test it out and see for yerself. Is there a way to make the cursor move more smoothly?

note: copy the following snippet and save it as team1.tem

then create a 32X32 image as pointer.bmp. thats the only media you'll need for this program to work.

PC: Pentium II, 333Mhz, 128 Mb SDRAM, 20 & 4Gb hard drives, 8Mb Videocard, Windows XP, Direct X 9, half-dead CD burner, crappy moniter (15inch), DBC 1.13
~Dragael Software
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 27th Mar 2004 22:24
I may be mistaken, but I don't see SYNC ON, SYNC RATE, or SYNC in there. Something odd though, it keeps trying to tell me that the team1.tem file doesn't exist, though it's all in its own little folder called DragnBreth.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
Code Ninja
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 27th Mar 2004 22:38
hmmm... that is odd... i'll send you the exe file...

PC: Pentium II, 333Mhz, 128 Mb SDRAM, 20 & 4Gb hard drives, 8Mb Videocard, Windows XP, Direct X 9, half-dead CD burner, crappy moniter (15inch), DBC 1.13
~Dragael Software
Code Ninja
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 27th Mar 2004 22:50
im not to sure on how to use the sync commands cuz last time i did, any text went all screwy...

PC: Pentium II, 333Mhz, 128 Mb SDRAM, 20 & 4Gb hard drives, 8Mb Videocard, Windows XP, Direct X 9, half-dead CD burner, crappy moniter (15inch), DBC 1.13
~Dragael Software
Code Ninja
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 28th Mar 2004 00:45
hellooooo... *voice echoes*

PC: Pentium II, 333Mhz, 128 Mb SDRAM, 20 & 4Gb hard drives, 8Mb Videocard, Windows XP, Direct X 9, half-dead CD burner, crappy moniter (15inch), DBC 1.13
~Dragael Software
B1rD
21
Years of Service
User Offline
Joined: 21st Mar 2004
Location:
Posted: 28th Mar 2004 02:16 Edited at: 28th Mar 2004 02:18
just fill in these lines at the beginning of your source:

you can change the display mode to your own wishes ofcourse

dont mention the source button:

set display mode width,height,depth
sync on


in ur loops:
do

bla bla bla bla

sync
loop
B1rD
21
Years of Service
User Offline
Joined: 21st Mar 2004
Location:
Posted: 28th Mar 2004 02:16 Edited at: 28th Mar 2004 02:17
damn.. why dont we have edit option for our posts

[EDIT]
oh i see now.. we have edit
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 28th Mar 2004 20:56
Lol, sorry for taking a while to respond, Code Ninja. Did you try to email me the exe? My inbox is pretty much empty....odd. Here's some help on SYNC though.

SYNC is the command that enables Double Buffering. That idea behind double buffering is like flipping through an animation on paper, except you only need two pieces of paper. One is the screen, the other is invisible and you draw stuff on it and then switch it with the screen to make things run smoother. Fortunately since DB is such a great language you don't have to think about all of that.

SYNC ON enables double buffering

SYNC RATE <number> sets the screen refresh rate you do not want to pass. If you don't have this command an older system might run your game at...say 20 frames per second, and a newer system might run your game at hundreds of frames per second, making it impossible to play.

SYNC just needs to be placed at the beginning or end of every loop where you are dealing with graphics. This swaps the buffers and gives you the smooth look.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
Code Ninja
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 28th Mar 2004 23:03
sweet thanx

PC: Pentium II, 333Mhz, 128 Mb SDRAM, 20 & 4Gb hard drives, 8Mb Videocard, Windows XP, Direct X 9, half-dead CD burner, crappy moniter (15inch), DBC 1.13
~Dragael Software

Login to post a reply

Server time is: 2025-05-23 04:04:23
Your offset time is: 2025-05-23 04:04:23