GameDevLuuk
GameDevLuuk
  • Видео 6
  • Просмотров 129 904
Artillery shooting in Unity using Angle, Power & Trajectory
In the previous tutorial we made a destructible terrain. In this tutorial we focus on the tank shooting projectiles artillery style like you see in Worms. The player can set the angle and the power with his mouse and fire a projectile that follows this trajectory.
0:00 Intro
0:45 Tank prefab setup
01:30 Aiming script
07:32 Shoot script
09:00 Projectile script
12:44 Outro
-------------------------------------
Support GameDevLuuk on Patreon!
patreon.com/gamedevluuk
♥ Subscribe: bit.ly/3gIbu7W
BE PART OF THE COMMUNITY
-------------------------------------
● Join the Discord: discord.gg/p5VQZKN
● Instagram: gamedevluuk
● Twitter: gamedevluuk
Просмотров: 8 431

Видео

How to optimize your Unity game for Mobile, PC & WebGL: from 230MB to 3.7MB
Просмотров 94 тыс.4 года назад
How to optimize Unity Mobile, PC & WebGL to reduce build size? Is your Unity build as small as possible? Information about optimizing a Unity Mobile, PC & WebGL build is very limited, but not anymore! In this tutorial we take a look at optimizing the textures of a Unity build with incredible results. I started at 230MB and brought it back all the way to just 3.7MB. 0:00 Intro 1:34 Finding Bottl...
Weapon Generator inspired by Borderlands using Unity: Dropping weapon physics, raycast to enable UI
Просмотров 2,3 тыс.4 года назад
Borderlands is known for their randomised weapons and having a 'gazillion' guns. Do you want your game to have a near endless amount of weapons or just interested in how it works? Let's take a look at how they did it and create a random weapon generator from scratch ourselves in Unity! This is the final part. Part 1 - Generating the weapon ruclips.net/video/uUcPccXTtE4/видео.html Part 2 - Stati...
Weapon Generator inspired by Borderlands using Unity: Equipping, Firing & Particle FX
Просмотров 3 тыс.4 года назад
Borderlands is known for their randomised weapons and having a 'gazillion' guns. Do you want your game to have a near endless amount of weapons or just interested in how it works? Let's take a look at how they did it and create a random weapon generator from scratch ourselves in Unity! This is part 3 of a series. Part 1 - Generating the weapon ruclips.net/video/uUcPccXTtE4/видео.html Part 2 - S...
Weapon Generator inspired by Borderlands using Unity Part 2.
Просмотров 7 тыс.4 года назад
Borderlands is known for their randomised weapons and having a 'gazillion' guns. Do you want your game to have a near endless amount of weapons or just interested in how it works? Let's take a look at how they did it and create a random weapon generator from scratch ourselves in Unity! This is part 2 of a series. Part 1: ruclips.net/video/uUcPccXTtE4/видео.html Part 2 topics: 0:00 Intro 1:30 Ad...
Weapon Generator inspired by Borderlands using Unity.
Просмотров 16 тыс.4 года назад
Borderlands is known for their randomised weapons and having a 'gazillion' guns. Do you want your game to have a near endless amount of weapons or just interested in how it works? Let's take a look at how they did it and create a random weapon generator from scratch ourselves in Unity! This is part 1 of a series. Support GameDevLuuk on Patreon 😎 patreon.com/gamedevluuk ♥ Subscribe: bit.ly/3gIbu...

Комментарии

  • @dreamer_0001
    @dreamer_0001 25 дней назад

    Yoo Thank you so much you are the best!!

  • @rinorramadani9034
    @rinorramadani9034 Месяц назад

    how you get all this good qyality. when i create a cricle on scene, and play on my phone (in unity remote)my quality is low and my fps is down why ??

  • @Chris-yq1fw
    @Chris-yq1fw 2 месяца назад

    funny how a man out of nowhere drop some tutorials on what I really need, then just disaprear. If you're reading this, thanks man

    • @GameDevLuuk
      @GameDevLuuk 2 месяца назад

      Still here👀 , thanks for the comment, keep creating 🎲

    • @Chris-yq1fw
      @Chris-yq1fw 2 месяца назад

      @@GameDevLuuk any chance you'd be back and make some new tutorials ? I like your contents

  • @FileTh1rt3en
    @FileTh1rt3en 2 месяца назад

    Took my game from 2.6 GB to 0.7GB, loads about 4 times as fast now and of course is much smaller. Very great and informative video actually.

    • @GameDevLuuk
      @GameDevLuuk 2 месяца назад

      Thanks for the comment and very happy for your result :)

  • @tobario
    @tobario 4 месяца назад

    Still waiting for that audio optimization video ;)

  • @rCr101990
    @rCr101990 4 месяца назад

    the best! thanks!

  • @vrfxrealtime
    @vrfxrealtime 5 месяцев назад

    very helpful thanks for sharing!

  • @georgejegiazarjan
    @georgejegiazarjan 5 месяцев назад

    cool

  • @jvstAsYouAre
    @jvstAsYouAre 7 месяцев назад

    Well done mate

  • @SlothHuntOnYou
    @SlothHuntOnYou 8 месяцев назад

    what about sounds? .s3m .xm .it .mod = are not playble in webGL=((( it's huge problem=(

  • @CaptainFX1
    @CaptainFX1 9 месяцев назад

    Will it work if the player's side is to the right or left?

  • @KenlieroGames
    @KenlieroGames 10 месяцев назад

    Can you optimize files directly from asset folders with other app. So that when you save the file, lets say using photoshop, then the next time you start Unity, it automatically loads that (newly modified) file on startup?

  • @attenurmi936
    @attenurmi936 10 месяцев назад

    Super nice tips! Thank you!

  • @JonelKingas
    @JonelKingas 11 месяцев назад

    is it even posible to make low mb game like 5 MB etc, cause from what I see in my build editor log my small game that's pixel art takes Total User Assets 8.6 MB but it says Complete build size 71.6 MB? what are those other 63 mb?

  • @Primu
    @Primu Год назад

    6:00 You should increase the game preview scale to 1.0 to get an actual representation of what your assets will look like in the specified resolution.

  • @RegenerationOfficial
    @RegenerationOfficial Год назад

    For the start this should be enough.

  • @keyboardwarrior9356
    @keyboardwarrior9356 Год назад

    This tutorial is absolutely fantastic and I cannot thank you enough for it. I wanted to make a borderlands type game. If it were possible, I’d love to see how to animate the various guns, since different guns will have different reloads. Its been a while since youve uploaded to this channel, so I hope youre doing okay!

  • @USSR-Lenin-Stalin-Forever
    @USSR-Lenin-Stalin-Forever Год назад

    how to make Unity display the texture weight like yours?

  • @Junohawk
    @Junohawk Год назад

    Thanks so much! I had the aiming part down of my project, but I was trying to figure out a way to shoot at an angle and your projectile and shoot scripts helped.

  • @457Deniz457
    @457Deniz457 Год назад

    Wow NICE !

  • @SkorpionYassine
    @SkorpionYassine Год назад

    When is the optimizing audio video :(

  • @darkkinght6677
    @darkkinght6677 Год назад

    very appreciated your hard work and understandable tutorial thank you so much

  • @nitinthewanderer
    @nitinthewanderer Год назад

    How can we optimise it without diminishing the quality?

  • @What-a-save
    @What-a-save Год назад

    im using only UI elements IDK why even im using unity

  • @krzysztofpaszkiewicz1274
    @krzysztofpaszkiewicz1274 Год назад

    The change to the power of 2 seems to have a reverse effect in my project. While I had to reduce the width of my sprites slightly I also had to increase the height (added transparency) on most of them and after the changes the project is slightly bigger. Has anyone got any ideas about this? Not a big problem though I still reduced the size of the project significantly by: * lower the quality of sounds and music. * change compression from gzip to brotli (my new server supports it, it works well) * change texture format from DXT to ASTC * strip unused code (high)

  • @hammodh500
    @hammodh500 Год назад

    am very impressed on how this simple system with a good pack can create over 15 thousand unique weapons Great work

  • @yurinativo
    @yurinativo Год назад

    Really impressive! I just reduced my build from 46mb to 12mb and still have more assets to change.

  • @GeniusK
    @GeniusK Год назад

    This is amazing. Thank you

  • @jamieparkin7054
    @jamieparkin7054 Год назад

    the outline asset dosnt work for URP :' (

  • @mke344
    @mke344 Год назад

    amazing!!! appreciate it man!

  • @mingjyunhung6651
    @mingjyunhung6651 Год назад

    this is really helpful thank you !

  • @jayrome9946
    @jayrome9946 Год назад

    Thanks bro!

  •  Год назад

    cant seem to find the previous tutorial :o

  • @d4rkwells688
    @d4rkwells688 Год назад

    Dude! I was trying to apply this into a concept of my own but I noticed you didn't show the "UIWeaponStat" script! It does seem simple but I can't manage to do it. Could you show the script anywhere?

  • @NevRS32
    @NevRS32 Год назад

    Duude! That was awesome! Thank you!

  • @tejasyallatti
    @tejasyallatti Год назад

    I can't figure out the script UIWeaponStat, and its missing in the video. does anybody know the content?

  • @tejasyallatti
    @tejasyallatti Год назад

    how do I add firemode for different weapons? like randomize between burst fire mode or automatic?

  • @GokdenizCetin
    @GokdenizCetin Год назад

    Best texture size optimization video ever

  • @guilhermerocha8322
    @guilhermerocha8322 Год назад

    is possible to make a script that catches the target position and the projectile start position and angle and calculate the power? I made many calculations and nothing works!

  • @yuguojiang9408
    @yuguojiang9408 2 года назад

    Hello, can this optimization be used only on Ui, can it be used on model mapping?

  • @Deleted328
    @Deleted328 2 года назад

    Wow. Unity is much easier for this than unreal. i quit unreal and learn unity (:

  • @dominicturner15
    @dominicturner15 2 года назад

    Hi I know you haven't uploaded in a while but I have found this set of tutorials really useful my only difficulty is that I understand I am to specify the stat type and use the UiWeaponStat list to outline and change the number value in the UI card. I uncertain on how you formatted the list to cover the image, the stat name and then the value. or if you only done the value and left the rest of the Stat info as static

    • @dominicturner15
      @dominicturner15 2 года назад

      Also left me confused about the part covering the setstatvalue within the foreach loop and i was just wondering whether or not that is running as a seperate function and you are calling the function or if that is part of the list where the values as held and it just replaces them when this is called as long as the name space is the same

  • @orwell235
    @orwell235 2 года назад

    My Lord, this man just got another subscriber

  • @battou2501
    @battou2501 2 года назад

    Sprite atlas WILL FIT ALL! Do not mislead people! There is #1 in the top right over the atlas previre - this is the number of atlas it generated. It will generate as much atlases as needed to fit all!

  • @李洋-b6b
    @李洋-b6b 2 года назад

    Mipmap will occupy memory, webgl lack of memory,Is this ok?

  • @vespeneprotoss4346
    @vespeneprotoss4346 2 года назад

    You're a good teacher. Thank you, friend. I don't make games, but I love Borderlands and was curious how their system can make so many weapons.

  • @Injabsful
    @Injabsful 2 года назад

    nice work mate :)

  • @vaqquixx8620
    @vaqquixx8620 2 года назад

    I'm having an issue, when applying the weapon stats, I can't have more than 1 part give the same stat, I get an error saying that the key already exists.

  • @TheTryzna
    @TheTryzna 2 года назад

    Thanks for the series, it made my transition from GameMaker to Unity so much more easier.

  • @blitzzyboi3012
    @blitzzyboi3012 2 года назад

    How would you handle this if you had sockets on other parts? For example, I have a muzzle socket on my barrels for things like suppressor, etc. This code only works if all sockets are attached to the body.

    • @clippy911
      @clippy911 2 года назад

      You would just need to repeat the same thing for the barrels. Save each barrel as a prefab with a socket for the suppressors (or other attachments). Then you can control the generation similar to the video. I would handle attachments (that aren't required for a functional weapon) to have a smaller chance of being generated. Let's say 40% chance to get an attachment. Then pick one attachment from an array and slap it on the weapon. If it's an attachment that changes how the weapon handles or sounds, then you will just simply have to find a nice way to handle that. Let's say you get a silencer, then you want to set "isSilenced" to true and switch out what sounds the gun will have when it shoots somewhere in the script.