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.

Author
Message
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 24th Feb 2015 02:11
Is it possible to use this tool for making cool effects in DBPRO games?Our comunity is lacking descent particle engine.I thought it will be cool if it's possible to use PopcornFX, not sure how though.

Coding is My Kung Fu!
And My Kung Fu is better than Yours!
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 24th Feb 2015 12:34
Quote: "not sure how though"


Nor me.



Powered by Free Banners
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 24th Feb 2015 13:33 Edited at: 24th Feb 2015 13:33
Since I've been making my system for ages and it's pretty robust it would be annoying if some amazing plugin came in right now but it sure does look cool

I would like to know how to code custom plugins or wrappers cause every plugins seems to have one hell of a performance increase than if you did it in code, not sure why that is either

"Get in the Van!" - Van B
Rudolpho
19
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 26th Feb 2015 01:41
Quote: "Since I've been making my system for ages and it's pretty robust it would be annoying if some amazing plugin came in right now"

Now you know how I feel about DirectX 12...

Quote: "I would like to know how to code custom plugins or wrappers cause every plugins seems to have one hell of a performance increase than if you did it in code, not sure why that is either "

That largely depends on what you need to do, but for most cases, plugins are capable of performing considerably faster than native DBPro code yes.
Mostly this can be attributed to the compiler used to build the plugin being more capable of generating optimized machine code than the DBPro compiler; also there may be more efficient data types available through C++ than what DBP allows, you can bypass a lot of default checks etc. that are done by the default DBP functions and you don't need to call external dll functions for each "command" as you do from DBP.

It isn't that hard to write plugins for use with DBPro; there's actually a short documentation demonstrating this in the help files under "Technical Documents/Third Party Commands". While it doesn't tell you everything about it, such as supported datatypes and string table prefixes, it does say enough to get you going and the rest can be found out by inspecting said stringtables of already published plugins.

Login to post a reply

Server time is: 2025-05-12 07:09:25
Your offset time is: 2025-05-12 07:09:25