Top Down Shooter: Unity tutorial series (03)

preview_player
Показать описание
Welcome to part 3 - more work on the gun system: bullet trails, sfx, shells etc.

Check out these sound effect packs:

You're welcome to request any features you would like to see covered in future episodes.

Full series playlist:

Download project files:
Рекомендации по теме
Комментарии
Автор

Great tutorial, I appreciate you targeting people who have a programming background instead of explaining every little detail, makes for a much more fluid and enjoyable watch!

qwasdr
Автор

Your tone of voice when you went 

"Nothing terribly impressive, I'm sure you could make it. It's a... a cube."

Made me crack up.

Great tutorial though! I love it.

himbibble
Автор

The shell ejection was a very nice touch. Thanks for going the extra mile!

scottev
Автор

Great series, still works well on Unity 5 with a couple of tiny tweaks.

I noticed the shells were always pointing in the same direction. Not sure if this is the best way to fix this, but;

newShell.rotation = spawn.rotation;

after instantiating newShell seems to do the trick. The shells are ejected facing the same direction as the weapon.

blitzkraigpd
Автор

I used
AudioSource audio = GetComponent<AudioSource>();
audio.Play();
instead, but so far this tutorial is very useful.

derekrieger
Автор

This is a brilliant tutorial series. Thanks so much for putting it together

leftyfourguns
Автор

I like your tutorials and I'm going through them.  I'm wondering if in the future you can pause for a moment when you're switching back from Monodevelop to Unity or changing concepts, or to talk about some concepts at a high level as you use them.  For example, Instantiate lets you do this, and if you want to understand more about instantiate, go here.  There are also a lot of minitasks you do that you breeze through or don't actually mention.  It's tough I know, because it's second hand for you and not necessarily for everyone else.

Thanks for the great work!

hodgepodge
Автор

Now in Unity5 worked with
mat =
and

impaga
Автор

audio.Play is obsolete. it wants to replace it with i'm not sure why, but my gun clip repeats way too quickly and sounds like a buzzing noise? what am i doing wrong??

mattsolomon
Автор

Hey Sebastian. I noticed that my shells eject according to "world space"? Like if I am standing facing Y, my shells eject like this: |    

But if I am facing X, they eject like this: __

Basically their rotation doesnt change when I rotate. Can you tell me how to fix this?  I noticed this on your gun too, if you look closely.

OmenLW
Автор

Rigidbody newShell = Instantiate(shell, shellEjectionPoint.position, shellEjectionPoint.rotation) as Rigidbody; and use privius Shell model. Because Shell direction on 90 degrees not facing and 180 degrees is facing)

MultiFlashPro
Автор

How about using a recording software that zooms in when you are coding etc. Because i guess many of us are finding it hard to read something on the screen with the todays screen resolutions :D

eXifreXi
Автор

OK i decided to take a couple of days off before doing the shells script and i got it working mostly Right. Useing Unity 5 and I can't get the rigidbody to Sleep. since I'm on Unity 5 do i need to GetComponent on the rigid body like i did the renderer? also do i need to know anything about .Sleep for unity 5?

dragonking
Автор

I have a huge problem all my shells are hovering in the air, as if they are sat on something; thing is there is nothing there for them to get stuck on. any help would be appreciated! 

HeyItsJRC
Автор

Could you fix the movement please? when I walk around using the mouse control the characters movement inverts weirdly. its kinda getting annoying XD, Other than that everything seems to be awesome! keep up the good work!

TRN_SeaHag
Автор

Im having problems with the shell.blend file. I cant seem to drag and drop it to unity and it prompts that blender has stopped working. im using unity 4.6.1f1 and blender 2.72b any help would be much appreciated :D

adrianalcomendras
Автор

If you don't want for the bullets to fall through the ground just delete the ground and create a cube then set its x = 0 y = 0.75 and z = 0, then set its scale to x = 30 y = 0.5 and z = 30 and give it the ground texture.

NikolaZagorac
Автор

Why are you adding in a tracer, I’m already tracer

stxcoop
Автор

Can someone help? When shooting one round after an other the audio clips.

thehugecrunchyone
Автор

I've been following the tut series these days. Its done really great and I'm gonna take my time with this comment to say thank you ^.^

stunkata
visit shbcf.ru