Need help with adding shooting to the game.

Hi, at the start, I need to say that I don’t know C# or any other language, I’m just a pixelartist who wants to make a game, everything I’m doing, I’m doing with help of tutorials. :slight_smile:

So I want to make a Enter the Gungeon-ish, bullet hell game and I’ve got a problem with adding shooting to it.

I’ve found a pretty good tutorial that shows more or less what I want:

My code is little bit different than his and it’s really difficult for me to adapt, because I don’t understand much code really.

This is my code - using System.Collections;using System.Collections.Generic;using UnityEngine; - Pastebin.com

I hope someone will help me, I’ll appreciate this really. Stay safe and have a good day! :slight_smile:

You have the movement part down. Since shooting a bullet is a different thing, you don’t have to worry that your code is different. You will likely write the code for shooting in a separate class, they will be independent of each other.

My advice is to search for a tutorial that only teaches the shooting so it’s less confusing and it will be cleaner.

1 Like

Try this tutorial. Brackeys is a great source for Unity tutorials.

jw

1 Like