Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,731 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Car racing game - Time attack mode #156778
09/24/07 14:51
09/24/07 14:51
Joined: Nov 2006
Posts: 12
Portugal
J
JoaoR Offline OP
Newbie
JoaoR  Offline OP
Newbie
J

Joined: Nov 2006
Posts: 12
Portugal
I made a search in the forum and in GSTools and i didnt find any info about how to develop a time attack mode for a car racing game.

I would like to know if there is any info about that in AUM magazines or something, ty.

Re: Car racing game - Time attack mode [Re: JoaoR] #156779
09/24/07 16:18
09/24/07 16:18
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Time attack simply means you drive fast as hell to be the fastes guy in town? (race against the clock)

If yes I would take this approach:
Set-up portals in the game.
These portals are invisible models which reach from one end of the street to the other one, so the player has to go through them (he won't notice).
Give thoses portals a negativ push value, and use IGNORE_PUSH in the player's movement instruction.
Now, each time he passes through a portal (event_push of the portal) you count a var one up (or whatever).
At the finish line you have a modified portal, which checks if the player passed through all portals.
If he did, stop the time and reset the portal count (next round)
If he didn't, do nothing as he is trying to cheat


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1