Not a small request I know... but any chance of the Newton library being officially inserted into the GLBasic command set. Full compiler error checking, manual and run time error support. As a separate C++ library its a little unapproachable by your average basic programmer.
It could be a big selling point.
Just an idea.
uhm... the newton is implemented as a .gbas file, whic offers everything as glbasic functions. With tooltip help, a manual (Right click, tools/Create Help) and all.
I can't see any benefit of implementing newton inside GLBasic. Also, there's no PocketPC/GP2X version for it.
I was planning on making a tutorial video, though. Noone has used it AFAIK, but it's really easy to use.
The reference material is quite unapproachable for a newby, as its based on C++ but I do see your point with PocketPC / GP2X though.
QuoteNoone has used it AFAIK,
I used it for a pinball game.
Quote from: Brice ManuelQuoteNoone has used it AFAIK,
I used it for a pinball game.
In GLBasic?
\o/
Pinball game? Gimme! :-)
Quote from: MoruPinball game? Gimme! :-)
I will release it eventually. I have rewritten it so it doesn't use newton. It is not really heavy enough physics-wise to need newton.
It is being done as a tribute to an 80's rock band called "Space Band" and will use artwork from their album cover. I have been dealing with some health issues and haven't had a chance to get back with the band's founder/guitarist to see what songs (which will be background music) he wants to use for the game.
Nothing too fancy, though, just a really retro styled table, with nothing fancy. Old-school pinball. The only thing unique is it is an officially licensed game and will feature authentic Space Band artwotk and music. More than anything else, it is a tribute to a great old band, and since the band's founder was a "Pinball Wizard" back in the day, this seemed a pretty fitting tribute ;)
Sounds interesting, looking forward to see your work completed!
So there is no longer pinball game using Newton? Do you still have the sources for that?
Yes, that would be a good source for starting with newton.
Quote from: bigsoftyDo you still have the sources for that?
Nope.
Are the Newton samples supposed to be able to compile on a demo-compiler or should I give up getting them to run? I only get this error message:
"..\NewtonSDK.gbas"(22) error : redefinition as different type
This is on the first #ifdef line, if I remove all those and only leave the windows line I still get problems lower down, same error message.
What version are you using? Do you have the SDK 5.x?
I just downloaded everything fresh today
OK, please delete the folder "My Documents\GLBasic\Samples". Then try a live-update.
If no update is online, remove the registry value:
HKEY_CURRENT_USER\Software\Dream_Design\GLBasic\HomePath_Version
and restart the editor. It should now copy the sample files again.
Yes, it copied the samplefiles but it's still doing the same error, can you get it working? It's the same on all of the example files, complaining on the NewtonSDK.gbas
INLINE
// Newton:
#ifdef LINUX // <--- compiler is complaining on this line
#define NEWTON_DLL "newton.so"
#else
#define NEWTON_DLL "newton.dll"
#endif
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2007.258 - 2D, WIN32
"..\NewtonSDK.gbas"(22) error : redefinition as different type
What is going on!? Can anyone confirm this bug? It works perfectly on my new installation as well as on a virtualPC image... Oh dear.
It should not complain in an INLINE function at all...
Oh!!! Got it. You have the 2D SDK. Thus, INLINE is a no-no for you. It's only in the demo. Which is pretty stupid. You have more rights than a demo, but the demo can compile demo-inlines, you can't.
Hmmm.. Serious problem here. I'll look how to solve that.
no worries with that for my sake, I'm soon buying the full package but might be nice for future demo-programmers that wants to try the language. Any chance for a linux compiler or is Wine supported and will it be supported in the future?
Quote from: GernotFrischOh!!! Got it. You have the 2D SDK. Thus, INLINE is a no-no for you. It's only in the demo. Which is pretty stupid. You have more rights than a demo, but the demo can compile demo-inlines, you can't.
Hmmm.. Serious problem here. I'll look how to solve that.
How about a watermark if certain commands are used?
Bigsofty: That's the way it should be, if you use any command you don't have a license for. INLINE is a bit of a problem, here.
Moru: Linux compiler is there (Shift+F8), but the editor (IDE) is not, yet. We're doing serious considerations and tests right now. Since a Mac IDE would be cool, too.