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.

Newcomers DBPro Corner / Can't load objects

Author
Message
Mew151
16
Years of Service
User Offline
Joined: 1st Jun 2008
Location: Glitch city
Posted: 22nd May 2009 22:20
I can't load any object into my game except for cubes and spheres! Not even bitmaps! Can someone help me? (I've already put the files in the media list, and I put the in the same folder as the project.)

Sorry if I sound like a n00b, but I just installed DBPro today.

ow! that hurt!
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 22nd May 2009 23:12
if you wanna load an object, you do:

Load Object Filename, Object Number

if you wanna load an image, you do:

Load Image Filename, Image Number

The filenames can be relative ("Images\Example.png") or Absolute ("C:\Program Files\Example.png"

If you want to load an object or an image, you don;t need to include them in the media list, only if you wanna pack them in your exe.

Also, if you press F1 in the DBP Editor, you get a help screen, which is very handy for looking up commands. good luck!

(\__/)
(O.o )
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination!
Mew151
16
Years of Service
User Offline
Joined: 1st Jun 2008
Location: Glitch city
Posted: 22nd May 2009 23:18 Edited at: 22nd May 2009 23:42
Here's my code:



And yet it refuses to load it. The error says it can't load the object:
Quote: "Runtime Error 7018 [Could not load 3D object] at line 26"


ow! that hurt!
flashing snall
19
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 23rd May 2009 01:27
Im going to go out on a limb and say that rocket.x is IN your project folder? If it isnt, make sure it is. If it is, then I have no clue, maybe the directX file is corrupt or something.

Check out my current WIP. SLIME 09
forum.thegamecreators.com/?m=forum_view&t=149899&b=8
kuljot
15
Years of Service
User Offline
Joined: 2nd Jan 2009
Location: sacramneto, ca united states
Posted: 23rd May 2009 08:10
i had same promblem. are you opening your soruce fiel or project file. after one update you have to open up the dbpro file otherwise it wont load media.

Gateway GT5628 Quad Core Desktop Intel Core 2 Q6600 2.4GHz Quad Core 3072MB RAM / 500GB 7200 SATA II Hard drive DVD RW 18X multi dual NVIDIA GeForce 8500GT ....

Login to post a reply

Server time is: 2024-11-24 06:55:06
Your offset time is: 2024-11-24 06:55:06