Yes, I love them, it would be great if you can add a shop for the character, like in exchange of the money "found in the game", you can buy something for your character, or another charater [i hope i didn't spelt wrong, because english isn't my main language].
This is the tutorial I have been looking for years for! I highly recommend adding resource links to the assets as following along without them is difficult. Also, not everyone has PhotoShop so I included some free resources people can use.
Great set of tutorials you've got here! Really easy to follow, and at a good pace so you don't fill in any unnecessary detail I've been enjoying following along and pausing after each step to make sure I fully understand what's going on before I continue!
Discovered your channel a couple of days ago and enjoyed your content! great and clear tutorial. very helpful especially to newbies. keep up the good work
This s a really good tutorial, I have been trying to make a game forever but all the tutorials use premade sprites, tiles (You use premade tiles but I just made my own in photoshop) and barely teach you how to make stuff.
Hey , love your video’s , I’ve been watching them cause I want to learn making games but could you please make a series explaining what all the scripting lines and every word you type mean by examples? Would love it and help a lot of beginners who don’t have any experience like me
If you need to get rid of the background for a blank space(A long with lots of other pixel art things) I would recommend Piskel its free and super easy to use. You can just import the image and use the fill bucket to fill with a blank space.
Hey man, awesome tutorial. Im having one specific issue, where at some point there is like invisible tile and I can only jump over it or go from the other side. If you know how to solve this problem and will feel free to share it, I´ll be very happy :)
@@XxxNikGaxxX Yup, but i havent used Unity for a while so Im not sure if it is right. You need to change Geometry type in Composite collider 2D to Polygons
Why is that when I go into play mode I can't see what my camera is supposed to see, but if I move it further out, it also changes it's like a scale ratio
Currently experiencing a problem where after i touch a wall, a small invisible wall will spawn behind me and block my movement. Not sure how and why it happens.
Does anyone know how to fix the infinite wall jumps thing? I've been trying to find a solution for hours, but nothing is working. The only thing I can think of is to change the parameters for IsGrounded, but I don't know how to do that.
hi i am having a problem with the tilepalette. when i look up on google the same palette u have i can never find a png one so i always have to cut out the background in photoshop. then when i import it to unity everything just goes wrong. so do u have a download link for the tile palette pls?
Ok, so I have solved the problem somehow. If you check on Tillemap Collider 2D "Used by composite". If you arent able to jump after you check this option then use on the "Composite Collider 2D" on "geometry type" polygons istead of outlines. That should work
Could be that in your code that makes your character face where they're moving you copied what he wrote in the previous video word for word. In the line that says transform.localScale = new Vector3(1f, 1f, 1f) you need to replace those 1s with your x, y, and z scaling values respectively. same with the -1f except youd replace with minus whatever your x value is
Im sorry for asking, but why my character keep getting stuck on the platforms.It works ok on the 'Ground' but after it collided with the objects, it started to get stuck between platforms. Do i have to add composite collider 2d to the objects and set it to outlines like the platforms?
How can I fix this: When my Player hits a platform on the side, he flips around. So i just wanna freeze the rotation on the x axis. (if you read this please continue with this series)
Is there a way to implement code so that you won't be able to jump up walls? For context, here's my PlayerMovement code at the moment. using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { public float movementSpeed; public Rigidbody2D rb; public Animator anim; public float jumpForce; public Transform feet; public LayerMask groundLayers; float mx; private void Update() { mx = Input.GetAxisRaw("Horizontal"); if (Input.GetButtonDown("Jump") && IsGrounded()) { Jump(); } if (Mathf.Abs(mx) > 0.05) { anim.SetBool("isRunning", true); } else { anim.SetBool("isRunning", false); } if (mx > 0) { transform.localScale = new Vector3(1.5f, 1.5f, 1.5f); } else if (mx < 0f) { transform.localScale = new Vector3(-1.5f, 1.5f, 1.5f); } anim.SetBool("isGrounded", IsGrounded()); } private void FixedUpdate() { Vector2 movement = new Vector2(mx * movementSpeed, rb.velocity.y); rb.velocity = movement; } void Jump() { Vector2 movement = new Vector2(rb.velocity.x, jumpForce); rb.velocity = movement; } public bool IsGrounded() { Collider2D groundCheck = Physics2D.OverlapCircle(feet.position, 0.5f, groundLayers); if (groundCheck != null) { return true; } return false; anim.SetBool("isGrounded", IsGrounded()); } }
Are you still enjoying this series?
Yes thx
Add next level
Shop etc. Pls New video
yes i love them
Yes, I love them, it would be great if you can add a shop for the character, like in exchange of the money "found in the game", you can buy something for your character, or another charater [i hope i didn't spelt wrong, because english isn't my main language].
This is the tutorial I have been looking for years for! I highly recommend adding resource links to the assets as following along without them is difficult. Also, not everyone has PhotoShop so I included some free resources people can use.
YES
I've been watching these videos periodically throughout developing my platformer, and you've explained and taught everything extremely well. Good job!
Great set of tutorials you've got here! Really easy to follow, and at a good pace so you don't fill in any unnecessary detail I've been enjoying following along and pausing after each step to make sure I fully understand what's going on before I continue!
Awesome, thank you! I'm happy you enjoy them! I will be doing many more of these going forward!! :D
I am really enjoying the consistent uploads, thank you for all your work. I look forward for more videos!
Thanks! I'm trying to be more consistent!
Discovered your channel a couple of days ago and enjoyed your content! great and clear tutorial. very helpful especially to newbies. keep up the good work
You can hold shift to delete also with the with the big square selection. Also you should really use ruletiles for this.
Thanks for the tips!
Just became the 600 subscriber!! Congratulations on that!
Ayyy thanks! Welcome to the pack!
This s a really good tutorial, I have been trying to make a game forever but all the tutorials use premade sprites, tiles (You use premade tiles but I just made my own in photoshop) and barely teach you how to make stuff.
Can you link the tile map your using thanks :)
Hey , love your video’s , I’ve been watching them cause I want to learn making games but could you please make a series explaining what all the scripting lines and every word you type mean by examples? Would love it and help a lot of beginners who don’t have any experience like me
If you need to get rid of the background for a blank space(A long with lots of other pixel art things) I would recommend Piskel its free and super easy to use. You can just import the image and use the fill bucket to fill with a blank space.
great videos can you plz make touch controlled related videos for unity like the previous video anyway brillaint work
I will be doing more touch control videos in the future!
"punch that like button in the face... LIKE A BOOOOOOOOOOOOOOOOOSS"
😂😂😂
Hey man, awesome tutorial.
Im having one specific issue, where at some point there is like invisible tile and I can only jump over it or go from the other side. If you know how to solve this problem and will feel free to share it, I´ll be very happy :)
have you found a way?
@@XxxNikGaxxX Yup, but i havent used Unity for a while so Im not sure if it is right. You need to change Geometry type in Composite collider 2D to Polygons
Make transition videos please? Like when u move all the way to the right u transition into a new level
can you add a link to the tile maps you got please? thx
What do you rekon his favourite song is?
keep doing this , those videos are very help full for mee thank you!!!!!!!!!
where can I find the tile map you use because I am having trouble finding my own
Why is that when I go into play mode I can't see what my camera is supposed to see, but if I move it further out, it also changes it's like a scale ratio
13:52 this is just a reminder for what I’m at because I’m going to eat my food baiii💛
you never came back :(
@@Miguel-jj3vf I’m sorry I meant to make an update to the comment but I forgot I promise I did come back tho
@@Old_SDC lol
@@trv4505 ohh
Currently experiencing a problem where after i touch a wall, a small invisible wall will spawn behind me and block my movement. Not sure how and why it happens.
15:18 instead of making a new tilemap you could just make sure the objects don’t have any colliders or anything
Where did u find this tile map?
for some reason my tilemap when I draw it it is super tiny
Nice vid!
Does anyone know how to fix the infinite wall jumps thing? I've been trying to find a solution for hours, but nothing is working. The only thing I can think of is to change the parameters for IsGrounded, but I don't know how to do that.
change
Collider2D groundCheck = Physics2D.OverlapCircle(feet.position, 5f, groundLayers);
to
Collider2D groundCheck = Physics2D.OverlapCircle(feet.position, 0.25f, groundLayers);
hi i am having a problem with the tilepalette. when i look up on google the same palette u have i can never find a png one so i always have to cut out the background in photoshop. then when i import it to unity everything just goes wrong. so do u have a download link for the tile palette pls?
hey, so the tiles when putting them on the map, they are tiny, they arent the size as the squares
Would be great if you included the sprites you used in these videos.
opengameart.org/content/generic-platformer-tileset-16x16-background
thats the tileset its the only one I found
@@sebastianr6791 Thanks dude
please i need help,at a point i wont be able to pass(like theres an invisible wall or something) but i can jump over please help with this glitch
did you fix it
Yes, Im having the same issue like you. If you have any suggestions how to solve it, please let me know :)
Ok, so I have solved the problem somehow. If you check on Tillemap Collider 2D "Used by composite". If you arent able to jump after you check this option then use on the "Composite Collider 2D" on "geometry type" polygons istead of outlines. That should work
Well I think I know what my future will be :)
im making a map with the tilemap but my player just falls straight through everything
does it have rigid body 2d and tilemap collider 2d
how do i make that the tileset.png wouldnt have that blue background
how do you drag and drop the tiles in?
why does my character rotation resize to x,0 y,-90 z,0 or something like that when I hit the corner of an edge please help
Hello I think I know the solution : Go to your Player --> Rigidbody 2D ---> Constraints and check Freeze Rotation Z ! Hope it worked XD
@@stefanhuma3328 saved my life
Thanks so much for this
how do i turn off the gridlines
Do you know why when I set Pixel Per Unit to 32 it draws my tiles as 58x58?
does anyone know why when i click "play" my character resizes to x1 y1 z1? it makes my character giant and it cannot jump and slide through tiles
Could be that in your code that makes your character face where they're moving you copied what he wrote in the previous video word for word. In the line that says transform.localScale = new Vector3(1f, 1f, 1f) you need to replace those 1s with your x, y, and z scaling values respectively. same with the -1f except youd replace with minus whatever your x value is
me too
agfhgh I dont have tile palette in 2D section...
Im sorry for asking, but why my character keep getting stuck on the platforms.It works ok on the 'Ground' but after it collided with the objects, it started to get stuck between platforms.
Do i have to add composite collider 2d to the objects and set it to outlines like the platforms?
If you already added a composite collider 2d you need to check "Used By Composite" in the Tilemap Collider 2d
th-cam.com/video/eJik78bWSg0/w-d-xo.html
I used this tutorial to solve the problem
@@lorbot4477 Yup, that seems the case. I juz tick the used by composite in the platform's composite collider and the player now moves smoothly. Thx
just saving my spot 18:00
Hey man I love these tutorials but the tileset isn't a png for me can anyone please help me with this?
in your files, go to the image and change the . at the end to say .png instead of whatever it says atm
can we have the tilemap
My player just keeps falling when i move while playing. Pls help
Did you make sure your ground is tagged and in layer 'Ground'?
@@roxxane019 ya
@@promadness875 Little late here, does it have Box Collider 2D attached to it?
How can I fix this: When my Player hits a platform on the side, he flips around. So i just wanna freeze the rotation on the x axis. (if you read this please continue with this series)
If you're still having this problem go to your player and then go to the Rigid Body 2D component and under constraints then freeze rotation
Jeah Rigidbody 2d - > constraints - > freeze rotation on the Z Axis
@@mattrd3068 Thanks
@@hiiambarney4489 Danke
@@mattrd3068 thank
SHARE. THE. ASSETS. FOR. EACH. VIDEO.
Link for tilemap?
can i have the psd file
my hands hurt from doing the custom outline
Could someone tell me why my platform is falling down ?
ohh nvm. I had to change Rigidbody 2D "Body Type" to "Static"
(If someone has the same problem here's the solution :D)
Just a reminder for me 17:08
I feel bad for Aaron
I don't see a physics material 2d, all I see is a physics material
EDIT: you have to go to create>2D and then you will see it
thanjs
Not last
*me who has to do the template by hand due to not finding a good map*
who else skipped the animation tutorial?
Me because my character is a bean
@@TomTTFB SAMEEE!!! do u watch dani?
@@yourfellowgamer487 yes
@@TomTTFB epic
@@yourfellowgamer487 lol me too
Is there a way to implement code so that you won't be able to jump up walls? For context, here's my PlayerMovement code at the moment.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour {
public float movementSpeed;
public Rigidbody2D rb;
public Animator anim;
public float jumpForce;
public Transform feet;
public LayerMask groundLayers;
float mx;
private void Update() {
mx = Input.GetAxisRaw("Horizontal");
if (Input.GetButtonDown("Jump") && IsGrounded()) {
Jump();
}
if (Mathf.Abs(mx) > 0.05) {
anim.SetBool("isRunning", true);
} else {
anim.SetBool("isRunning", false);
}
if (mx > 0) {
transform.localScale = new Vector3(1.5f, 1.5f, 1.5f);
} else if (mx < 0f) {
transform.localScale = new Vector3(-1.5f, 1.5f, 1.5f);
}
anim.SetBool("isGrounded", IsGrounded());
}
private void FixedUpdate() {
Vector2 movement = new Vector2(mx * movementSpeed, rb.velocity.y);
rb.velocity = movement;
}
void Jump() {
Vector2 movement = new Vector2(rb.velocity.x, jumpForce);
rb.velocity = movement;
}
public bool IsGrounded() {
Collider2D groundCheck = Physics2D.OverlapCircle(feet.position, 0.5f, groundLayers);
if (groundCheck != null) {
return true;
}
return false;
anim.SetBool("isGrounded", IsGrounded());
}
}
13:20 - Add a physics material 2d, name it Slippery, open it and do friction to 2 and add it to rigidbody2d to the material slot. Hope it helped :)
i can infintely jump
rewatch the jumping tutorials