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:
sync on : hide mouse : sync rate 60
load image “player.png”, 1
x = 0
y = 0
sprite 1, x, y, 1
do
sprite 1, x, y, 1
if upkey()
y = y – 4
endif
if downkey()
y = y + 4
endif
if leftkey()
x = x – 4
endif
if rightkey()
x = x + 4
endif
sync
loop
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.