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 / How to load objects?

Author
Message
Versus Terminus
14
Years of Service
User Offline
Joined: 1st Feb 2010
Location:
Posted: 2nd Feb 2010 01:34
I am a novice at C++ considering I started less than a month ago but I need to make a short game for my computer programming class in school. We are given 10 weeks to make the game. I am trying to make an RPG (I know it's not the best choice) but I can't figure out how to add a player object ( the guy the user controls ).



Can someone send me the correct code? My rpg will not contain a hivebrain, I'm just using it as an example until I can figure it out. Any help is appreciated.
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 2nd Feb 2010 03:26 Edited at: 2nd Feb 2010 03:26
You just about have it, try switching that one line with this.

dbLoadObject ("media/H-Alien Hivebrain-Idle.X", 6);

www.touchofdeathproductions.com
Versus Terminus
14
Years of Service
User Offline
Joined: 1st Feb 2010
Location:
Posted: 2nd Feb 2010 03:38
No sorry, doesnt work. I have flat grass, and 2 trees and no where do I see a weird mutant thing. Thanks for the effort though.
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 3rd Feb 2010 15:02
Try scaling it up even further, 10000 or more if you have to. If that does not work then try scaling it down, it may be huge and you are inside it.

Versus Terminus
14
Years of Service
User Offline
Joined: 1st Feb 2010
Location:
Posted: 3rd Feb 2010 21:06
No, its still not working. Do I have to include SetCurrentDirectory ( "media" );? Thats what I have but I don't think it serves a purpose.



I have tried with media/H-Alien Hivebrain-Idle.X and every possible combination but it won't work.

Login to post a reply

Server time is: 2024-11-20 05:26:07
Your offset time is: 2024-11-20 05:26:07