imagination XD

realizing dream

[Update] NitroRacerXD Race Standing Finished!!!

4 Comments

This is it! This is a victory for me! The most difficult script I’d ever made. After a long long long long research with my retarded friends (they can’t make it clear), and ignorant unity answers people, i finally can make this script works! Back then, Door Script and Elevator Script are the most difficult script when i was new to Unity (not sure if new to Unity or just retarded).

How Does It Work ?

Well… It’s pretty simple. I design the concept on conversation lesson (thursday). And this is the concept i made

  1. Add new script that manages player’s current rank. I named it RANKERS.JS
  2. On rankers.js, i set the Distance to Waypoint value same with waypoint’s player distance
  3. On waypointer.js, it has 18 lengths player distance float array that manages distance to waypoint according to their car id and then sort it.
  4. Back on rankers.js, it checks sorted distance in waypoint script, which ones that has same distance to waypoint value with distance sorter and then return the index.

It’s so simple. Simplest than i checked on google. However, this script still has some bugs.

  1. Current Rank always be #1 if other player are too far or in other waypoint. SOLUTION : I’ll attach Distance Sorter script to GM.
  2. It doesn’t work when you just started the game.

I hope i can fix this.

Advertisements

Author: IMGVERTEX

Started making games since 13 year old. 3D CGI Weeaboo | VFX Otaku | Anime Researcher | Indie Game Dev | VR Chuunibyou

4 thoughts on “[Update] NitroRacerXD Race Standing Finished!!!

  1. Greetings! This is my first visit to your blog!
    We are a collection of volunteers and starting a new project
    in a community in the same niche. Your blog provided us
    useful information to work on. You have done a wonderful
    job!

  2. Hello, the whole thing is going sound here and ofcourse every one is sharing facts, that’s really excellent, keep up writing.

  3. Hi, i read your blog from time to time and i own a similar
    one and i was just wondering if you get a lot of spam
    responses? If so how do you stop it, any plugin or anything you can suggest?

    I get so much lately it’s driving me mad so any support is very much appreciated.

    • yea i get a lot of it… I get more than 1,200 spams. I use Akismet from WordPress. “Akismet has protected your site from 1,383 spam comments already.
      There’s nothing in your spam queue at the moment.”

FEED ME

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s