Jump to content


Photo

RR - Game Design


  • Please log in to reply
58 replies to this topic

#41 DIGI_Byte

DIGI_Byte

    Unitologist

  • Hosted
  • 1,747 posts
  • Location:Australia
  • Projects:GTFO
  •  Everybody do the Flop!

Posted 30 January 2013 - 01:49 AM

i guess what you need is a good map setup

you need 3 camera's one for the player view, one for the GUI and one for the skybox so you can fake stuff in the sky like large floating objects that would be impossible if added normally due to Z depth issues
( i learned that from mave)



Lyon-Fixed.gif
RIP 2323


#42 Gen.Kenobi

Gen.Kenobi

    I'm a doc, not an...

  • Undead
  • 1,429 posts
  • Location:Brazil
  • Projects:Survive Med School
  •  Your Doc
  • Division:Revora
  • Job:Hosting Admin

Posted 30 January 2013 - 04:22 PM

When we talked about Mini-planets stuff... Mario Galaxi came to my mind, so I did a very bad sketch of a posssible circuit/concept.

 

mini-planets.png


kudos to Pasidon for this awesome avvy and siggy!


#43 Pasidon

Pasidon

    Splitting Hares

  • Network Admins
  • 9,126 posts
  • Location:Indiana
  • Projects:Writing Words With Letters
  •  I Help
  • Division:Community
  • Job:Community Admin

Posted 30 January 2013 - 05:54 PM

Ooo, yea.  I like the craziness of it.  You have roads, but you don't even need to take them... that's my favorite part about the idea.  While other racing games are generic and linear, we'll have something more clever.



#44 duke_Qa

duke_Qa

    I've had this avatar since... 2003?

  • Network Staff
  • 3,837 posts
  • Location:Norway
  • Division:Revora
  • Job:Artist

Posted 30 January 2013 - 10:06 PM

Dunno how point-based gravity integrates into the physic system of Unity, but I guess it can be possible. I'd start with a constant 0,-1,0 before we think about planetoids, worry about loops and vehicle downdraft.


  • herbert3000 likes this

"I give you private information on corporations for free and I'm a villain. Mark Zuckerberg gives your private information to corporations for money and he's 'Man of the Year.'" - Assange


#45 Nertea

Nertea

    ...lo sa raptor!

  • Hosted
  • 3,349 posts
  • Location:Vancouver, Canada
  • Projects:Star Villains and Space heroes, The Dwarf Holds
  •  T3A Chamber Member
  • Division:BFME/Unity

Posted 30 January 2013 - 10:29 PM

You would have to roll your own system. Not too hard... simplest way to do it would be to have no gravity and do the physics manually.

 

Off the top of my head: use a sphere collider set as a Trigger (larger than the planet evidently) and make use of the Collider.OnTriggerStay event to apply a force each physics frame to all the cars within the sphere. The force would simply be scaled by the distance between the collider and centre of the sphere. You could either use "true" gravity math for accuracy or some kind of simple linear function (heck, I bet just scaling by the distance would work pretty well). Then drop in a planet-sized sphere collider set to be kinematic and the cars should just drive around easily.

 

-edit: Added diagram with crappy pseudocode

 

-edit: hehe, it works, I just protoyped it, very amusing!

Attached Thumbnails

  • sphere.jpg

sig.png
I really don't do requests and my Arnor Soldier is not fit for BFME. Don't ask me for either.


#46 duke_Qa

duke_Qa

    I've had this avatar since... 2003?

  • Network Staff
  • 3,837 posts
  • Location:Norway
  • Division:Revora
  • Job:Artist

Posted 31 January 2013 - 08:15 AM

I guess the physics part isnt the toughest, but when you start with AI and pathfinding for vehicles the ballgame might change. But I like the idea of having planets with ramps sending you off to other planets, so who knows what will happen when we get there.


"I give you private information on corporations for free and I'm a villain. Mark Zuckerberg gives your private information to corporations for money and he's 'Man of the Year.'" - Assange


#47 DIGI_Byte

DIGI_Byte

    Unitologist

  • Hosted
  • 1,747 posts
  • Location:Australia
  • Projects:GTFO
  •  Everybody do the Flop!

Posted 31 January 2013 - 01:14 PM

what you need is a node system, large sphere colliders and you have to create some sort of link system to link them up with a drag and drop style
this will allow multiple paths for the AI and maybe a chance on some paths to determine which way a character will likely take



Lyon-Fixed.gif
RIP 2323


#48 Pasidon

Pasidon

    Splitting Hares

  • Network Admins
  • 9,126 posts
  • Location:Indiana
  • Projects:Writing Words With Letters
  •  I Help
  • Division:Community
  • Job:Community Admin

Posted 01 February 2013 - 12:05 PM

How close are we to actually having a fully functional racer anyway?



#49 DIGI_Byte

DIGI_Byte

    Unitologist

  • Hosted
  • 1,747 posts
  • Location:Australia
  • Projects:GTFO
  •  Everybody do the Flop!

Posted 03 February 2013 - 01:38 AM

it depends, this is a write up on how to construct an arcade style racer

first you need the Pivot which is the characters position

Player (Pivot) (rigid body and sphere collider)

 >CameraAnchor (null object to snap/child camera too(important for cinematic and effects etc)

   (Camera pivot should unparent itself and smooth follow the character, simple parent the camera as desired)

 >MeshAnchor (null object, this is where you spawn the prefab of the car/character

   >>Mesh

     >>Collisions (null object to manage collisions)

     >>>Sphere (Character collision), Cube (car base), 4x Cylinder (wheels)

             (this could be in the player Pivot if all vehicles are the same generic shape/size etc)

  (end character prefab)
>TriggerFoot (cube used for detecting if on ground)


Edited by DIGI_Byte, 03 February 2013 - 01:45 AM.


Lyon-Fixed.gif
RIP 2323


#50 duke_Qa

duke_Qa

    I've had this avatar since... 2003?

  • Network Staff
  • 3,837 posts
  • Location:Norway
  • Division:Revora
  • Job:Artist

Posted 06 February 2013 - 08:10 PM

Not too advanced really, but it quickly adds up.


"I give you private information on corporations for free and I'm a villain. Mark Zuckerberg gives your private information to corporations for money and he's 'Man of the Year.'" - Assange


#51 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 20 February 2013 - 10:05 PM

I am curious to see who has begun the project? Has anyone started the root coding for these things? Or did i miss something from another thread?



#52 Pasidon

Pasidon

    Splitting Hares

  • Network Admins
  • 9,126 posts
  • Location:Indiana
  • Projects:Writing Words With Letters
  •  I Help
  • Division:Community
  • Job:Community Admin

Posted 20 February 2013 - 10:24 PM

At the moment, we're focused on having 3D things to play with before we enter the world of coding.  Diggy has started working on skyboxes (for some ungoddly reason) as well as a generic racer model, and I'm hoping we can dedicate some effort into coding the kart so we can have it fully functioning so we can branch from there.  But that's all hoping... I know Dig wants to get his other game finished before he starts dedicating more into RR, and Dukie is... doing something.  Important, maybe.  And that's all the coders we have, I think'y.



#53 duke_Qa

duke_Qa

    I've had this avatar since... 2003?

  • Network Staff
  • 3,837 posts
  • Location:Norway
  • Division:Revora
  • Job:Artist

Posted 21 February 2013 - 09:11 AM

Not much direct coding being done right now. Concepts and basic 3d models is where we are currently at. Digi's been doing some google research for wheel simulations.

 

I'm sort of in a buzz these days with my new 100% job. Once I start getting that under control and some other paying freelance jobs I've promised to do, I'll be more active here. I do try to squeeze in a few minutes of talk now and then though.


"I give you private information on corporations for free and I'm a villain. Mark Zuckerberg gives your private information to corporations for money and he's 'Man of the Year.'" - Assange


#54 DIGI_Byte

DIGI_Byte

    Unitologist

  • Hosted
  • 1,747 posts
  • Location:Australia
  • Projects:GTFO
  •  Everybody do the Flop!

Posted 24 February 2013 - 12:05 PM

for gravity for loops and roads, what if the cart had the collision sphere around it and it detected a terrain object (terrain or road/track), it would then shoot a rayast it and apply gravity in that direction, and for jumps, have a collision that tells the gravity that its a jump, using the collision is a reference point and then disable the gravity for 1 second so when its back on it pulls towards the closest track again



Lyon-Fixed.gif
RIP 2323


#55 Pasidon

Pasidon

    Splitting Hares

  • Network Admins
  • 9,126 posts
  • Location:Indiana
  • Projects:Writing Words With Letters
  •  I Help
  • Division:Community
  • Job:Community Admin

Posted 24 February 2013 - 06:32 PM

It sounds like that would work.  It also sounds like the math for that may be a bit tricky, but it sounds like you know whats up.



#56 DIGI_Byte

DIGI_Byte

    Unitologist

  • Hosted
  • 1,747 posts
  • Location:Australia
  • Projects:GTFO
  •  Everybody do the Flop!

Posted 24 February 2013 - 08:11 PM

na, no math needed, just triggers and detection


Lyon-Fixed.gif
RIP 2323


#57 Pasidon

Pasidon

    Splitting Hares

  • Network Admins
  • 9,126 posts
  • Location:Indiana
  • Projects:Writing Words With Letters
  •  I Help
  • Division:Community
  • Job:Community Admin

Posted 24 February 2013 - 09:02 PM

Would that work for different sized worlds in one map?



#58 DIGI_Byte

DIGI_Byte

    Unitologist

  • Hosted
  • 1,747 posts
  • Location:Australia
  • Projects:GTFO
  •  Everybody do the Flop!

Posted 24 February 2013 - 09:07 PM

of course, think of it this way, each player would be making their own gravity that pushes them towards the planet/track when driving

Edited by DIGI_Byte, 24 February 2013 - 09:08 PM.


Lyon-Fixed.gif
RIP 2323


#59 Pasidon

Pasidon

    Splitting Hares

  • Network Admins
  • 9,126 posts
  • Location:Indiana
  • Projects:Writing Words With Letters
  •  I Help
  • Division:Community
  • Job:Community Admin

Posted 24 February 2013 - 10:00 PM

Oh, yea.... I like that.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users