3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: 1 [2]

Author Topic: car selection screen  (Read 3023 times)

« Reply #15 on: October 28, 2009, 06:04:15 PM »
cool  ;)
But in that case you would have to refresh the objects at the beginning of each track?
Roll out!
http://www.youtube.com/watch?v=VD8MvMaPNO4

Do you have kids between the ages of 3 and 9?

http://www.amazon.com/dp/B007K1EFC6
« Reply #16 on: October 28, 2009, 06:11:01 PM »
yes, of course, at the begining of each project inside some iInitializing() or using a script that stop itself after the first run.
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #17 on: October 28, 2009, 07:25:33 PM »
Cool, that is why I didnt go the route of just using the refresh method, Its an extra step to perform on each track. By copying the actual file you only do it at the car selection screen and then forget about it  afterwards, without worrying to find out what the player selected in the car selection screen;) For moleboxing purposes, if you cant access the  files that are protected, then there's no way around it and you definately must use the method you described ;)

   
Roll out!
http://www.youtube.com/watch?v=VD8MvMaPNO4

Do you have kids between the ages of 3 and 9?

http://www.amazon.com/dp/B007K1EFC6
« Reply #18 on: October 28, 2009, 07:28:38 PM »
it could actually be possible, but with certain limitations.

you should use only one key to select car, looping the options (for example, start with car 1, <space> to choose car 2, <space> to choose car 3, <space> to choose car 1 again, and so on) with that key and selecting your choise with a second key (for example <enter>).

you should use the counter object, here is the value for the selected car, you setup it to start at 1 (car 1) and set the maximum to the max number of cars (for example 3 for 3 cars), and select the option to go back to start at 1 again with counter hit 4. you link the counter to an event on input (for example <space>, to pass the cars) and here you have the car selection.

to show the cars you use event on value linked to the counter object and hide and show cars according to the counter current number.

in the counter object (here's where you avoid scripting) you use the option to pass the value to a cross project file.

when you hit <enter> (to select the choosen car ) you call a exitFade object to close this project and call the next one, the cross project file you specified in the counter object one.

NOW!! here in this second project (the race), you have another counter object with the previous "select car screen" project file in cross project file to retrieve the number of choosen car, and using event on value to read the counter object value you start/stop and hide/show the right car.

and that would be it!  :o

theoretically speaking :P

you, my friend, are a life saver!
visit mah site for awesomeness!
LOL Fest is a youtube series i made with my friend it will be awesome in the future we have 2 episodes now so go watch them on the website that i made for the series that i made with my friend it will be awesome in the future we hav...
http://lolfest.yolasite.com/home
Pages: 1 [2]