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.

DarkBASIC Discussion / request for a simple level loading example code

Author
Message
phukol
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location:
Posted: 1st May 2004 03:16
hi, so far, none has been able to really solve my problem so i just wana ask if anyone of u guys and gals out there have a simple snippet or sample in loading different levels or objects in DBC after a condition have been met. Please i badly need ur help!

phukol
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 1st May 2004 13:21
I'm not sure if this is exactly what you are asking for but here it goes!
Save a matrix:

To load a matrix:

To save objects:

To load objects:

I think that lot works as a basis.
Fix it and edit it to meet your needs.
Hope that helps.

Current Projects: Dark_Worlds_Map_Editor version0.1 [email protected]
phukol
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location:
Posted: 1st May 2004 13:40
thnx andrew, but what i need is a sample snippet for "Level loading" or cahnging the levels after a certain condition has been met. i'm actually having a problem of how to load level2 after i finish level1. if u want i can send u an e-mail of my code and media and maybe u could find the problem.

phukol
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 3rd May 2004 23:10
Erm, is this what you ment?
Do you even care anymore?
I think i'll just go home.
Kohaku
21
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 4th May 2004 00:40
phukol
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location:
Posted: 5th May 2004 03:16
sorry dude! i 4got to post that i solved it already. Thx 4 ur help, i appreciate it. i just had a hard time switching between functions and labels in my program and i used "PRint" command to check for my levels if they inc or nt. TY Aura

phukol

Login to post a reply

Server time is: 2025-05-23 14:59:57
Your offset time is: 2025-05-23 14:59:57