
-----------------------------------
copthesaint
Wed Nov 19, 2008 1:12 pm

Zippy Race
-----------------------------------
As I am also making Final Fantasy I decided to take on a second project 
Zippy race Plz don't post until I have asked a question.
http://ui11.gamespot.com/1418/zippyrace1b_2.png

Q1: (isn't about turing)  what would be the best way to increase the score?

-----------------------------------
andrew.
Wed Nov 19, 2008 6:25 pm

RE:Zippy Race
-----------------------------------
A1: Why don't you make the score go up every second by 10 and if you crash it goes down by 20?

-----------------------------------
copthesaint
Wed Nov 19, 2008 7:34 pm

RE:Zippy Race
-----------------------------------
ya I could do that with time vars (not delay I'm not completely sure at the moment but I think it's Time.Sec running since 1970!;p;)
Anyonther thought I would like many THEN I will pick the best or use more then one.

(EDIT)
(EDIT2)
Here's the newest version added a couple more things.

-----------------------------------
copthesaint
Fri Nov 21, 2008 9:04 pm

RE:Zippy Race
-----------------------------------
[url=http://www.youtube.com/watch?v=JsWRo7kSAfI&feature]Watch Video of Zippy Race 

Q2: does anyone have a good AI titorial? if not does anyone have any ideas of making AI, (code not required) I just want to have more thoughts of how I should do this then just my own thoughts.

(plz still also give thoughts for Q1)

-----------------------------------
andrew.
Sat Nov 22, 2008 11:41 am

RE:Zippy Race
-----------------------------------
Don't use Time.Sec, use Time.Elapsed or something that counts the time (in milliseconds) since your program started running. You could then say that when Time.Elapsed mod 10 is 1000 then the points go up by 10.

A2: I don't think there is an AI tutorial so you just have to make it yourself. Maybe you can have the other cars try to block you by moving left or right until they're x values are close to your x values.

-----------------------------------
copthesaint
Sun Nov 23, 2008 10:34 am

Re: Zippy Race
-----------------------------------

Maybe you can have the other cars try to block you by moving left or right until they're x values are close to your x values.

Well I know that lol.
I accually have the game zippy race.^^


Don't use Time.Sec, use Time.Elapsed or something that counts the time (in milliseconds) since your program started running. You could then say that when Time.Elapsed mod 10 is 1000 then the points go up by 10.

The only Problem with this is their's no time limit for zippy race just gas. So for example if someone wanted a high sore why not just sit at the start for 4 hours and get 14400 points? 

(14400 sec in 4 hours)

-----------------------------------
Insectoid
Sun Nov 23, 2008 10:36 am

RE:Zippy Race
-----------------------------------
So base points on distance, or have a minimum speed above 0.

-----------------------------------
andrew.
Sun Nov 23, 2008 11:21 am

RE:Zippy Race
-----------------------------------
I think distance makes more sense. For every 100 pixels, give them 10 points.

-----------------------------------
DanielG
Sun Nov 23, 2008 1:33 pm

RE:Zippy Race
-----------------------------------
or  you can have as someone earlier said, a minimum speed once starting, and add a mutliplied if you win, so you will want to go as slow as you possibly can and still be first.

-----------------------------------
copthesaint
Sun Nov 23, 2008 2:40 pm

Re: Zippy Race
-----------------------------------
Well anyways This is just how I will increase the score.

 Points    Requirements                               
   100         Pick an Item up
   500         Pass a car
   10           Per 100 pixels 
   1000        Per level

-----------------------------------
DanielG
Sun Nov 23, 2008 5:41 pm

RE:Zippy Race
-----------------------------------
wouldn't your current point system make you want to let a car pass you, then pass it, and repeat then repeat?

-----------------------------------
S_Grimm
Sun Nov 23, 2008 6:14 pm

RE:Zippy Race
-----------------------------------
you should include code to make sure that the player doesn't get points for passing the same car twice. 

I think Boolean variables just might do the trick.

-----------------------------------
copthesaint
Mon Nov 24, 2008 8:40 am

RE:Zippy Race
-----------------------------------
... I have It so when you have passed a car it's speed will then  equal 0.

thats what I was planning.

further more remember if you crash you loss 25 to gas and also My AI will make the car try to move in front of you.
SO it will be very difficult anyways if you wanted to go back and forth.

-----------------------------------
copthesaint
Tue Dec 02, 2008 3:19 pm

Re: Zippy Race
-----------------------------------
Here is my most recent version of Zippy Race.
Curently I would say I am about 90% complete.
I'm still Looking for new Ideas and thoughts.

Still to complete:
 
-score section within options (pictures,buttons)
-space level (star, setup, space cars)

Please post comments.

(EDIT)
-Last post is 97% done one thing to do but anywho this is pretty much done
