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.

Dark GDK / objects not loading eaven the tutorial one

Author
Message
mattipatti94
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: C:/finland/pietarsaari
Posted: 8th Aug 2009 20:00 Edited at: 8th Aug 2009 23:30
When I press debug and the window appears the window remains black and in the "3d objects" tutorial the "Please wait loading model..." shows and nothing happens. I cant start my game project without objects!!I never had the same problem before with my old windows xp computer but when i got a new computer with vista , it appeared.
Sorry for my bad english
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 9th Aug 2009 00:47
O.K, not much to go on lol.

Is your game playing but without loaded models?
Is your screen just blank?
Have you tried creating some primitive shapes, if so, can you see them?
Are you sure the models are in your project folder?
Are you sure you have the names of any folders or sub-folders correct?
Are you just running the colX tutorial as it is?
mattipatti94
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: C:/finland/pietarsaari
Posted: 9th Aug 2009 11:13
all the code before dbloadobject works fine. All code after it doesnt. In the tut the text loads and the screen remains black. I run the col-x tutorial from the tutorials folder and still the problem stays so the problem is not in the code.
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 9th Aug 2009 12:01 Edited at: 9th Aug 2009 12:02
I have seen a few issues were models take alot of time to load.
Try running your program, go and have a cup of tea then come back to see if it has loaded.

ColX takes about 5 seconds to load on my desktop but about 45 seconds on my laptop.
mattipatti94
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: C:/finland/pietarsaari
Posted: 9th Aug 2009 12:11
ok ty i try that. I'll get back with the results.
Mista Wilson
16
Years of Service
User Offline
Joined: 27th Aug 2008
Location: Brisbane, Australia
Posted: 9th Aug 2009 12:36
Check the media is where the program is looking for it

In the code, if the load function is called like so :

dbLoadObject("col-x.x", 1);

and there were no "dbSetDir" or "dbCD" commands before it, then the file col-x.x would need to be in the project root folder(if you run it from inside visual studio) or in the same folder as the EXE if you run it from outside visual studio...

If it ain't broke.... DONT FIX IT !!!
mattipatti94
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: C:/finland/pietarsaari
Posted: 9th Aug 2009 14:02 Edited at: 9th Aug 2009 18:04
It didn't work. I waited 15 minutes and still no progress.
I ran the "3D Objects.vcproj" in the "C:/Program Files/The Game Creators/Dark GDK/Tutorials/3D Objects/3D Objects"
and still the same problem.
I tried placing dbPrint() between every line and found out that the whole code does run but still it doesn't load the objects. The screen just remains black but the dbPrint() works.
FuminHuman
15
Years of Service
User Offline
Joined: 16th Aug 2009
Location:
Posted: 17th Aug 2009 05:16
Same problem, tutorials compile in either debug or release mode but
only display text or empty console-(running on Vista, USA, Admin mode).
mattipatti94
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: C:/finland/pietarsaari
Posted: 20th Sep 2009 14:14
The problem apparently must have something to do with vista.

Login to post a reply

Server time is: 2024-10-01 10:36:37
Your offset time is: 2024-10-01 10:36:37