Hello coders,
I was doing some coding in DBP a few months back but got annoyed with how "hard" it was and dropped it. After getting an inkling for how difficult some of the other languages could be, I had second thoughts about DB, and have just started coding with it again, using v7.5.
So, I am trying to load a 3D object with the following code:
cls
sync on
sync rate 30
load object "c:\program files (x86)\The Game Creators\Dark Basic Professional\media\models\ship\ship.x",1
do
control camera using arrowkeys 0,10,10
LOOP
However, when I compile it, it gives me a black screen! I am not sure what to do. When the problem persisted, I inserted CLS (as shown in my code above), even though I knew it was for 2D. Still black. Any thoughts?
Also, I was wondering if I should buy the
Hands on DBPro books TGC has. When I learned my first language, Microworlds LOGO, I was gently guided by a book, and have loved programming since. I am not sure if I am going to get far with DBP if I am picking commands from a command list and figuring out if they'll work as opposed to reading how they work.
Also, I've read that it is better to start straight-away on hard projects as opposed to simple things, because it helps prevent the learning of bad habbits. Is this true? What is your opinion?
Thank you,
Captain Coder
One of the most humbling days in your life will be the day you discover you AREN'T the best at what you love to do.
- Me