2D and C# - at a loss

I’m not sure if this is allowed, since this is a very general question, but I was wondering whether anyone could point me to the basic scripting tutorials/walkthroughs… you name it. For uni, it’s all about 2D programming lately and I’m awful at programming. Don’t understand a thing. I’m all for the art and the graphics and have the abilities to create those, but my scripting skills are abysmal at best.

If you don’t really know any specific good scripting tutorials for C#, perhaps you could help with this - I need to have the player character instantiate a bullet and to have that bullet travel forward. When it touches an enemy, the enemy dissipates. I can’t find any basic scripts for this, though.

I’d be grateful if anyone had any ideas!

These are pretty basic, but if you are as crap as scripting as I was, then they’ll provide a good starting point.

Go on youtube and find Sebastian Lague. He has a phenomenal 2D platformer tutorial he uses ray casting and might be a little to fast in which case I recommend Gucio Devs(again on youtube).

Why not try the tutorials on this site …

I think the Space Shooter tutorial might be closet to your requirements.
But all of them will help in some way.

I can vouch for Seb, he’s certainly done me a lot of good, however if you are new his methods might be a bit too advanced. When you are a little more comfortable scripting looks Sebastian Lague up for some insight into more advanced scripting.

That is why I added gucio devs. But Sebastian has improved my programming skills tenfold

The unity learn section is good. If you scroll down there are specific 2d tutorials using sprites, but you can also use 3D & lock the axis & set camera to orthographic as well.