Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

►► Arcade Racer: Racing Game Development Kit

Discussion in 'Assets and Asset Store' started by Stephen_O, Jan 21, 2016.

  1. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Thanks for testing and feedback!

    The blank window is actually the welcome window, it's fully loaded after all importing completes. The InitializeOnLoad attribute does not work to open this when an asset is imported, so I've setup a OnPostprocessAllAssets callback to make sure the window loads the first time a user imports the asset. I'll try to setup a solution for it to open after importing completes instead of when it starts. This is not currently a high priority for me, but it's on my list of stuff to improve.

    I'm using 2019.2.5 for my testing lately, the only error I get after import is about a missing tree from the terrains - I'll sort that out.

    I was able to reproduce the minimap error by quickly stopping the open world scene after pressing play, I've added null checks so it won't execute that line unless it exists - I believe this happened because the minimap canvas setup coroutine did not complete and was not fully loaded and assigned before the scene stopped.

    Most of the cleanup from the racing system is complete, I'll do a tutorial on it next. Then I'll begin work on the championship race mode.
     
  2. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    I found some spare time so I fixed the bug with the blank window. I'll submit these fixes tonight.
     
    catchmani likes this.
  3. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Version 1.8.6 submitted.

    • Fixed a bug where the welcome window would open before asset import was complete.
    • Fixed a bug where pressing play mode and immediately stopping it in the open-world or race scenes would cause a null reference error on the MiniMap_Object script.
    • Raised player vehicle body collider ro prevent car from getting stuck on some curbs.
    • Add new layer 'MiniMap'. Setup minimap environment textures on a plane in open world and race scenes. Set minimap camera to only render this layer, this resulted in a large performance gain for open world.
    • Setup new tree prefab in demo scenes (only using 1 more-optimized tree prefab now).
    • Updated 'Standalone Game Template' to Beta 0.7
     
    catchmani likes this.
  4. catchmani

    catchmani

    Joined:
    Feb 26, 2018
    Posts:
    32
    that's awesome! thanks for the quick fixes, will check when available :)
     
    Stephen_O likes this.
  5. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Version 1.8.6 is now available.

    I've done a fair bit of optimization and cleanup this week; unless new bugs surface, the next few updates will be new features!
     
  6. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Version 1.8.7 submitted.

    • Fixed a bug where an index out of range exception error could be thrown after winning a race.
    • Fixed editor waypoint script missing waypoint gizmo references.

    New Quick Race Customization Tutorial:

     
    catchmani likes this.
  7. catchmani

    catchmani

    Joined:
    Feb 26, 2018
    Posts:
    32
    v1.8.6 looks cool.. didn't get any errors. thanks :)
     
    Stephen_O likes this.
  8. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    1.8.7 is now available!

    I'm adding PS4 controller support as an option for the standalone game template - this will make the new template support the 3 most common types of player input (Keyboard, Xbox One & PS4 Controllers) out of the box with the next update!
     
  9. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    1.8.8 has been submitted.

    • Added opponent icons to race minimap.
    • Added PS4 controller support as an option for the standalone game template.
    • PlayerInputSettings scriptable object profile now contains InputModuleSettings for UI and pause buttons.
    • UISelectionManager now uses PlayerInputSettings scriptable objects instead of its own data array for setting StandaloneInputModule EventSystem values.
    • PauseMenu open/close input is now set by UISelectionManager instead of its own inspector value.
    • Exposed minimap camera size to OpenWorldManager; set on start.
    • Updated standalone game template to beta 0.8
     
    catchmani likes this.
  10. JaseTechGF

    JaseTechGF

    Joined:
    Jul 23, 2015
    Posts:
    9
    Thanks for update. Left a review on front page, very please with asset so far. My only issue is theres no arcade mode/Word tour or what not. Feels really incomplete as far as trying to release a game for it. Other then that thanks for the hard work and updates. Also glad to see a new UI screen with a more traditional look and feel for consoles. and hell yes!!! controller support!!! good stuff man!!!

    I have 2 request.
    1. Arcade more
    2. And a spawn system, like if car is destroyed, fall of track, or fall into lava for example, the vehicle with spawn back on track, like in mario kart or road rash.

    thanks in advance, hope to hear back from you.
     
  11. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Thank you for the feedback on the beta and feature request.


    Championship mode was requested the most as the next game mode to add in the forum poll. I still have a few modes with some votes that should come next..

    Can you please explain what features you would like to see in your 'arcade mode' and how it works? Perhaps I will consider adding it to the poll. Also, the race system is very open and modular, so it would not be hard to script custom race modes.

    This is available now, there's an object in the race scene called 'ResetPlayerToLastWaypoint', you can set the key you want to use reset the player car there.
     
  12. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Version 1.8.9 submitted.

    • Standalone game template updated to beta version 0.9
    • Added Championship Series racing mode; create a series of races with any amount of laps for each race. Points are awarded based on finish position after each race. Series standings are shown after each race. Final series standings are show after the last race, the player receives a prize if their rank is high enough to receive a reward.
    • Improved UI design for standalone game template.
    • Renamed some racing scripts and template scene objects.

     
  13. JaseTechGF

    JaseTechGF

    Joined:
    Jul 23, 2015
    Posts:
    9
    Good stuff.

    As for request, I want to take a trip down memory lane, back during the golden age of racing games.

    1. A button where you can change music track of level....changing the racing station bascially like in crusin usa and road rash for example.

    2. If player reaches finish line, freeze scene, trigger victory scene. (add as an option).


    3. A new "scene" right after race, that can be used as a victory scene. Giving us the option to add cut screen add cool things like this before progressing to next stage.




    3. Add a lose scene, and a script to trigger a method/bool to forefit the race, like if the player crashes to many times, or if the player gets busted (I'm adding cops to my game), and the player will have to restart race. This will also give the shop/player's money more meaning, because within that script you can put deduct "amount" of money for players wallet, set it as a public int Deduct;


    4. This is not a request but a question. I'm going to have to find a way to add another vehicle controller, I want a old school arcade physics, and motorcycles if possible. My question is, ever since you revamped this project, it's is possible for me to do? Even if you don't add a swap out your own controller option, is there anyway you could give us pointers on how to go about doing it or what not. A small toturial or something, on how you would go about doing it. I can understand if you do want to go about adding a switch out your on controller to template, that may not be your vision for the template, but pointers or a small toturial for the mastermind behind this template like yourself would be a big help. Thank you.
     
    Stephen_O likes this.
  14. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Thanks for the details and examples, this really helps me understand what you're trying to achieve; often times someone may request a feature and my interpretation is different than what they would expect.

    This is clear, I think I can do something like it - I'll add it to the poll. This is actually very similar to the recently added championship mode (except without ranking the racers after each race).

    Just to note: It's possible to make new modes like this without much work if you wanted to create your own modes with some custom scripting. I created classes that makes getting and setting template data very easy for users who are comfortable scripting their own systems and game modes, or looking to build their own content from scratch using the default race template scene as a base.


    This can be done, but is something that must be custom scripted. Player and AI car prefab systems are not tied into game code, but rather use a single script at the root of the prefab to work together. This will make changing them much easier compared to the old template. As far as the race scenes are concerned the player is just an object with a collider and GameTemplate_Player script attached, while the AI is just an object with a collider using the GameTemplate_AI script.

    The player car prefab uses a script called GameTemplate_Player, when the player car is loaded into a race or garage scene this script is what is used to make scene specific changes to the prefab as it's loaded.

    Any systems in the game template scenes that need to talk to the player prefab go through this script - so any car prefab specific settings not available in your own controllers will need to be hooked up on your own through this script.

    The car camera and UI is part of the included car controller prefab - so you will need to cover those areas too (most physics player controller systems included their own UI and camera).

    AI Racer Opponents are mostly the same, using the GameTemplate_AI, when the AI car is loaded into a race scene this script is what is used to make scene specific changes to the prefab as it's loaded.

    Replacing the AI car prefabs would mean you need to have an AI System for your new physics controller to use - the included AI only works with the included AI car controller.
     
    JaseTechGF likes this.
  15. JaseTechGF

    JaseTechGF

    Joined:
    Jul 23, 2015
    Posts:
    9
    Thanks, I'm going to give you updates on the progressing, and let you know how it goes, this template has a lot of potential.
     
    Stephen_O likes this.
  16. JaseTechGF

    JaseTechGF

    Joined:
    Jul 23, 2015
    Posts:
    9
    btw, just to clairify, those are not modes,(but it'a cool to know adding more features are a thing, hell yea!!! :) ) but anyways 1,2 and 3 I mention are really just features, thats included within championship mode in those games. :), Sorry if I wasn't clear about that.
     
    Last edited: Oct 4, 2019
    Stephen_O likes this.
  17. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Correct, to me a new mode might be as simple as adding a new option menu button, making some script changes to existing systems, and exposing new settings or scriptable objects as configuration options to make it work.
     
  18. marcell123455

    marcell123455

    Joined:
    Jun 18, 2014
    Posts:
    46
    Hi Stephen,

    I thought about getting the racing game kit, but it's with 232€... in my case, too pricey, because I would just need the racer ai, positioning system / race types, and maybe the traffic system. Did you thought about releasing a lite version?

    Thank's
     
  19. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Hi marcell123455,

    The price is primarily based on the amount of time it took to create the AI and racing systems, and what they're capable of.

    All other content, like the the rest of the game template, is used as a demo of what can be achieved with the main modular systems (AI racers/traffic and racing systems); it can be a starting point for prototypes or reference.

    My goal is to continue improving these systems; maybe when I feel they are done I might make break the asset up into individual packages, but that's not in my current plans.
     
    marcell123455 likes this.
  20. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Version 1.8.9 is now available!



    Version 1.8.10 will add the new arcade mode menu option that was discussed last week. I'll post details when it's submitted later tonight or tomorrow.
     
    JaseTechGF likes this.
  21. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Version 1.8.10 submitted.

    • Updated game template to beta 0.10
    • Added knockout timer as a race option - the player will lose the race and series if it reaches 0. Created Checkpoints and CheckpointManager system to add time when a checkpoint is reached.
    • Added Arcade Mode option to main menu - A series of races with a knockout timer, increase time with each checkpoint reached. Run out of time and lose. Earn points on your finsih position for each race. The top racers will earn a reward at the end of the series.
    • Fixed wrong way message appearing offscreen.
    • Removed the need to assign race data to a game template race scenes.
    • Removed the need to assign playervehicle data to game template scene systems.
    • Race data is now loaded from the RaceDataManager object, setup in the main menu by default.
    • Player vehicle data is now loaded from the PlayerVehicleManager object, setup in the main menu by default.
    -- Note: these scenes can still be used without the main menu by manually adding the required managers.
     
  22. chrislarabell

    chrislarabell

    Joined:
    Sep 14, 2017
    Posts:
    3
    I'm still on 1.8.9, so maybe you fixed this. When I open the Completed Traffic Tutorial scene and press play, the cars go in a circle around the first waypoint and then crash into each other. I don't have layers 30 and 31 set up if this is the cause, because I am already using those layers for another asset. If this is the cause, where can I update the layer reference numbers. Thanks!
     

    Attached Files:

  23. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    I just pulled the package into a fresh project (2019.2.0), did not import any project settings or make any changes and that scene is working fine.

    The layers are only required for obstacle avoidance by changing lanes - this feature is not used in that scene. Here's some info about how the layers are used: https://www.turnthegameon.net/manuals/unity-asset-store/1/en/topic/tagmanager
     
  24. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Version 1.8.11 has been submitted.



    • Updated standalone game template to beta 0.11.
    • Added video tutorials link to welcome window.
    • Improved welcome window layout; reduced dead-space and window size.
    • Fixed material flickering in open world demo scene.
    • Added customization menu to garage scene.
    • Added body color to customization menu.
    • Added window tint color to customization menu.
    • Added rim color to customization menu.
    • Added neon lights to customization menu.
     
  25. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Arcade Racer is 50% off this week.
     
  26. JaseTechGF

    JaseTechGF

    Joined:
    Jul 23, 2015
    Posts:
    9
    I see that this is compatible with RCC, are there any tutorials or any info on how to set up player and cpus to run it. Thanks
     
    Stephen_O likes this.
  27. psikotropico

    psikotropico

    Joined:
    Jun 4, 2018
    Posts:
    1
    Just purchased! Thanks a lot for the discount. :)
     
    Stephen_O likes this.
  28. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Only the avatar is currently supported to be used with RCC, here's the tutorial: https://www.turnthegameon.net/manua.../tutorial-avatar-rig-realistic-car-controller

    Once I finish with the template beta, I will setup a basic workflow to replace the player prefabs with RCC vehicle prefabs for it.

    I don't have plans to allow the AI to control RCC.
     
  29. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Version 1.8.12 submitted.

    This update mostly focused on bug fixes and script, asset and prefab optimizations; a lot of small changes helped provide a small performance boost.

    • Added option to set volume limit on IKDVC_Audio script; this allows AI vehicles to set their own volume level on start.
    • Added option to set idle engine revs on IKDVC_Audio script; this allows the car to have an idle engine sound.
    • Set canPause to false after completing a race; this fixes a bug where the pause screen could be opened after completed a race.
    • Reset all prefabs to 0,0,0.
    • Added colliders to garage and other misc prefab objects.
    • Changed NPC Chat demo scene character controllers to use keycode.space instead of jump button; fixes missing jump input manager setting error after configuring the project for use.
    • Adjusted misc texture sizes and settings; reduced package size.
    • Fixed waypoint arrow mesh improper orientation; removes the need for a pivot.
    • Rebuilt a more optimized car mesh collider for player and AI prefabs; greatly improves behaviour of physics collisions.
    • Removed all unnecessary objects and components from AI_Car_LeftSteering_Traffic_FullyOptimized prefab.
    • Optimized AI, and other misc scripts scripts.
    • Misc optimizations to various prefabs.
    • Added AI editor gizmo toggle to AISettings.
     
  30. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    1.8.13 submitted.

    • Major file cleanup, naming conventions improved, some refactoring and unused code/file removal.
    • All scripts moved to TurnTheGameOn.ArcadeRacer namespace.
    • Updated most existing documentation to match new file names, locations and visual appearance.
    • All game template only files moved to new Game Template directory.
    • Removed beta tag from project data.

    Some documentation may still be inaccurate or incomplete, I'm currently working on finishing it and creating new tutorials to match final organizational, naming and visual changes and bring it fully up to date.
     
  31. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    1.8.14 submitted.

    • Moved Options_SetTransmission script logic to GameTemplate_Player script for demo simplicity.
    • Moved player car customization logic to it's own GameTemplate_PlayerCustomization script.
    • Cleanup GameTemplate_Player script and inspector.
    • Disable dashboard UI on AI_Car_LeftSteering_Racer prefab by default for improved performance.

    New Tutorials



     
    catchmani likes this.
  32. catchmani

    catchmani

    Joined:
    Feb 26, 2018
    Posts:
    32
    Hi!

    Asset store still shows 1.8.13, will try new update when it's available.

    So, howz things with adding new features
    • Map to Race events
    • Dialogues to Race events
    Much appreciate if you could speed up the process for adding these.. been waiting for a long time :)

    Also, can use help with integrating some features from Unity Karting Microgame
    • Speed Pads
    • Sparkling Particle Effects for tires
    • Sparking effects on colliding
    • Custom triggers events
    Please share your thoughts and also about the planned updates.

    Thanks!
     
  33. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Unfortunately I can't make the asset store approve my updates faster..

    I'm not sure what map to race events means, there's no map menu in the included game template. I'm not planning on adding one.

    I've planned on setting up a tutorial for using NPC Chat to load a race from the open world scene in the template, that will come once the template portion of the asset is out of beta.

    This was a 4 year project. I've worked very hard (thousands of hours) to bring the asset to this state over the last 2 years and have provided free updates to every user, I consider it feature complete at this point. There are almost no sales this year, so I'm basically working for free and have been for the last year; I'm not sure how much harder or faster you want me to work, it sounds like you want me to create more custom feature requests related to your need added ASAP.

    The goal of the asset is not to provide a full complete game for you to re-skin, but instead to provide a set of systems that can be used to create games (AI cars, traffic system, menu examples, controller input examples, race system, dialogue system, timer system). These are the underlining systems that can be used to add content to a project, it's up to you to use them how you see fit and create your own game.

    There are currently no known bugs. I'm finalizing documentation and tutorial content for the new template portion of the asset, and making any optimizations as I go. Once documentation is complete I will remove the beta tag from the new template.

    I will continue to take feedback, maintain, and improve the asset as I have been over the last 4 years since the original Racing Game Template's release. Please don't drop me a list of 6 new features and ask me to help you integrate them for free at an accelerated development pace.
     
    hopeful likes this.
  34. catchmani

    catchmani

    Joined:
    Feb 26, 2018
    Posts:
    32
    It's actually the World scene not the Map..

    I really appreciate the effort that you've put through over the years for improving the template, thank you so much. :)

    Guess you've read my lines wrong, I should have been more specific.. I have not asked directly to "Integrate additional features" just can use some help on how to do those. Like, what scripts can be changed to get those effects.

    Thanks!
     
  35. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Most of these are related to adding custom features, which means you can approach it in whatever way works best for you. Nothing on the player prefabs would prevent you from adding your own scripts for these features - which is how I would recommend. It sounds like OnCollisionEnter is what you're looking for.

    If you want to do custom trigger events, this is part of the asset, use NPC Chat. There are tutorials and documentation in the user manual that describe how it works. Specifically: https://www.turnthegameon.net/manuals/unity-asset-store/1/en/topic/trigger-area
     
    catchmani likes this.
  36. maciej116

    maciej116

    Joined:
    Jun 18, 2018
    Posts:
    1
    Hello, I am wonder if you planning to add network multiplayer and split screen mode? This template with these features would be fantastic.
     
  37. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    Hello, I've thought about split screen multiplayer, but it would likely be a while before I would start development it if I do decide to add it.

    I don't have any plans for networked multiplayer.
     
  38. catchmani

    catchmani

    Joined:
    Feb 26, 2018
    Posts:
    32
    Hi!

    Need help with 2 things..
    • How to rescale the Car view? Like getting it to a miniature level with environment being bigger.
    • When reversing, camera moves to the front until backing up.. how to disable this please.. it has to be the same front on view
    thanks
     
  39. Stephen_O

    Stephen_O

    Joined:
    Jun 8, 2013
    Posts:
    899
    The project was built to a real world scale, I'm not sure how physics or AI would react to making these objects smaller. You can open the player prefab and change the transform scale, something like 0.1 x, y, z to make the car 10x smaller. But I might guess that making your environment bigger would cause fewer physics or AI issues.

    Open the CarCamera script and comment lines 118-123 and line 125.