you are criminally underrated! not sure how you haven't blown up yet but you content is amazing. It wouldnt hurt to do some self promotion at the start or end of your vids because you deserve more!!!
Thank you so much for your help! You explain so crearly. I wish to create a videogame and thank to you I am closer to achieve it. I hope you to grow up in RUclips.
This opened up my brain a bit as to why my collision for my Android game hasn't been functioning correctly! I've been working on my math for 3 days to long so here's hoping!
@@CDcodes ha thanks I got it working figured out I doubled a line of code which was causing my player to move 2x further making it get stuck in the tiles.. Next I can't wait to play around with a platform style game like this!
It should work on all the blocks, and the player should fall off the mapnif they arent on a tile (but there's no logic to handle character death so the player will just disappear)
@@CDcodes can we write a if statement in which if the player's y position is greater than the bottom of the screen, reset the player's position. I think that will work 😀
What you can do is exclude those tiles from your list of tiles that are used to check collision. What I like to do is store them in a different list if they will interact with the player in a different way, or exclude them entirely from the collision list if they are just for decoration. You can also add a bool variable to the tile class that denotes whether the tile should be collided with or not
Bro can you make a tutorial for animating the movement of player. That would be so awesome 😍 I saw video from clear code, my player starts animating when I hold the key, but it is not moving. It will be helpful if you make a video on movement animation of the player
I actually have a video on animation: ruclips.net/video/qPnKIbrVnJk/видео.html My production quality was a little lower when I made it, so I may redo it in the future. But you can still learn from it!
you are criminally underrated! not sure how you haven't blown up yet but you content is amazing. It wouldnt hurt to do some self promotion at the start or end of your vids because you deserve more!!!
Thanks for the kind words : )
I was waiting for it 😍, thank for the videos 😘
Thank you so much for your help! You explain so crearly. I wish to create a videogame and thank to you I am closer to achieve it. I hope you to grow up in RUclips.
Happy to hear! Goodluck with your game, hope I can play it some day : )
please continue this game! objects you can pick up would be a great video!
Sure, I could do a video on that
@@CDcodes Ive been trying to combine all your previous videos into one game for the past 20 hours, im sure ill eventually get there 😅😭
Your so good at making games!
This opened up my brain a bit as to why my collision for my Android game hasn't been functioning correctly! I've been working on my math for 3 days to long so here's hoping!
Good luck!
@@CDcodes ha thanks I got it working figured out I doubled a line of code which was causing my player to move 2x further making it get stuck in the tiles.. Next I can't wait to play around with a platform style game like this!
very informational, thank you.
You're welcome stranger
please make video on animation on this series please
This is really a really nice explanation.
Thank you!
Great video man.
Thank you!
how would you create collison rect for a slope
Will all this run well if we keep all the logic of colliding in the main Thread?
Can you post how to have multiple enemies nxt please?🙏
really helpful
Glad to hear that!
In the previous video, we were able to walk on the empty space in the map, is it fixed now?
And the collisions are applicable for all the blocks?
It should work on all the blocks, and the player should fall off the mapnif they arent on a tile (but there's no logic to handle character death so the player will just disappear)
@@CDcodes can we write a if statement in which if the player's y position is greater than the bottom of the screen, reset the player's position.
I think that will work 😀
Yeah thats one way of handling it!
Hello! is there any way to turn off collision with specific tiles?
What you can do is exclude those tiles from your list of tiles that are used to check collision. What I like to do is store them in a different list if they will interact with the player in a different way, or exclude them entirely from the collision list if they are just for decoration.
You can also add a bool variable to the tile class that denotes whether the tile should be collided with or not
Bro can you make a tutorial for animating the movement of player. That would be so awesome 😍
I saw video from clear code, my player starts animating when I hold the key, but it is not moving.
It will be helpful if you make a video on movement animation of the player
I actually have a video on animation: ruclips.net/video/qPnKIbrVnJk/видео.html
My production quality was a little lower when I made it, so I may redo it in the future. But you can still learn from it!
@@CDcodes thanks for the reply, I'm new to your channel so I didn't knew 😅
I can't open when I dowload your file on github
What kind of error are you getting?
so this is minecraft???
Lol