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 / Where is the settings button? where is the media button? Why won't my image load?

Author
Message
0motnahp0
14
Years of Service
User Offline
Joined: 11th Apr 2012
Location:
Posted: 13th Apr 2012 04:39
I am new to Darkbasic pro. I've been fidgeting with it for a little over a day straight now and heres what I've done:

-installed darkbasic pro free version

-made a new project

-opened the first darkbasic pro pdf tutorial, and none of the buttons seem to be the same. it mentions a settings button, and it tells me to hit a media button, but I cannot find either of those.

-I went to the help option and read detailed explanations of each dropdown menu... the majority of which do not appear to exist.

-when I finally gave up on tutorials and help that was provided by this site and the program itself, I found a tutorial on another website, but I find myself stuck once again near the very beginning of the tutorial.

-I skimmed through the forums of darkbasic pro (this very forum) for somone with similar problems, but alas, I cannot find a solution amid the questions of those who made it past the first two sentances of the first page of the first tutorial.

The code I was working with from the first page of a different tutorial looks like this:


the player.png file is in the same folder that houses my project document save file, but I still get the error: could not determine perameter type of 'player.png' at line 8.

I tried this on 2 computers. there was a brief moment where player.png actually loaded, but the program did nothing when I pressed any buttons. there was another moment where y = y – 4
was the line with the error.

I really would like to learn more about darkbasic, as it looks as though it may be quite fun to work with. Can anyone point me in the right direction as to where the settings or media buttons are? could anyone point out how to access all of the menu options that are apparently useable as described by the program's help option?
Could anyone help me figure out why the bit of code from the random tutorial I tried doesn't work and why I can't bring in my .png file? Am I even using the same Darkbasic pro as everyone else?

Thanks in advance.

PS- side note question: I just created an account on this forum yesterday, and when I did, I chose a banner from the default banner selection options. It said my banner has been erased by a mod. Can somone alert me as to why this happened? or at least direct me to where the rules on banners are. I chose the Sonic running one.

It is a profitable thing if one is wise, to seem foolish.
OldPMan
TGC Store Seller
17
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 13th Apr 2012 11:45
I think that's the error - load image “player.png”, 1
try as - load image "player.png", 1

.....already beside.....
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 14th Apr 2012 19:42
I didn't get what RUSSIA was saying at first, but looking closely, the quotation marks are slightly different. The following code works and I added a check to make sure your player sprite stays in bounds.



Regarding the settings and media buttons, I assume you are referring to the editor. The answer depends upon the editor you are using. If you could state which editor you are using, or perhaps grab a screen pic of it with a project open and post it, it would be easy to answer your question.

Regarding the side note question, I see the running Sonic as your avatar. if you are asking about your signature, the maximum size I believe is 600 X 120 pixels. Check out the AUP.

So many games to code.......so little time.

Login to post a reply

Server time is: 2026-07-10 18:58:03
Your offset time is: 2026-07-10 18:58:03