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 / Please help with multi level games and RPG's!

Author
Message
Kequor
21
Years of Service
User Offline
Joined: 6th Feb 2004
Location: United States
Posted: 7th Feb 2004 06:40
[img]Please tell me anything you know about RPG's and how to make more than one level in a game (dosn't matter if its how to make more than onelevel in a third person game and suchlike.)!

Dont worry and keep a cool head.
Slayer
21
Years of Service
User Offline
Joined: 15th Nov 2003
Location: CA
Posted: 7th Feb 2004 07:16
Just delete all the stuff in your 3d world then do it all over again.

I dont know how to spell
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 7th Feb 2004 13:27
use a notepad and write down what the level requires to start it up and delete all the objects after the next level that need to be reset, in some circumstances things can be moved around for the next level but to be safe it can sometimes be less confusing just to clean sweep it all and reload it.


say your level is a matrix and 50 objects.

delete them all and reload them
or
reshape the matrix and replace all the positions of the objects ready for the next level.


David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 7th Feb 2004 14:59 Edited at: 7th Feb 2004 14:59
This is how I do multi-levels and menus:

Basically, the whole game is one big loop like so:



When the app first starts, put this:



so the player is taken to the menu when starting.

In you menu screen, when you want to start the game, put something like this:




So you quit the menu sub, get taken to the main loop where the game is started. Inside the Game sub everything would just be like normal, load stuff etc. then have a big main loop.

I you want to have several levels, I'd first save some info in a text file, with a name like lev1.lvl:



And then use some code like to this to obtain tho information:



etc.

At the end of your game, as people have said delete all objects then you can exit that sub and get taken back to the main lop, where if you set mode to 1 you'd be at a menu again.

Hope it helps

"They misunderestimated us" - George Bush
"The box said 'Requires Windows 95 or better'. So I installed LINUX. "

Formerly David89.
Kequor
21
Years of Service
User Offline
Joined: 6th Feb 2004
Location: United States
Posted: 7th Feb 2004 15:55
[img]Thanks guys!

Dont worry and keep a cool head.
Kequor
21
Years of Service
User Offline
Joined: 6th Feb 2004
Location: United States
Posted: 29th Feb 2004 23:12
Moderater please delete this thread.

Dont worry and keep a cool head.
Axelman
21
Years of Service
User Offline
Joined: 18th Oct 2003
Location: Parallel Universe
Posted: 1st Mar 2004 01:39
are u using memblocks

nothing right in my left brain:nothing left in my right brain
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 1st Mar 2004 03:42
Why delete a thread? Usually unless threads break the rules or something, we like to keep threads archived so that people can look at older threads in case there was some really good information in them. Undoubtedly another new guy will come down the road looking for a way to change levels in this game.

@Axelman: LMAO! I just saw your "Location" info. There's just something about random stupid things that greatly amuse me. Hence the name "Crazy Donut Productions".

Crazy Donut Productions
Current Project: KillZone
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 1st Mar 2004 04:21
Kequor, why are you always insisting for a mod to delete your thread?! I just want to know your reasoning before I delete this one


We need help! Email us! [email protected]
Kequor
21
Years of Service
User Offline
Joined: 6th Feb 2004
Location: United States
Posted: 2nd Mar 2004 04:29
I didn,t see any use for the threads anymore I geuss. I'm sorry.

Dont worry and keep a cool head.
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 2nd Mar 2004 06:54
It's all good. You have just had another learning experience, and that's what this board is all about! I should apologize if I sounded abrupt above.
This is kind of just a little, speech thing....anywho. TGC has every right to be proud about its community. This is just in my experiences surfing around in other places, but this place is the most friendly, and accepts people the best. I just looked at the posts, and was able to tell by reading a few threads that after you learned the unwritten dos and don'ts you'd have a ball here.

That was a little cheesy...but hey, it's late, I can't be responsible for my brain at this hour..

Crazy Donuts

Crazy Donut Productions
Current Project: KillZone

Login to post a reply

Server time is: 2025-05-22 16:17:17
Your offset time is: 2025-05-22 16:17:17