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 Rebuild Terrain when Change Map.

Author
Message
Taoie
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 11th Jan 2010 18:58
I start build terrain by using
dbMakeObjectTerrain(1);
and
dbBuildTerrain ( 1 );

nothing error..
but when Timeup ..I have to change Map and call
dbMakeObjectTerrain(1); --> error 4
dbBuildTerrain ( 1 ); --> error 6

>"< How to fix this....
Outscape
16
Years of Service
User Offline
Joined: 23rd May 2008
Location:
Posted: 11th Jan 2010 19:03
how about, loading all the terrains than hiding them?

Mireben
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 11th Jan 2010 20:51
Just a guess: Try deleting the terrain before creating another one with the same number. There is a function dbDeleteTerrain, you may need to add the declaration to the header file:

http://forum.thegamecreators.com/?m=forum_view&t=163529&b=22

Login to post a reply

Server time is: 2024-10-05 19:28:39
Your offset time is: 2024-10-05 19:28:39