Hey, i’m old member but starting to look forward making games…
Just a bit confused about making my own script especially when look after new platform script
so here’s the deal :
-i want to make some platformer that got seperate into 3 layers
-each layer seperate into different depth in 2D (actually i’m using 3D and it makes me comfortable)
-lets just say i need a button like “Shift + Up” to change lanes or layer
how do i do that? can i get some tutorial scripting instead make out off full script? i want to do it on my own…
Well if your not comfortable with scripts I’d highly suggest following some of the tutorials like Roll a Ball and space shooter to get a feel for making scripts and how GameObjects and transforms work: https://unity3d.com/learn/tutorials
Sure. In fact if you start a 2D project in Unity (Instead of 3D project) its still in 3D Space… it just automatically changes your camera to orthographic, and sets a few other paramaters to make it easier to deal with 2D world.
But you can easily write a 2D game with a default perspective camera, and a 3D project. You can even change the camera to orthographic.
If you going to paste your 2D textures onto the XY plane and have Z be the depth… when you want to jump layers just adjust the Z position of your player. If you separate the layers far enough apart, and you don’t want to see the top layer when you jump into the 2nd layer… move the camera forward in the Z direction as well so its “in front” of the 1st layer. Just to the opposite to jump back out.
thanks for ur explanation … i made this btw http://gph.is/2fRSs3x
i felt good…
but i still need to figuring script as much…
like moving and jump stuff, hud and other elements that platformer needs