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.

Program Announcements / [PurePLUGIN] - PureSCROLLING Free TPC

Author
Message
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 24th Feb 2007 15:12 Edited at: 25th Feb 2007 11:14
To show that PurePLUGIN is really easy of use, I have developed a small "Tiles Scrolling" demonstration made with PurePLUGIN.
In this demo, you'll have 2 DLLs to put in your DarkBASIC Profesisonal CompilerPlugins-user directory
PurePLUGIN.DLL : the pureplugin system
PureSCROLLING.DLL : the free TPC plugin.
There is a small DarkBASIC Profesisonnal source code showing how PureSCROLLING.DLL work.

Feel free to give your feedback

Additional note: The PureSCROLLING.DLL source code will be added in the PurePLUGIN 1.1 release (available soonly for registered users)

Here is the link to download PureSCROLLING TPC:
http://files.odyssey-creators.com/files/PureSCROLLING%20Demo.zip

Gandalf said: "All we have to decide is what to do with the time that is given to us"
Odyssey-Creators - X-Quad Editor - 3DMapEditor
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 24th Feb 2007 19:24
If you want to compare speed, just replace the source code with this one :


You can then use:
1 = Use DarkBASIC Pro scrolling
2 = Use the TPC scrolling
On my computer, I get :
DBPro scrolling : 408fps
TPC scrolling : 476fps
116% increase using PurePLUGIN created TPC.

Gandalf said: "All we have to decide is what to do with the time that is given to us"
Odyssey-Creators - X-Quad Editor - 3DMapEditor
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 25th Feb 2007 11:15 Edited at: 25th Feb 2007 11:16
added direct link cos it didn't work in previous message:

http://files.odyssey-creators.com/files/PureSCROLLING%20Demo.zip

EDIT: didn't work too
but you can copy'n'paste URL to your web browser, it will work this way.

Gandalf said: "All we have to decide is what to do with the time that is given to us"
Odyssey-Creators - X-Quad Editor - 3DMapEditor
Rknight
20
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 5th Mar 2007 21:37
Neat little thing.
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 5th Mar 2007 22:59
This plugin was realized in 2 hours with firstly developing it under DarkBASIC Professional and then migrate it to PurePLUGIN system under PureBASIC 4...

Gandalf said: "All we have to decide is what to do with the time that is given to us"
Odyssey-Creators - X-Quad Editor - 3DMapEditor
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 15th Mar 2007 08:57
Pretty cool, definitely a good way to advertise PurePlugin As soon as I can buy PureBasic I'll buy this too.


Come see the WIP!
Escaped Ape
17
Years of Service
User Offline
Joined: 25th Jul 2006
Location: Germany
Posted: 21st Mar 2007 19:10
Nice increasement of speed, indeed.
What exactly makes using dbpro commands called by a dll faster than calling them out of the dbpro engine? (i'm not that pro in dll stuff )

Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 21st Mar 2007 22:16 Edited at: 21st Mar 2007 22:17
In fact, when you call them directly from PureBASIC, you don't use the DarkBASIC Professional "BASIC LANGUAGE" interface. PureBASIC is coded at near to 100% in Assembler so it's really faster for some calculations :p That makes you get some gain in performances when migrating your functions to TPC

Gandalf said: "All we have to decide is what to do with the time that is given to us"
Odyssey-Creators - X-Quad Editor - 3DMapEditor

Login to post a reply

Server time is: 2024-05-06 05:07:41
Your offset time is: 2024-05-06 05:07:41