Tile Map Collisions | MonoGame Tutorial Ep. 12

  Рет қаралды 3,535

Coding with Sphere

Coding with Sphere

Күн бұрын

Пікірлер: 13
@the_lucas
@the_lucas 5 ай бұрын
I figured out to solve both at the same time today trying to do by myself. I could make it work. your videos are helping me a lot. I put to check the vertical while applying gravity and the horizontal while walking.
@abc-ed9xr
@abc-ed9xr 8 ай бұрын
Great tutorial! Keep em up! :D
@notallama1868
@notallama1868 5 ай бұрын
This collision method is great, but it breaks when the player size isn't perfectly divisible by the tile size. In some cases, it's not noticeable, but I found that, using your tile size of 64, if I set the player size any multiple of tiles + 6 pixels (70 or 134 for example), you start to get noticeable shaking when colliding with walls to the right or bottom, and if you set player size to anything less than 1 tile, the entire sprite can enter a wall to the right or bottom before the collision is detected and the sprite is abruptly thrown out of the wall. Basically, it works great as long as your sprite's dimensions are at least one tile large and no more than 5 pixels larger than the largest area you can construct within it with full tiles.
@bobbybuckley2346
@bobbybuckley2346 3 ай бұрын
this was really helpful was stuck on why this was happening for hours lmao
@veronikagaynulaeva2884
@veronikagaynulaeva2884 8 ай бұрын
Great tutorial! Are you planning to make a video about gravity, jumps and stuff?
@grey296
@grey296 8 ай бұрын
yooo new sphere upload
@MurielSoiffer
@MurielSoiffer 8 ай бұрын
que buen tutorial 👍👍
@cyra9544
@cyra9544 8 ай бұрын
Collision handling is soo annoying. I spent a whole weak tweaking it, and i still don't like how movement feels in my game. Plus sometimes i just clip into a wall for no reason. It's actually depressing
@codingwithsphere
@codingwithsphere 8 ай бұрын
I always have a hard time getting collisions working straight away. I like to keep a generic reference implementation to help with the headache. definitely one of the harder parts of making a game
@cyra9544
@cyra9544 6 ай бұрын
@xmlstudios i just added like a movement collision aura. If there is a rectangle in there it starts checking it N times per frame, where N is the length of character's direction vector
@cyra9544
@cyra9544 6 ай бұрын
Checking for collisions with the main hitbox
@SpikeLeonidov
@SpikeLeonidov 8 ай бұрын
Where is the python???🫠😫
@codingwithsphere
@codingwithsphere 8 ай бұрын
The next series will most likely use python !
Platformer Movement | MonoGame Tutorial Ep. 13
20:43
Coding with Sphere
Рет қаралды 1,8 М.
No-engine 2D rendering in 600 lines of code
23:21
Randy
Рет қаралды 82 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Tiled Editor | MonoGame Tutorial Ep. 11
15:53
Coding with Sphere
Рет қаралды 4,9 М.
How to make a Tilemap & Camera using MonoGame
2:44
GameDev Quickie
Рет қаралды 13 М.
The Best Games Made with MonoGame [2021]
15:25
Ask Gamedev
Рет қаралды 77 М.
Wintergatan - Marble Machine (music instrument using 2000 marbles)
4:33
Which game framework should you use?
10:01
Coding with Sphere
Рет қаралды 9 М.
I Scraped the Entire Steam Catalog, Here’s the Data
11:29
Newbie Indie Game Dev
Рет қаралды 885 М.
Tilemaps | Monogame Tutorial Ep. 10
10:22
Coding with Sphere
Рет қаралды 4,3 М.
One year of my C++ SFML journey
5:39
Snapi
Рет қаралды 433 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН