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 / i am Working on my RCManiac V2

Author
Message
Stig Design Stig Magne
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 29th Mar 2008 08:09
i am Working on my RCManiac V2

i have 1 Menu Code tha i can youse to first select a car then i youse the almoast the same code to select a track with that car.
Does enny one Know about a Code that alows me to select a track and Store it as a Variabel and the same for selecting a car then in the end it chekk`s if enny Variabel is true and then runn that code for that variabel.
Plees Enny onew help me i hav tryed werry hard on this by my self and i havvent figure it out
i will give credit to that person in my game

Stig Design (Free Games,Sources,Textures,Photo`s)
Lisence Free at http://dashboard.filefront.com/StigDesign/
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 29th Mar 2008 16:42
Sorry, but I'm struggling to understand what you are asking for.

By the sound of it, in your car menu code you end up with Car=2 or Car=5.

When you choose a track, you should have pretty much the same thing, but with TrackNum=3 or TrackNum=7 and so on.

If your tracks are objects stored on hard disk as Track1.X, Track2.X and so on, you can load the track based on the TrackNum variable:

ObjectName$="Track"+Str$(TrackNum)+".X"
Load Object ObjectName$,TrackNum


Another way is to store each track as a level in level files like Level1.dat, Level2.dat and so on.

These files would describe how to build a level - like what track to use, where to place different buildings, trackside equipment and so on. This lets you use the same track with different scenery, giving the appearance of having a lot more circuits.

It all depends on what type of track you are using, but you've given us next to no information and a very unclear question so all we can do is guess.

TDK_Man

Stig Design Stig Magne
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 30th Mar 2008 23:30
Thank you

ok here is some information.
My cars are .x&.3ds 3d file
and My landSkape i created as a matrix with 3d Models on alsoe in .x&.3ds
Formate

The menu code i yousing now is
if the Mouse is click in a Specifik area then a car is selected and it gumps to that car selecting Track menu
it is werry hard and i am yousing goto comand for ewery car has it own track menu after a wile it is starting to get to mutch code and the programm is starting to gett slow.

i hoped that helped tdkman thank you for the answer

Stig Design (Free Games,Sources,Textures,Photo`s)
Lisence Free at http://dashboard.filefront.com/StigDesign/
Stig Design Stig Magne
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 30th Mar 2008 23:35
and i might getting an idea

Stig Design (Free Games,Sources,Textures,Photo`s)
Lisence Free at http://dashboard.filefront.com/StigDesign/
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 31st Mar 2008 01:34 Edited at: 31st Mar 2008 01:41
Hello,

If you use a 2 dimensional array, for example, you can assign any car a set of tracks that it can run on.



Ok, when a menu item is chosen for the carnum, that variable is carried over to the first index of the array. Run a check for the number of tracks on the second index to get back the tracks the car can drive on:



Enjoy your day.
Stig Design Stig Magne
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 31st Mar 2008 08:55
Thank you so Mutch (Latch)
If i gett it to work What shall i cal you in my credit list

Stig Design (Free Games,Sources,Textures,Photo`s)
Lisence Free at http://dashboard.filefront.com/StigDesign/
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 2nd Apr 2008 11:58
No credit is necessary - unless it becomes a seller! Then we will talk!

Enjoy your day.
Stig Design Stig Magne
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 2nd Apr 2008 22:32
ok tank you but i am yousing DarkBasic for FreeWare Games&Sofdtwares because i am a hobbyist in Programming&Game Creation 3D+2D so i will atach you in the credits list enny way sins you have helped and poasted alott in my treat`s

Stig Design (Free Games,Sources,Textures,Photo`s)
Lisence Free at http://dashboard.filefront.com/StigDesign/
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 3rd Apr 2008 02:44
I have to say that you have a very strange way of writing English Stig!

Your spelling of most of the larger, more difficult words seem to all pretty much correct, but the simple words like any (enny), much (mutch), also (alsoe), use (youse), get (gett) and others are all very strange.

Spelling doesn't matter on here - especially if English is your second language (assuming you are Norwegian) but I just had to mention it.

Your English is better than my Norwegian and at the end of the day, we can understand your posts - which is the important thing.

TDK_Man

Stig Design Stig Magne
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 3rd Apr 2008 06:07
Thank you TDK_man.
yes i am from Norway and English is my second language
and i have some writing Problems. so i try the best i can..
by the way i might add you at my credit list since you have helped me alott in some of my questions that you have answered i youst whant to tell you that.
by the way i have added some new track`s i will poast some screen shoot`s+ the game

Stig Design (Free Games,Sources,Textures,Photo`s)
Lisence Free at http://dashboard.filefront.com/StigDesign/
Stig Design Stig Magne
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 21st Apr 2008 04:17
i have taken a brake from RCManicaV2 game but i will ad it in 1 week

Stig Design (Free Games,Sources,Textures,Photo`s)
Lisence Free at http://StigDesign.piczo.com

Login to post a reply

Server time is: 2025-06-07 13:17:16
Your offset time is: 2025-06-07 13:17:16