Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • Top-Down-2D-Car-Controller - Part 8a.zip

Missing 1 full-res photo, 1 file, as this post has not yet been imported.

Content

Part 8 of the Top down car controller is now available on YouTube.

The code for this episode below also contains a fix to solve an issue with the jump code as it wasn't compatible with checkpoints that we introduced in Part 7.


Files

Previews only

Mobile touch input - How to create a 2D Arcade Style Top Down Car Controller Unity tutorial Part 8

This is the 8th part of our 2D arcade style top down car controller in Unity from scratch. If you missed part 1 you can view it here: https://youtu.be/DVHcOS1E5OQ​ Download complete project on Patreon ▶ https://www.patreon.com/posts/top-down-car-49913192 In this part of the video we will cover how to add support for mobile touch input in a very easy way using Unity event triggers. We'll go through how to add UI input buttons and listen to touch events from them so you can use them only any touch enabled mobile phone. 📍 Support us on Patreon to help us make more videos like this one https://www.patreon.com/prettyflygames With this tutorial series you’ll be able to make a physics based race game with lots of drifting in no time. Car movement is often a challenge for a lot of developers but using simple tricks is often the best solution. If you want to try a game which uses this mechanic then feel free to take Total Arcade Racing for a spin. Join Our Community! We look forward to welcoming you. Discord: https://discord.gg/AyYtKXT Twitter: https://twitter.com/prettyflydev​ This component is used in Total Arcade Racing which you can play on 🖥 Steam ► https://store.steampowered.com/app/1264730/Total_Arcade_Racing/ 📺 Nintendo Switch ► https://www.nintendo.com/games/detail/total-arcade-racing-switch/ 🚗 PlayStation ► https://store.playstation.com/en-us/concept/10005454 🎮Xbox ► https://www.xbox.com/en-us/games/store/total-arcade-racing/9p0rz0wclmfm Music: https://incompetech.com/wordpress/2019/06/2246/ Assets: https://www.kenney.nl/ Chapters: 00:00 Intro 00:13 What we'll cover - Mobile touch input 00:41 Add UI canvas 02:15 Add UI Button 06:12 Add Event Trigger 08:49 Adapt CarInputHandler.cs 13:02 Add CarUIHandler.cs touch events 18:49 Prefabs caution 20:22 Hook up touch events 30:01 Example - Total Arcade Racing #PrettyFlyGames #LearnUnity #UnityTutorials #gamedev

Comments

No comments found for this post.