Midnite Oil Software LLC
Midnite Oil Software LLC
  • 167
  • 172 238
How to Make a 3D Space Shooter Game in Unity - Tutorial Part 20
Step-by-step Unity tutorial for beginners where you will learn how to make a 3D Space Shooter in Unity.
In this installment I show how to display a leading target indicator using quadratic equations to calculate the predicted intercept position for your projectiles.
00:00 - Intro
00:41 - Add target indicator UI element
04:19 - Edit the TargetIndicator script
09:49 - Calculating the intercept position
12:51 - Display lead target indicator
14:18 - Testing our changes
16:19 - Testing our changes
17:04 - Reducing project speed used in calculation
18:23 - Add Debug.Log statement to get projectile speed
19:45 - Outro
Link to entire playlist for this tutorial series
czcams.com/play/PLHcOLPSLOK7PNvLAdnqicE_BeqoNH7Zwz.html
Link to source code for this episode on GitHub:
github.com/gbradburn/3D-Space-Shooter-Tutorial/tree/Part_Twenty
Be sure to check out my Highland Panic game on Steam
store.steampowered.com/app/2391990/Highland_Panic
It's also available for the iPhone on the Apple App Store
apps.apple.com/us/app/highland-panic/id6448181825
And Android on Google Play
play.google.com/store/apps/details?id=com.midniteoilsoftware.highlandpanic
Join my discord to ask questions or chat about Unity game dev:
discord.gg/wrdqXPtw9y
In case you'd like to show your support by buying me a coffee:
ko-fi.com/gregorybradburn
Check out assets that are on-sale
assetstore.unity.com/?on_sale=true&orderBy=1&rows=96&aid=1100lzsEu
My Links:
My website: midniteoilsoftware.com/
My itch.io site: midniteoilsoftware.itch.io/
Twitter: SoftwareOil
discord.gg/wrdqXPtw9y
groups/347087173378560
#madewithunity #unitytutorial #3dspaceshooter #unity3d #spacecombat #input
zhlédnutí: 117

Video

Unity Tutorial - Addressables and Cloud Content Delivery
zhlédnutí 238Před dnem
In this Unity tutorial I teach how to use addressables and cloud content delivery to offload your game data to the cloud so it's not included in your initial install. I then show you how to download the game data on-demand from the cloud using Unity's cloud content delivery service. 00:00 - Intro 02:23 - Project without Addressables 03:59 - Configure addressables 06:25 - Create addressable 07:2...
Legends of Learning Localization and Text to Speech
zhlédnutí 74Před 14 dny
In the fourth video in the series I am doing for developing games for Legends of Learning using the Unity game engine I demonstrate how to handle localization and text-to-speech using the LoSDK. Legends of Learning Playlist czcams.com/play/PLHcOLPSLOK7M9BTYJudxlNqd6M_DKUnnL.html Sign up as a Legends of Learning Developer gamedevelopers.legendsoflearning.com/ Other Legends of Learnings links leg...
Legends of Learning - Saving and Loading State Data
zhlédnutí 122Před měsícem
In the third video in the series I am doing for developing games for Legends of Learning using the Unity game engine I demonstrate how to use the LoLSDK to save and load game state data. Legends of Learning Playlist czcams.com/play/PLHcOLPSLOK7M9BTYJudxlNqd6M_DKUnnL.html Sign up as a Legends of Learning Developer gamedevelopers.legendsoflearning.com/ Other Legends of Learnings links legendsofle...
Unity Game Dev Interview with Andrzej Gieralt
zhlédnutí 168Před 3 měsíci
In this video I am joined by Unity game developer and CZcams content creator Andrzej (Andrew) Gieralt. We discuss various aspects of game development and CZcams content creation and even briefly touch on our common faith. Andrzej's CZcams Channel www.youtube.com/@AndrzejGieraltCreative Check out his Heir Obscure game on Steam store.steampowered.com/app/1594200/Heir_Obscure_A_Hunt_in_the_Dark/ B...
Legends of Learning - Creating a New Unity Project
zhlédnutí 417Před 4 měsíci
This is the second video in a series I am doing for developing games for Legends of Learning using the Unity game engine. This video demonstrates how to create a Unity project, import the Legends of Learning Unity packages and configure the project for Legends of Learning. I also demonstrate how to test your build in the Legends of Learning test harness. Legends of Learning Playlist czcams.com/...
Game Dev Interview with Rick Davidson of GameDev.tv
zhlédnutí 235Před 4 měsíci
czcams.com/channels/bbOlBjl21q9kYlhprE_EDQ.html This is an edited version of the livestream interview with Rick Davidson from GameDev.tv! There were some technical issues for the first several minutes of the livestream so I've edited the video to clean up those issues and provide a more enjoyable viewing experience. Check out all the excellent courses at GameDev.tv www.gamedev.tv/ Timeline of v...
Unity Game Dev - Making a Math Game for Legends of Learning
zhlédnutí 341Před 5 měsíci
This is the first video in a series I am doing for a Math game I am developing for Legends of Learning. This video gives a brief overview of the process for selecting a learning object for which to develop a game, submitting a Game Design Document (GDD) and getting approved. Legends of Learning Playlist czcams.com/play/PLHcOLPSLOK7M9BTYJudxlNqd6M_DKUnnL.html Sign up as a Legends of Learning Dev...
Unity Tutorial: How to Debug using Rider or VS Code
zhlédnutí 554Před 6 měsíci
In this Unity tutorial I teach how to use Jetbrains Rider or Visual Studio Code to debug your Unity game. 00:00 - Intro 01:43 - Debugging with Jetbrains Rider 07:33 - Debugging with Visual Studio Code Be sure to check out my Highland Panic game on Steam store.steampowered.com/app/2391990/Highland_Panic It's also available for the iPhone on the Apple App Store apps.apple.com/us/app/highland-pani...
How to Make a 3D Space Shooter Game in Unity - Tutorial Part 19
zhlédnutí 1KPřed 6 měsíci
Step-by-step Unity tutorial for beginners where you will learn how to make a 3D Space Shooter in Unity. In this installment I show how to use the new Unity Input System to add controller (gamepad/XBox) for pitch, roll, yaw, thrust and fire. Link to entire playlist for this tutorial series czcams.com/play/PLHcOLPSLOK7PNvLAdnqicE_BeqoNH7Zwz.html Link to source code for this episode on GitHub: git...
How to Make a 3D Space Shooter Game in Unity - Tutorial Part 18
zhlédnutí 607Před 6 měsíci
Step-by-step Unity tutorial for beginners where you will learn how to make a 3D Space Shooter in Unity. In this installment I show how to use the new Unity Input System for pitch, roll, yaw, thrust and fire. Link to entire playlist for this tutorial series czcams.com/play/PLHcOLPSLOK7PNvLAdnqicE_BeqoNH7Zwz.html Link to source code for this episode on GitHub: github.com/gbradburn/3D-Space-Shoote...
Unity Tutorial: How to Freeze Time In Unity
zhlédnutí 527Před 6 měsíci
In this Unity Tutorial, which is in response to a request from one of my viewers, I demonstrate how to manipulate time in Unity and how it can be used to pause and resume game play. Check out my Highland Panic game on Steam store.steampowered.com/app/2391990/Highland_Panic Also available for the iPhone apps.apple.com/us/app/highland-panic/id6448181825 And Android play.google.com/store/apps/deta...
Unity Tutorial - Animated Score with Toon Numbers
zhlédnutí 322Před 6 měsíci
In this Unity Tutorial, which is in response to a request from @random_precision_software, I demonstrate how to use the Toon Numbers asset to make an animated score display. You can get the Toon Numbers asset from the Unity Asset Store assetstore.unity.com/packages/3d/characters/humanoids/toon-numbers-216655?aid=1100lzsEu Check out my Highland Panic game on Steam store.steampowered.com/app/2391...
Cinemachine Virtual Camera Transitions
zhlédnutí 205Před 6 měsíci
In this video I add an additional Cinemachine virtual camera and demonstrate how to seamlessly transition between cameras via code. Play the Dinosaur typing/racing game on itch.io midniteoilsoftware.itch.io/dino-racer I used the following assets in this project which you might like to use in your own projects: Dinosaurus Pack with Babies assetstore.unity.com/packages/3d/characters/animals/repti...
Cinemachine Target Group Camera
zhlédnutí 1,1KPřed 7 měsíci
Cinemachine Target Group Camera
How to make a typing/racing game in Unity
zhlédnutí 465Před 7 měsíci
How to make a typing/racing game in Unity
Dino Racer - A Simple Typing/Racing Game I whipped up using Unity
zhlédnutí 129Před 7 měsíci
Dino Racer - A Simple Typing/Racing Game I whipped up using Unity
Addressables and Cloud Content Delivery in Unity - Audio Tutorial Part 6 of 6
zhlédnutí 798Před 7 měsíci
Addressables and Cloud Content Delivery in Unity - Audio Tutorial Part 6 of 6
Unity 2D Dice Roller That Looks 3D
zhlédnutí 1,9KPřed 8 měsíci
Unity 2D Dice Roller That Looks 3D
Unity Collision Handling: Mastering Beginner Basics for Flawless Game Development
zhlédnutí 293Před 9 měsíci
Unity Collision Handling: Mastering Beginner Basics for Flawless Game Development
Play Footstep Sounds for Various Types of Terrain - Audio Tutorial Part 5 of 6
zhlédnutí 737Před 9 měsíci
Play Footstep Sounds for Various Types of Terrain - Audio Tutorial Part 5 of 6
Programatically Transition Between Music Groups - Audio Tutorial Part 4 of 6
zhlédnutí 263Před 9 měsíci
Programatically Transition Between Music Groups - Audio Tutorial Part 4 of 6
Unity Tutorial - Render Textures with Animated Sprites
zhlédnutí 663Před 10 měsíci
Unity Tutorial - Render Textures with Animated Sprites
Create Audio Settings User Interface in Unity - Audio Tutorial Part 3 of 6
zhlédnutí 263Před 10 měsíci
Create Audio Settings User Interface in Unity - Audio Tutorial Part 3 of 6
Refactoring our Unity Music Manager for Scalability - Audio Tutorial Part 2 of 6
zhlédnutí 294Před 10 měsíci
Refactoring our Unity Music Manager for Scalability - Audio Tutorial Part 2 of 6
Make a Basic Music Manager in Unity - Audio Tutorial Part 1 of 6
zhlédnutí 686Před 11 měsíci
Make a Basic Music Manager in Unity - Audio Tutorial Part 1 of 6
Unity Game Dev Mastermind Meeting
zhlédnutí 300Před 11 měsíci
Unity Game Dev Mastermind Meeting
Highland Panic Trailer
zhlédnutí 18KPřed rokem
Highland Panic Trailer
Midnite Oil Software - Unity Tutorials
zhlédnutí 640Před rokem
Midnite Oil Software - Unity Tutorials
Unity Tutorial: Mathematical Functions in the Inspector
zhlédnutí 771Před rokem
Unity Tutorial: Mathematical Functions in the Inspector

Komentáře

  • @hermanusjohannesbesselaar2499

    Good one Greg. Would love to get a grip on that math. Definitely giving you a like!

  • @MagicPigGames
    @MagicPigGames Před 14 hodinami

    Liked and subscribed!

  • @kwcnasa
    @kwcnasa Před 3 dny

    Dad joke @40:24

  • @RevolverEagle
    @RevolverEagle Před 3 dny

    As of Aug 2024, the post-build.bash script needs to change the path variable as path="${UNITY_PLAYER_PATH}"

  • @reigekikai
    @reigekikai Před 4 dny

    i've poked at it. for a while now, but cant seem to figure it out. How do i wait until the animation is completed before i continue a script. basically, i have a TurnHistory, and i'm trying to get the sprite of each die that the result lands on to save it in a list. Ive tried to just get the DieRoller2D[].GetComponent<SpriteRenderer>().sprite, but it give a different sprite than what the result is. AWESOME AWESOME piece of work. Im recreating the Minigame from Grandia 3 (Arrange Dice)

    • @midniteoilsoftware
      @midniteoilsoftware Před 4 dny

      Do me a favor and post this question over on my discord server where I can post a more detailed response.

  • @trials_games
    @trials_games Před 5 dny

    are GitLab and UnityCloud services free?

  • @gamedevoverflow
    @gamedevoverflow Před 6 dny

    Hi there, can you make a complete guide to publish a game on yandex games

    • @midniteoilsoftware
      @midniteoilsoftware Před 5 dny

      I have never published any games on yandex games so have no idea what is involved in that.

  • @Danschumac
    @Danschumac Před 7 dny

    Is it okay for me to use your code in my game? :)

  • @kevinkoolen
    @kevinkoolen Před 8 dny

    does this method also work when you integrated admob into your unity project

    • @midniteoilsoftware
      @midniteoilsoftware Před 7 dny

      @@kevinkoolen I have not used admob but if admob works on iOS devices then how you deploy it shouldn’t matter.

  • @DonUrqui
    @DonUrqui Před 8 dny

    Hello, I have the following error: 2024-08-21 15:50:40.423 *** Error: Unable to upload archive. The file '/BUILD_PATH/coalstone-games.pirates-n-trouble-2024-07-dksal7/.build/last/default-ios/build.ipa' cannot be found. (-43). Did anyone solve this?

  • @WASTERVERSO
    @WASTERVERSO Před 10 dny

    Thank you very much for the video! I'm Brazilian and I loved the teaching and the way you explain. It worked perfectly for me. I have difficulty learning because there isn't this type of content in my language, I would like to request a more detailed video on the subject: How to make updates with temporary events, how to update several files and not just a specific scene, how to change just one thing in a specific scene, etc.

    • @midniteoilsoftware
      @midniteoilsoftware Před 10 dny

      If I have time I'll see if I can do a follow-up video In the meantime, all you need to do is create addressables from your prefabs and give them a different label. You'll notice in my video that I'm loading the dependencies by label so you would do the same thing for any other addressables you add. Make sure the Bundle Mode is set to Pack Separately.

    • @WASTERVERSO
      @WASTERVERSO Před 10 dny

      @@midniteoilsoftware Oh, thanks, I think I understand. In case of creating for different platforms, would I have to create buckets for each platform or is there a way to create one for all of them?

    • @midniteoilsoftware
      @midniteoilsoftware Před 10 dny

      If you have more questions, join my discord and post there.

  • @md.shahadathossain7641

    You are doing a great job. It's very simple and well explained tutorial.

  • @bernienepper
    @bernienepper Před 14 dny

    I like your style - I played Q-bert - and coded in 8-bit assembly. Georgia Tech EE 1971 - sorry

  • @bernienepper
    @bernienepper Před 15 dny

    free-free-free-free -- Oden=$50(your crutch) -bye

    • @midniteoilsoftware
      @midniteoilsoftware Před 15 dny

      If you don't want to pay for Odin, you can download their free dll from the GitHub link above so the code in this tutorial will compile but without the benefits Odin provides.

  • @RetroSteve0
    @RetroSteve0 Před 16 dny

    If anyone else has trouble moving children of a Layout Group (vertical or horizontal), I had to add a Layout Element to the child I want to move, and then click "Ignore Layout". It will still allow the child to move relative to the parent. I was ready to pull my hair out figuring out why I wasn't able to move the ReloadsRemaining TMP object around.

    • @midniteoilsoftware
      @midniteoilsoftware Před 16 dny

      Just curious why you'd want to move children of the layout group? The point of a layout group is to automatically arrange the children for you.

  • @RetroSteve0
    @RetroSteve0 Před 17 dny

    Hey, just a tip at 3:20. If you disable the other cameras in the Hierarchy, you can stay on the cockpit cam while you move the HUD around!

  • @RetroSteve0
    @RetroSteve0 Před 18 dny

    Just to piggy back off of 24:58 because I ran into this after I messed up my project during one of the earlier refactoring videos and then having to play catch up to prevent from having to redo hours of work since I didn't have a good Git commit. If you follow along enough to download and import the assets that will be used, you should be able to then just clone future branches, given you at least have the assets imported. Just check the links in the video to see if any new assets are linked. At worst, you'll have to create the Detonator Assembly Definition, and your IDE may yell at you about a missing Detonator reference which you can resolve by telling it to import the reference. Thanks for making such an amazing series! I would definitely love to see you make a new series once time permits!

  • @RetroSteve0
    @RetroSteve0 Před 19 dny

    Haha 33:35. Yes, I notice them all the time! Red squigglies drive me crazy and they always stick out like a sore thumb to me. Also, I use GitHub Copilot and usually I notice the discrepancies in what my auto complete shows versus what you type! :)

  • @RetroSteve0
    @RetroSteve0 Před 20 dny

    Not only is bro showing us how to make a 3D Space Shooter, but he's also showing us how to fully leverage Rider's capabilities.

  • @RetroSteve0
    @RetroSteve0 Před 20 dny

    I tried to go ahead of the video and finish the asteroid prefabs myself and forgot to add the rigidbody to my asteroids and was like now why aren't any asteroids spawning now! It would only spawn one, produce an error about a missing rigidbody, and not spawn any others. So yeah, don't forget to add your rigidbody folks!

  • @RetroSteve0
    @RetroSteve0 Před 21 dnem

    Heheheh, I was waiting at 1:28:00 to see if you realized you needed to click in the game window for it to hide the cursor ;)

  • @LoLe-x1j
    @LoLe-x1j Před 21 dnem

    How do you assign the transforms through script though?

    • @midniteoilsoftware
      @midniteoilsoftware Před 21 dnem

      var vcam = GetComponent<CinemachineVirtualCamera>(); vcam.LookAt = bla; vcam.Follow = bla;

  • @ionutbiris9743
    @ionutbiris9743 Před 24 dny

    Hello. Do you know anything I can do about this error? ERRORS: [error] [2024-08-05T11:48:34Z - Unity] [Licensing::Client] Error: Code 10 while verifying Licensing Client signature (process Id: 3310, path: "/Applications/Unity.app/Contents/Frameworks/UnityLicensingClient.app/Contents/MacOS/Unity.Licensing.Client") Thank you in advance and thank you for the video!

    • @ionutbiris9743
      @ionutbiris9743 Před 23 dny

      Update: that error was a false positive. The build continued after it. The real error was my compilation error. Some script that did not work for iOS version.

  • @codetastisch
    @codetastisch Před 27 dny

    Boy have you helped me right now. Wow! Thanks.

    • @midniteoilsoftware
      @midniteoilsoftware Před 27 dny

      Glad to hear it! Thanks for the feedback.

    • @codetastisch
      @codetastisch Před 26 dny

      @@midniteoilsoftwareYou‘re welcome! I noticed that I keep getting build errors and it keeps failing to build even though building it locally works and runs fine. Is there any way to contact you to elaborate on the details maybe?

    • @midniteoilsoftware
      @midniteoilsoftware Před 26 dny

      @@codetastisch Sure, join my discord server (there is a link in the description) and you can post detailed questions there.

  • @random_precision_software

    Hi, Im in the middle of converting my PC game to Xbox. I've got the mouse pointer moving with the Xbox controller sorted. BUT I've got a level selector which did use buttons on PC , but I can't get the raycast to work for the canvas, have you any ideas or do a quick tutorial? Thanks

    • @midniteoilsoftware
      @midniteoilsoftware Před 29 dny

      Make sure your canvas has a GraphicRaycaster component attached to it. You could also try manually handling this by adding an IPointerClickHandler interface to the components. Another idea is to attach an Image component to the objects to make them a valid target for raycasting within the canvas hierarchy.

  • @sotofpv
    @sotofpv Před měsícem

    Thank you so much for these videos, I'm just getting started with lol and this is extremely helpful, looking forward to more explanation videos on the rest of the API and SDK

  • @codewitharib
    @codewitharib Před měsícem

    Nice ❤ video

  • @user-bw5kt1oo5q
    @user-bw5kt1oo5q Před měsícem

    How do you do? I was struggling to find a tutorial to link UnityCCD and Addressables. This video helped me a lot. Thank you very much!!!!

  • @janruretief4329
    @janruretief4329 Před měsícem

    I got to the point where the build succeeds, but the build doesn't appear in App Store Connect. The log also shows that the bash script ran successfully. There is no build at TestFlight or Distribution tho. I don't know if it takes time to show but the activity isn't even showing that it is processing to the App Store Connect.

    • @midniteoilsoftware
      @midniteoilsoftware Před měsícem

      Hmmm, I have not encountered. You might need to reach out to Apple about that.

    • @janruretief4329
      @janruretief4329 Před měsícem

      @@midniteoilsoftware I just saw in the log it failed Uploading to Appstore Connect, it gives me this error: "[error] shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory" My post-build script is set as Assets/post-build.bash but it doesnt seem to work?

    • @midniteoilsoftware
      @midniteoilsoftware Před měsícem

      @@janruretief4329 These type of questions are best posted in my discord channel but I would look at the actual paths shown in the log and confirm that the file structure is correct.

  • @jamiehalford1345
    @jamiehalford1345 Před měsícem

    Neat! I'd like to do this for a non-Unity project. I could not find the EULA for your art on your gitlab link.

    • @midniteoilsoftware
      @midniteoilsoftware Před měsícem

      The art (assuming you mean the dice) is from a free asset on the Unity asset store. The link is in the video description.

  • @GalileoVR
    @GalileoVR Před měsícem

    This brings back memories of when I was playing Trek-81 on the Apple ][ Plus. Once my friend's dad got an IBM PC I eventually discovered Borland's products like Turbo Pascal and Turbo C. I started learning C from playing with c-robots if anyone remembers that. Back them I liked to go through and optimize the c-robots source code to make it run faster. I would do things like replace sine and cosine calls with lookup tables.

  • @user-hl5zx1qh7s
    @user-hl5zx1qh7s Před měsícem

    Thank you ❤

  • @GameDevShowcase
    @GameDevShowcase Před 2 měsíci

    Great tutorial! I watched it fully. By the way, is it possible to use Cloud Content Delivery without Addressables, like directly fetching files from the cloud?

    • @midniteoilsoftware
      @midniteoilsoftware Před 2 měsíci

      Sure, you can fetch items from CCD directly using their API and 'UnityWebRequest' without addressables but using addressables offers several benefits including: Simplified Content Management (Addressables handle many complexities of content management, such as versioning and dependency tracking). Optimized Loading (Addressables provide optimized loading mechanisms, reducing the complexity of managing asset loading and unloading manually) Built-in Caching (Addressables come with built-in caching mechanisms, which can improve performance and reduce redundant network requests)

  • @claudiu4309
    @claudiu4309 Před 2 měsíci

    The build failed if I integrate Applovin, and succeeded if remove it, wath can I do? I try using IronSource and failed as well 😢

  • @totallyridiculous1254
    @totallyridiculous1254 Před 2 měsíci

    Question, (Using cinemachine) If I wanted to switch to another camera, how would I prevent it from moving along with the camera switch and stay in place for when I return to the main camera?

    • @midniteoilsoftware
      @midniteoilsoftware Před 2 měsíci

      I'm not understanding the question.

    • @totallyridiculous1254
      @totallyridiculous1254 Před 2 měsíci

      Sorry about that. I did figure it out. I wanted the parallax to stop moving when I switched to another camera so it didnt interfere with other shots. I am using cinemachine to configure my cameras.

  • @totallyridiculous1254
    @totallyridiculous1254 Před 2 měsíci

    Thank you SO MUCH! I am a beginner unity developer and I thought my background was missing something. This helped out SO MUCH! Thank you dude.

  • @Csumcat
    @Csumcat Před 2 měsíci

    is the song from pixabay

    • @midniteoilsoftware
      @midniteoilsoftware Před 2 měsíci

      No, it's from freesound.org. The main song is called 8bit Music for Game by annoyedcactus.

    • @Csumcat
      @Csumcat Před 2 měsíci

      @@midniteoilsoftware oh i found the same song on pixabay music

  • @xerxesthecheetah9945
    @xerxesthecheetah9945 Před 2 měsíci

    I am Oliver

  • @xerxesthecheetah9945
    @xerxesthecheetah9945 Před 2 měsíci

    I’m miss Janet Shirdon friend all Shemenski and I’m interested in an app game development and coding and computer animation

  • @OrtyhueyGD24
    @OrtyhueyGD24 Před 2 měsíci

    No I have not wondered

  • @AleksandarTrimchevski
    @AleksandarTrimchevski Před 3 měsíci

    Thanks a lot. I was searching for a Unity tutorial that’s go through whole process for my free educational game and your expertise and clear explanation made a huge difference. ♥

  • @gathikjindal3934
    @gathikjindal3934 Před 3 měsíci

    Towards the end, for some reason with the exact same code, my debug.log is spamming nocamera in the console, is it a new update change?

    • @midniteoilsoftware
      @midniteoilsoftware Před 3 měsíci

      Yeah, later on in the series I remove that Debug.Log() statement and also utilize some events. Do the cameras work other than the spamming of the console?

    • @gathikjindal3934
      @gathikjindal3934 Před 3 měsíci

      @@midniteoilsoftware yea the cameras do work fine, thanks for the fast reply tho

    • @midniteoilsoftware
      @midniteoilsoftware Před 2 měsíci

      @@gathikjindal3934 You're welcome.

  • @snehalsharma8724
    @snehalsharma8724 Před 3 měsíci

    I want multiple enemy ships to move in a particular formation/pattern(for eg ships in galaga), can you guide me on how I can achieve that?

    • @midniteoilsoftware
      @midniteoilsoftware Před 3 měsíci

      I do something similar to that in this video czcams.com/users/live-WYp9YAnFFI?si=L9lx842UJyxr2QM3

    • @midniteoilsoftware
      @midniteoilsoftware Před 3 měsíci

      In that video I use the DOTween tweening library to create movement paths for the enemies. You could also use Unity's Timeline to animate the movement.

    • @midniteoilsoftware
      @midniteoilsoftware Před 3 měsíci

      Another way to do it would be to create a component, maybe call it EnemyFormation which would have a collection of enemy ships and in the Update() method call a method called MoveEnemies(). This method would calculate new positions for each enemy using a sinusoidal wave. Have the x position move to the left over time (simulating forward motion) and the y position uses a sine wave to create a 'wave' effect. You could play around with waveFrequency and waveAmplitutde to control the frequency and amount of the sine wave for the vertical movement. You'd also want a speed parameter to control the speed at which they move horizontally.

    • @snehalsharma8724
      @snehalsharma8724 Před 3 měsíci

      @@midniteoilsoftware Ok I will try these out... Thanks a lot, really appreciate it :)

  • @machapuis
    @machapuis Před 3 měsíci

    Great tutorial and great voice! You should do voice acting for animation!

  • @dontfeedthetroll7224
    @dontfeedthetroll7224 Před 3 měsíci

    Awesome tip. Will safe me a lot frustrating moments not being able to save changes in play mode.

  • @dontfeedthetroll7224
    @dontfeedthetroll7224 Před 3 měsíci

    How do you archive the UI of Unity going green if you start the game?

    • @midniteoilsoftware
      @midniteoilsoftware Před 3 měsíci

      czcams.com/video/Ujay8-n1XHs/video.html

    • @dontfeedthetroll7224
      @dontfeedthetroll7224 Před 3 měsíci

      @midniteoilsoftware thanks for the tip. I messed up my scenes so often. Your videos are just great. I followed your tutorial today. Although the URP shader does not really work with the HiREZ ships (textures are a bit broken and need manual rework and camera also does not have the clean option. But the basic ideas are great.

  • @random_precision_software
    @random_precision_software Před 3 měsíci

    Hi Greg, I was just wondering if you could still do those score mechanics. The flip flap(like old train / Airport station departure boards) and the rolling up like CZcams's views on mobile. I don't know if you have noticed it? On android anyway. Thanks and fingers crossed.. I have incorporated the walking numbers video you did in my current game and it looks great! Thanks

    • @midniteoilsoftware
      @midniteoilsoftware Před 3 měsíci

      I might once I get done with my Legends of Learning game. That's taking up pretty much all of my game dev time right now.

  • @ddkigaming6730
    @ddkigaming6730 Před 3 měsíci

    Ive followed all of your process, But im stuck in unity cloud payment. I just want to publish it to IOS and it's saying to subscribe package to make a build

    • @midniteoilsoftware
      @midniteoilsoftware Před 3 měsíci

      Yeah, Mac builds are no longer free but they're only 7 cents per build minute. cloud.unity.com/home/organizations/18966651098468/devops/about

  • @federicofontana4317
    @federicofontana4317 Před 3 měsíci

    Thanks!

  • @josemartins-game
    @josemartins-game Před 3 měsíci

    Many thanks for this series. I learned a lot.