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 / can find the exe button !!!

Author
Message
henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 19th May 2010 18:33
i have recently made some good games in dark basic pro, allmost finish, now i want
to compile those games and make an exe of my games, but i can`t find any
button saying "exe", only "compile" or "compile and run" !, strange.
i really don`t understand why i don`t see the exe button.

every time i close dark basic pro, its crashing for no reason.
each time i save the project to my desktop, i don`t see any text,anymore, when openning the same projetc file.
allso when i`m using the comands like "play music 1" etc, its crashing my dark basic pro. (properly due to my soundcard "m-audio audiophile 24/96 firewire".

trying to paste any code inside dark pro editor, will cause the cursor to jump at least 20 lines, i could keep on, explainning how much trouble i do get with dark basic pro, its full of bugs, i dont`t know, but at least, i did count over 10 bugs, it so annoying, that i allmost giving up, using dark basic pro.
microsoft visual basic 2008 is so much more better, you get intilisense, object based programming language, with properties for allmost any object etc, but i really don`t like the new vb.net enhancement (every time you want to add a simple button on a form, visual basic will add a lot of bull. like "button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles", compare to visual basic 6, which somehow was a bit more uncomplex.
i like dark basic pro so much, and i`m learning, excuse my freench, a hell of a codes, sprite, 3d etc, very fast.
i dont`t wanna cancel dark basic pro, hope someone can help me, fixing those problems i just mentioned earlier.
i am planning to buy dark basic pro and all the mnodules you can get.
properly dark basic pro need some updates, and i hope in the future, Game Creator will consider dark basic pro,to be object oriented, plus functions like windows, buttons, picture / labelbox,
as it is in visual basic 2008.

hardware:

vista with servicepack 2.
nvidia geforce 8500 pcie





male, live in denmark.
38 years old.
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 19th May 2010 19:42
@henrikh2008:

To make an executable from the games you make in DBPro, you have to use the 'compile' or 'compile and run' options. Compiling converts your gamecode into machine language and creates the exe. Compile and run does the same, and runs the game after compiling so you can try out your game.

Quote: "every time i close dark basic pro, its crashing for no reason.
each time i save the project to my desktop, i don`t see any text,anymore, when openning the same projetc file.
allso when i`m using the comands like "play music 1" etc, its crashing my dark basic pro."


You have to save your project in a folder were you store all your game assets (like sounds, graphics, 3d models,...) in order for your game to find those assets back.
If you create a new project, that folder will be created for you. Then, after compiling and testing your game, and before exiting DBPro, use the 'Save all' option.

Hope this helped?

Slayer rules!!! Yeaaah, man!
henrikh2008
16
Years of Service
User Offline
Joined: 25th Apr 2010
Location: Denmark
Posted: 19th May 2010 21:02
thanks, i did try it, it works, (save project, then close dbp,in order to see if its working, loading same projetc file, compile and run), and now i see the icon called aplications.exe , on my desktop, and yes i do have a folder in c:\my darkbasic project.




i still got trouble with the sound, if i test the game pong which is allmost finished, without any sound commands like play music 1 etc, the game run perfect, but when i`m adding the sound to my source code, my pong game simply disaeper or crashing.
i tried to disconnect my m-audio soundcard and instead use the onboard realtech hd audio soundcard, same problems !.

ps. i will post the whole pong game in this forum!




male, live in denmark.
38 years old.

Login to post a reply

Server time is: 2026-07-26 02:12:03
Your offset time is: 2026-07-26 02:12:03