Would it be a good idea to have PB solely for writting dlls?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Re: Would it be a good idea to have PB solely for writting d

Post by Primoz128 »

Fred btw realsoftware AD is on your website, so don't say i advertised <.<... on login there is realsoftware.com...

Umm i figured RS can't make DLLs at all, and even if it could the community wouldn't help me much, and it would be poorly optimised, and it has no inline assembly for even more optimisation. Pure Basic is faster in every possible way in performance, but it is not a RAD tool that is 1 point, im anyways just messing around with RS not really doing anything, but i might one day though, it's nice.

For now gona stick with PB to extend GM and GM to actually do anything, GM is the only thing that i master about 2/3, everything else few commands and that's it.

Wrapper means commands, DLL means a combo of commands ... ? So i can use a combo of commands forming a function from DLL, but not single commands directly from PB ?

Thanks all of you. Btw how does direct payment work ?
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: Would it be a good idea to have PB solely for writting d

Post by Josh »

Primoz128 wrote:Btw how does direct payment work ?
At PB homepage you can find the banking connection to Andre. I don't no your location, but I think, if you stay in europe, Andre should receive your money within one day and you will get your download access shortly.
sorry for my bad english
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Would it be a good idea to have PB solely for writting d

Post by luis »

Primoz128 wrote:So i can use a combo of commands forming a function from DLL, but not single commands directly from PB ?
http://www.purebasic.fr/english/viewtop ... f=7&t=8895
"Have you tried turning it off and on again ?"
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8453
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Would it be a good idea to have PB solely for writting d

Post by netmaestro »

Bear in mind that GameMaker already has most of the compiler functions you need and that many "GM extensions" created with PureBasic dll's are really just wrapping PB libraries to gain extra functionality. This is expressly forbidden in the PB license agreement, so in making extensions for another language you must tread carefully. If GM extensions are your goal, PB isn't the right choice for you.
BERESHEIT
User avatar
J. Baker
Addict
Addict
Posts: 2196
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: Would it be a good idea to have PB solely for writting d

Post by J. Baker »

Game Maker is fine and dandy for the hobbiest user but if you have/want to port PB code to GM, then why not just use PB?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Re: Would it be a good idea to have PB solely for writting d

Post by Primoz128 »

As long as it's not 100% copy, it's ok ?

So i can do this ?

Code: Select all

string.$                                                                                  ; Dollar signs pwn, doing just .s will hide that it's a string in future use, cool feature
OC = OpenConsole()
PN = printN(string)
D = Delay(1500)
Game Maker is fine and dandy for the hobbiest user but if you have/want to port PB code to GM, then why not just use PB?
Cause it's a game RAD tool that's why, and i love it cause it's simply the best language i have ever seen, and is made to do stuff that i been addicted to until few years ago when addicton was lifted <.<. Warcraft 3 for 10 years baby 100% of free time in that since i was 6.
Bear in mind that GameMaker already has most of the compiler functions you need and that many "GM extensions" created with PureBasic dll's are really just wrapping PB libraries to gain extra functionality. This is expressly forbidden in the PB license agreement, so in making extensions for another language you must tread carefully. If GM extensions are your goal, PB isn't the right choice for you.
Withought DLLs game maker would never unless YoYo made it one day, be able to do multiplayer stuff, cause it's MPLAY functions are just 100% not firewall gona go trough it, and they are horribly optimised if you ask me, sending GM data types (string and big real) is horrible thing to ever do, unless it's actually differently made. I got no idea though how they made GM so simply be able to port games to every platform, but linux no idea why not that too...

Oh and... do you keep track of gm DLLs ? I guess not cause i sometimes do and i don't find much there, GM does not have a large number of real users, only like half a million of kiddos that do pacmans cause they too shit to do anything else, and make team requests that i gota troll cause they think they can just make a MMO in gm... not gona happen by soon newby.
Post Reply