Hello Guys,
I am looking for a basic tutorial covering the “2D Scrolling” in the type of a 2D fighting games such as ‘Final Fight’, ‘Double Dragon’ and ‘Streets of Rage’. You know where there is limited movement in the Y direction and then scrolls in the X direction.
Not looking for too much detail just something to get me started.
So any link to a tutorial be it a website, YouTube tutorial series or a tutorial at Unity itself would be greatly appreciated.
Thanking you in advance.
Regards.
So from the resounding silence does that mean it be a negatory on the type of scrolling I am after?
Did you try searching on google, youtube, or the unity website? I’d guess you didn’t get responses because you didn’t have an actual Unity question.
Why, yes I did try searching. I thought that my reason for not coming up with any possible hits for what I was after was because I was not being specific about the type of scrolling I was looking for, which is very specific type, which I don’t know the technical name for not being a "game developer’, I would like to try and rectify that and so I came here hoping that some helpful people might be able to help. I can do the platformer type of scrolling but not whatever this is called and parallax scrolling in the background.
And if you find that that is not an ‘actual’ question, then I suppose I should wholeheartedly apologize for that oversight. Sorry.
So “jefferyschooch” could you please give the code I need to get scrolling happening with a scrolling background from the ‘Spriters Resource’ preferably one that features one on the games I listed and a single sprite character representing the ‘hero’ sprite, I would just like it to scroll with the player for now, and some movement on the y axis, no need for enemies at this early stage on animation on the main character sprite - unless you feel compelled to do so.
Thankyou and Regards.
That looks really interesting. I am definitely going to look at this - might be a problem trying to actually learn from it though. But if the code is commented could be really good!
Thankyou and Regards!!!
Your question was essentially “can anyone find me a tutorial”, which is pretty much asking us to google for you.
I’m not trying to be mean or anything, but generally posts asking for code go unanswered. You should try to learn and do it yourself, and then come back with specific questions about something that’s blocking you from progressing, or something you don’t understand. We’re not here to build your game for you, but help you build your own game.
Not to mention you could probably find working code elsewhere, or even on these forums if you searched.
Any scrolling background tutorial can be extrapolated into a character focused scrolling background. You get to define where the character can and cant move. You don’t need a hyper-specific tutorial to learn how to do that. If you don’t know how to get to that point, then you should look up more general character movement and scripting tutorials.
If you find a code sample that works, but you don’t understand why or how, then that is a good thing to ask about in the forums. A post with a subject akin to “how does this code work?”, where you post the code in question would definitely get responses, especially in the Scripting subforum.