Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - bigsofty

#2521
Announcements / Fixed Fonts
2007-Aug-07
Cool, handy! :)
#2522
Quote from: tHEwARZONE1is this program better than game maker
Game Maker is a toy compared to GLBasic, this is a proper fully fledged programming language, its learning curve may be a little steeper but its capable of far more,

My advice, take some of the VERY short demos out of the manual and remove lines to see what effect it has on the running of the program. Then try adding your own commands or changing some command parameters to see what the effect it can have.
#2523
Threads are available in NO OTHER GAME BASIC, well done Gernot!

There's hope for my waisted 3800+ 2nd core yet ;)
#2524
GLBasic - en / Debug CLS
2007-Jul-06
Hehe, thanks Gernot! :)
#2525
GLBasic - en / Debug CLS
2007-Jul-05
I can use Print but the console is free debug display space and easier to read. So if I need to watch what happens on the screen without the screen being blocked and overwritten with debug stubs, then the console would be ideal.

CLEARCLS, used in this way allows a basic debug variable 'watch' functionality.
#2526
GLBasic - en / Debug CLS
2007-Jul-05
Could we have a command for clearing the debug console, after a few regular DEBUG prints its very confusing whats happening.

for example a loop with...

Code (glbasic) Select
   DEBUG "MX: "+mx +","
    DEBUG "MY: "+my+","
produces...

Code (glbasic) Select
MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,...with the debug console scrolling continuously

If we had the command DEBUGCLS

Code (glbasic) Select
   DEBUGCLS
    DEBUG "MX: "+mx +","
    DEBUG "MY: "+my
Code (glbasic) Select
MX: 0,MY: 0or

Code (glbasic) Select
   DEBUGCLS
    DEBUG "Mouse Co-Ordinates"+"\n"
    DEBUG "------------------"+"\n"
    DEBUG "MX: "+mx +"\n"
    DEBUG "MY: "+my+"\n"
produces...

Code (glbasic) Select
   Mouse Co-Ordinates
    ------------------
    MX: 0
    MY: 0
Just a suggestion ;)
#2527
Np Gernot... weirdness.
#2528
When I turn debug on...

DEBUG command does not output to the debug window?

Single stepping through code, does not show where you are in the code?
#2529
Do you hear sound?
#2530
Announcements / Holidays
2007-May-29
Safe travels! :)
#2531
GLBasic - en / New Update
2007-May-20
Whats you O.S... Im on XP and everything is fine?
#2532
GLBasic - en / INLINE calls
2007-May-19
Great so far... works like a dream, thanks again Gernot... and as bonus all I need now to play with OpenGL is "#include ", no more cut and paste! :D

This should be definite option for anyone using the inline C ;)
#2533
GLBasic - en / INLINE calls
2007-May-18
Thanks for the help Gernot, downloading now...
#2534
GLBasic - en / INLINE calls
2007-May-18
Quote from: GernotFrischYou can get the headers for each compiler and put it in the correct directory. I'll attach the headers that came with the GCC version here. Wait.
That's a very good idea... :)

May I suggest you consider packaging these with GLBasic as there kinda essential for anyone doing in-line C above DLL header integration...
#2535
GLBasic - en / INLINE calls
2007-May-18
OK, time to stop and take stock...

First why go to the bother, I could easily just compile a DLL BUT as said I wanted my program to work across various platforms... a DLL does not work in linux for example, so, inline, with the game... seemed the best idea...

The headers I need, are..., and

Ive ran into a few problems (or potential problems)...

1) Standard C99 headers seem to be quite incompatible... I tried many.

2) Some of these headers are for win32 only, so compilation on one platform does not guarantee it will run on another.

Interfacing with GLBasic variables via type casting was working fine.

Gernot, any advice how to proceed?