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 / want to create a section of scrolling graphics.

Author
Message
dman
21
Years of Service
User Offline
Joined: 21st Feb 2005
Location:
Posted: 26th Mar 2011 04:22
I want to draw some lines and scroll in a section of a view port.
Ex. a cut off between x1=100 to x2=500.

only show between those two points.
GIDustin
18
Years of Service
User Offline
Joined: 30th May 2008
Location:
Posted: 26th Mar 2011 06:08
I am sure others will offer their advice, but here is mine.

If you use D3D_Func, then get my new modified version here:
http://forum.thegamecreators.com/?m=forum_view&t=69221&b=5&msg=2038818#m2038818

It adds a few new commands that you might want:



Max P
16
Years of Service
User Offline
Joined: 23rd Jan 2010
Location:
Posted: 26th Mar 2011 11:23
Here is an example on how to achieve the same effect with DBPro only.



I created a 'content browser' using the same technique, you can see it here: http://www.thegamecreators.com/?m=gallery_view&i=1569&p=0
dman
21
Years of Service
User Offline
Joined: 21st Feb 2005
Location:
Posted: 26th Mar 2011 13:04
Hi, Thanks Max P. Its exactly what I wanted.

I tried the D3DFunc.dll and it did not work.

maybe the functions are case sensitive, but thanks anyway GIDustin.
let me know if thats the case.
dman
21
Years of Service
User Offline
Joined: 21st Feb 2005
Location:
Posted: 27th Mar 2011 18:47
I got the D3D_Func.dll to work. I didn't know I had to put it the plugin directory, silly me. Thank you very much.

Login to post a reply

Server time is: 2026-07-17 02:54:07
Your offset time is: 2026-07-17 02:54:07