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.

DarkBASIC Professional Discussion / dark basic pro compiler to buggy ?

Author
Message
henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 24th May 2010 13:24
i just ran into a website about dark basic pro is to buggy, acording to the author Jonathan Harbour.
He was complaining about dark basic pro is too buggy to use, the IDE and compiler was buggy, and The Game Creator did`nt deal with this problem for along time, BUT THIS DOCUMENT WAS WRITTING 5 YEARS AGO, 2005. (DarkBasic Pro’s Buggy Editor and Compiler
By Jonathan Harbour, Dec 5, 2006 ), WEBSITE: http://theharbourfamily.com/jonathan/?p=177

I don`t know if any of those problems MR.Jonathan Harbour is mentioned (compile error when you leave or use rem statement, using variable with float create compiler errors still exit in DBP.


I still lose my project, when i am saving with the "SAVE ALL" button, somtimes when i am comppiling a few code lines like "print / wait key", DBP can somtiomes crash for no reason, and the same goes for, when i am using commands like play music, play sound / stop sound 1 etc.., now i did try using sound commands in a simple sound program, just to test the sound ON 3 COMPUTERS,ALL 3 PC`S is crasing, or the sound program exits, when they are running from the DBP (compile and run), even when i did make an exe of a simple program with sound, i too will crash, i just don`t get it, what are i am doing wrong ?, i don`t see any necessary to quit using DBP, because i really love it.


Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 24th May 2010 14:11
DBPro can get flaky with the wrong format of .WAV file - why not upload a sound file that is giving you trouble, or try the same code with one of the sound files supplied with DBPro.

A lot of the time, it's the users workflow that causes problems, once you know the file formats that DBPro likes, things go a lot smoother. I use Wavosaurus for sound editing, and am sure I use 16-bit 41k PCM sound files, works for me at least.

Put this way, lots of people are using sound in their finished game projects, in fact I finished 2 games in the last 12 months - so I tend to take these sorts of comments with a pinch (or bucket) of salt.


Health, Ammo, and bacon and eggs!
luskos
19
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 24th May 2010 14:27
Dbpro is not that bugged, it just need to be gentle with it
Once you get used with suprises it can serve, you can avoid them.Most are from the IDE.But you can use some other IDE, like codesurge.

The most common is eating of saved code.If this ocure you can allways check the temp folder in your system partition.There is Dump file and all *.tmp from last projects.

The one and only bug so far i found was with loading of sounds which doesn`t realese RAM and VM after i delete them.And i have my own way arround this.I stick with mp3`s and use music commands for sounds and music.So far there is not big diference.

I writed some neat code for the musics and sounds.You can check it out.
http://forum.thegamecreators.com/?m=forum_view&t=170129&b=6

Where there is a will, there is a way.
I often edit my posts, that`s who i am
henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 24th May 2010 16:16
sorry, i don`t want to be negative about DBP or for that matter The game Creators comapny itself.
i don`t hope The Game Creator will senor my post next time.

It`s true that The Game Creator has creasted a remarkable product, that can compete with any other language like
c++, Java, Visual Basic to my opinion

DBP is really folling a very simpel logic when its come to learning the very basic funmental of computer porgramming.

I mean, how can i create a simpel game in a less than 1 hour or less,(not to say, that i am better than other).
I don`t think its possible to that in c++ or visual basic, without involving neccesry Opengl / Directx / sprites.´, but is a god thing to learn directx, and i`m not particular good in any computer language.(i would like to learn directx programming), anyway, for me it is really important that, the IDE of DBP is working well, as with the sound issues (believe me, i tried
every thing, converting those sound file to mp3 128bit stereo, and normal wav format, even chancing the contents of
the audio material won`t help.

i am not blaming all the criticsm to DBP, because my experince/knowledge using DBP, is not the best, but i`m catching up fast (hopefully).



henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 24th May 2010 16:20
i meant below



" I mean, how can i create a simpel game in a less than 1 hour or less, without directx programming, its possible with DBP. (not to say, that i am better than other). "


chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 24th May 2010 22:19 Edited at: 24th May 2010 22:20
Quote: " I mean, how can i create a simpel game in a less than 1 hour or less"



That depends on what you want to do...perhaps a bouncing ball will do.


cheers.

I'm not a grumpy grandpa
henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 25th May 2010 00:32
well, i allready wrote it, and its not that easy
i call it pongy, a clone of the famous pong but a bit different.
and here is the sourcecode for pongy. plus download atachment (pongy.exe)

the game is working ok (contains errors), its not finished yet , i thing i got stock with this game, maybe because i did`nt have
any well-strutured working plan, i did have another version of pongy, without any problems.

i did put a timer function to the bat1, thats need to be activa when bat 1 hits tank brick. (then bat1 will have machine guns,he he), but you can`t shoot yet. (i have`nt fix the code properly yet!).

here is the error list

ball sometimes dissaeper when its crrossing the boundaries of the edge of the screen!.

if player 1 or 2 loose and gameover screen is showing, the game resets and exit to windows!!??.

that`t why i did put all the music code in rem lines for now.
note, i did`nt pass any parametre to any functions in the game yet, i will do that later.
my first pong game did work well, no errors, i think i messed the whole thing up, with to much
codelines, i can`t find those errors yet.

allso i`m going to do a little research on physics relatedet to how the ball would eventually move
corectly. (i think i now how to do it, the ball needs to bounce of the bat in x axis and y, more to the left or right, if the ball
is bounceing in the middle more than, lets say 2 times,it need to change angle both x and y in randomized order. (my version is not
realstic enough!.)

i thing i`m gonna jump to the next project, making Galaxaian clone. (using arrays and sprite for the enemy spaceships).
if i`m going to write galaxian, i need a function that could check how many times the enemies hits player1 (i know, there`s only 1 player).
if the enemies hits the spaceships to many times i will get destroyed. (i`m not gonna check collision with every single pixel of a sprite of lets say 160*200 pixels!).


code is really hard.





GIDustin
18
Years of Service
User Offline
Joined: 30th May 2008
Location:
Posted: 25th May 2010 01:43
Jonathan Harbour taught DarkBasic Pro at University of Advancing Technology in Tempe Arizona. I took his class 2 years ago. The textbook: On Amazon was written by him.

I would think that if his problems with DarkBasic weren't fixed then he wouldn't be teaching that class or writing books.

henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 25th May 2010 15:33
i hope, i`m shure lots of things in DBP is working well and there`s allso a choice of using C++ with DBP GDK / VISUAL BASIC 2008 GDK.

Jonathan Harbour wrote the article in 2006, not 2005, sorry my mistake!.



jharbour
20
Years of Service
User Offline
Joined: 27th Apr 2006
Location:
Posted: 25th May 2010 20:11
The new IDE with Dark Game Studio is excellent. If you are using the old DBPro IDE (which is now FREE), then at least get the latest DBPro update (R75 last time I checked).

Hi GIDustin, nice to run into you again. I did continue to use DBPro for the course even when the IDE bugs were a show-stopper, by using Hyrum Richter's alternative IDE called CodeSurge. That made it workable. I liked the DBPro engine, just not the editor, but they were an integrated package so "DBPro" was the whole IDE. Now the new one in DGS is simple and works great.

Btw, many of my students used Dark GDK instead of DBPro for the course.

Jonathan Harbour
www.jharbour.com
henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 25th May 2010 23:33
hello, Jonathan Harbour, i`m fan of you books (Beginners Guide to DarkBasic Game Programming).
its a such a pleasure to have you around in this forum.
i do hope, you don`t` mind i was mention your article "DarkBasic Pro’s Buggy Editor and Compiler
By Jonathan Harbour, Dec 5, 2006 )".
i don`t know which version of dark basic pro i have, but i think i will use CodeSurge.
Using C++ with GDK is properly exellent, but using pointers and pointer math,
is properly very diffecult!.



jharbour
20
Years of Service
User Offline
Joined: 27th Apr 2006
Location:
Posted: 26th May 2010 21:36
Hi henrikh2008. No, I don't mind, but someone here on the TGC forum was offended and has been censoring my account for the last three years as a result. I think it's hilarious that someone who brings a lot of business to TGC (including being responsible for purchasing a site license of Dark Game Studio on the UAT campus) is censored on their forum because some over-zealous moderator was offended by remarks made on MY forum (not here) regarding the many very serious bugs in DBPro (both the compiler and the editor). The issues were known for many years and not fixed--that was my complaint, not just that there were bugs, but that they were known and not fixed for such a long time. But like I said, Dark Game Studio and Dark GDK are awesome and I have enjoyed using them for the last two years.

Do you have the 2nd edition of that book? Even the new edition is quite old today, over three years later, but the original "Beginner's Guide" book is now so far out of date that I doubt if any of the code would compile--possibly on an old copy of DarkBasic (not pro). The 2nd edition code is still viable but there may be a few examples that don't work properly due to DBPro updates in the last two years. A new edition could be updated to the latest engine, cover Dark GDK and Dark Game Studio. Many of our examples (by myself & Joshua Smith) were intended to be referential in nature, while the audience for this book is more interested in gameplay. I think a new edition would get rid of the reference approach and just focus on being a gameplay programming book with these excellent tools. But I'm just thinking out loud...nothing planned yet.

When you combine these great tools with the media/asset collections at TGC, it is really a great resource for indie game developers and hobbyists! I think they've done a great job with their products.

Jonathan Harbour
www.jharbour.com
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th May 2010 22:01
I'd like to correct you if I may - you have created two threads ever, and have a very low post count, so it's very likely that you are simply still on the initial post approval stage.

... unless you upset Rich of course as he wrote the forum software

henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 27th May 2010 01:02
No, i did loan it from the public library (they only have really old dusty books from around, let`s say 1830, just kidding, but the public library in my town near copenhagen in Denmark rarly has new things to offer, its only old book from year 1990-2003.
i have been searching and asked my local book shop, even in copenhagen they don`t have you new books at all, so what can i do, i have to order it from the Untited States, plus the custom in denmark will charge me an ekstra bill of 50% plus the retail price of the book, if i`m going to order it through the internet (ebay ?).
its really embarrassing, i can`t get any desent book in denmark, what a primitive country.

i`m going to check you website, hope you have some good tutorials on your website.



henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 27th May 2010 01:09
speech of freedom, i love that word

Its funny, the Linux cummunity, are allways Mentioning, The choice of freedom, instead of Microsoft controling every thing.


henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 27th May 2010 13:50
I mean "The Freedom to Choose".



Login to post a reply

Server time is: 2026-07-25 08:29:59
Your offset time is: 2026-07-25 08:29:59