Phantom107 Forum

Phantom107's Forum. Discuss about games, GML, 3d, game design here. Enjoy your stay ;)
 
HomeFAQSearchRegisterMemberlistUsergroupsLog in

Share | 
 

 racing games

Go down 
AuthorMessage
slayer64
Heavy Poster
avatar

Posts : 143
Join date : 2008-01-05

PostSubject: racing games   Mon Jan 28, 2008 1:41 am

im making a racing game. SNES mario kart styled. does anyone know how to find what place each person is in? like 1st 2nd.....
Back to top Go down
View user profile
stewrat
Loyal Poster
avatar

Posts : 78
Join date : 2008-01-04

PostSubject: Re: racing games   Mon Jan 28, 2008 2:02 am

It wouldn't be very good, but here's an idea. You have an object that when the cart object colides with it turns or sets a variable so that the person in first draws "first" then the object changes into another object that when the next cart colides with it that cart draws "second". and so on. It's lame, but it's an idea.
Back to top Go down
View user profile http://www.yogamerclub.piczo.com
Guilty Sparks
Heavy Poster
avatar

Posts : 154
Join date : 2008-01-05
Location : USA East Coast

PostSubject: Re: racing games   Mon Jan 28, 2008 2:55 am

Or this is also a pretty lame idea, but every time a car passes the finish line, it changes into another obj. Then, on the collision with the finish line code, it counts the number of racer instances. Every time a player goes by, it sees how many obj racers there are and calculates from there Neutral
Back to top Go down
View user profile
slayer64
Heavy Poster
avatar

Posts : 143
Join date : 2008-01-05

PostSubject: Re: racing games   Mon Jan 28, 2008 4:17 am

i know how to get their position after they cross the finish line, but what about when they pass each other? i'd be in 1st then get passed and i would then have to be second. how do i figure this out?
Back to top Go down
View user profile
Phantom107
Admin
avatar

Posts : 206
Join date : 2008-01-03
Location : The Netherlands

PostSubject: Re: racing games   Mon Jan 28, 2008 3:36 pm

I think the best way to check the positions using a node system. Say you travel from point A to point B. The one in first place will be the one closest to point B. Now when the one in first place had past around the corner of point B and travels to point C, then the one in first place will be the one closest to point C. Get the picture?
Back to top Go down
View user profile http://phantom107.actieforum.com
Sponsored content




PostSubject: Re: racing games   

Back to top Go down
 
racing games
Back to top 
Page 1 of 1
 Similar topics
-
» Cernics Racing VIP Sweepstakes
» Does Gamestop still sell gamecube systems and games?
» Your Most Desired Indie Games for the 3DS eShop?
» Opinions your top 5 best $5 PSN games?
» Any good DSiware adventure games at 500 points or less?

Permissions in this forum:You cannot reply to topics in this forum
Phantom107 Forum :: Questions and Answers-
Jump to: