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 / d3dfunc + set display mode dont work together?

Author
Message
noobnerd
15
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 8th Jan 2011 01:25
i have a problem as stated the d3dfunc commands dont work when i also use the set display mode command, the result on compile is the game freezing completely. Have tried all orders of them in conjunction to each other. Any help?
Diggsey
20
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 8th Jan 2011 02:43
d3d_init

[b]
noobnerd
15
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 8th Jan 2011 11:03
was that an ansvear? i have d3d_init in my code..
Diggsey
20
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 8th Jan 2011 11:36
Sorry, was in a rush
You need to use d3d_init whenever the d3d device is reset. One way this can happen is by using "set display mode", so just use d3d_init after using it.

If that doesn't work, make sure you have the very latest version of the plugin.

If all you need to do is draw some 2d shapes, you could also use my Advanced2D plugin, found here.

[b]
noobnerd
15
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 9th Jan 2011 01:19
will give it a try sure! I have tried having d3dinit after,before,many times, and all other possible thinkable ways
noobnerd
15
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 9th Jan 2011 01:21
sorry, looked your dll, looks good! But i need d3d for the text, not te shapes

Login to post a reply

Server time is: 2026-07-18 02:39:37
Your offset time is: 2026-07-18 02:39:37