Oxygen Basic
Programming => Example Code => Topic started by: kryton9 on July 01, 2011, 11:43:10 PM
-
I will always put the latest of my sources into this post.
Unzip each attachment into your project folder.
I made procedural versions of console and sqlite3 that can be hopefully useful to the no way to oop guys :)
[attachment deleted by admin]
[attachment deleted by admin]
-
Charles, I have an in progress version of Oxygen from the other day. I updated cGLWindow with better method names. I went to compile and I am getting an error, it says too many right brackets on line 22.
The first post in this thread has all of my latest files, including the TestGLWindow.bas that is not compiling, thanks.
-
Hi Kent,
Your constructor parameters needs default values when you are calling with named parameters.
method Constructor( sys aRenderProc=0, sys aInputProc=0 )
method Constructor( sys aRenderProc, sys aInputProc )
I will trap this kind of error more explicitly.
Charles
-
Thanks Charles that did the trick.
-
I updated all my code. They are attached to the first thread.
OOP code
and No OOP code versions
Remember these are works in progress and so subject to change. But console and sqlite are pretty useful as they are. Console especially for log output of what is going in your program while it is running.
-
Thanks Kent,
Good idea to keep everything in one place.
In the next few weeks I am going to start clearing out old attachments & screenshots on the forum. If they are more than a year old. I will endeavour to retain complete projects or post them to the web site, as I have done with many of Peter's games.
Charles
-
I will eventually take my engine code and make it an open course on my website promoting oxygen. I will keep posting the latest code beneficial to all here.