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 / is memblock drawing better then using dbc commands?

Author
Message
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 31st Mar 2009 19:54
i'm talking about like the commands box and stuff compared to

for y=y1 to y2
for x=x1 to x2
pos = (Y*640+X)*4+12
write memblock dword mem,pos,Color
next x
next y


trying to get some oppinions.

New Site! Check it out \/
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 31st Mar 2009 20:31
I've tested this befor, it's not better, it's a bit slower. If the image is larger it becomes much slower also.
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 31st Mar 2009 20:41
ok awesome just wondering thanks.

New Site! Check it out \/

Login to post a reply

Server time is: 2025-08-08 20:42:37
Your offset time is: 2025-08-08 20:42:37