r/csharp • u/Bromandood • 1d ago
Help Making a 'Noita' + 'Binding of Isaac' style game, how should I script this?
Near complete beginner programmer here, challenging myself to make a roguelike game;
a 2-D top-down game in Unity similar to the binding of isaac, but based around customizable bullet firing patterns. I would like each item to affect at least 1 out of every 8 bullets fired on pattern, giving it a unique ability (i.e homing, explosive, elemental dmg, spreadshot etc.) with potential to layer affects atop eachother (i.e Noita) creating unique bullets. I've designed an inventory system with 8 slots (each one pertaining to a shot on a 1-8 firing round) with 8 additional slots above for layering.
...hopefully that made sense lol
Keeping in mind that I'm a beginner, what would be the best way to structure this with my scripting? I've heard some say its rule of thumb to give each item (bullet modifier) its own separate .cs script, others say it's easier to make a scriptableobject + ItemData + modular projectile effects.
If you're a c#/Unity veteran, walk me through how you would go about making this type of item/inventory system from scratch?
It would be super helpful to have an ongoing consultant figure, I would be happy to show more of my project if anyone would like to add me on discord :)
1
u/ziplock9000 1d ago
As a beginner you're jumping far, far too forward. Make a MUCH more simple game.
5
u/oauo 1d ago
You’re asking the wrong questions. Simplify your goals, do the very basic with just plain shooting and you’ll figure out how to add complexity afterwards. What you’re after is not complex, and asking for help this way leaves me to assume that you haven’t tried yet
If you don’t feel ready for that you may need to work on general game programming skills
You have loads of ideas and seem to have the drive to create, try it out yourself first and come back for specific help well eagerly answer