Ported this old jam Platformer I made to my small C# Framework, and added a little level editor for fun. Source code for all of it is here under Samples: https://github.com/NoelFB/Foster
GitHub - NoelFB/Foster: A small C# game framework

A small C# game framework. Contribute to NoelFB/Foster development by creating an account on GitHub.

GitHub
@noelfb
that's super cool!
love the style
@noelfb will definitely check this out. I'm compiling a bunch of research and one thing that's always eluded me is joining collision when you've got tiles _and_ entity box colliders to contend with. Seems like the entity mover (or whatever it's called) would just need to handle both at once. Anyway, tangent, this demo looks great!
@thefacto Yeah usually I end up writing a class that has multiple shapes, and the you just need to implement a matrix of overlap tests for each shape. For this case it's pretty simple since it's just Rect->Rect or Rect->Grid: https://github.com/NoelFB/Foster/blob/main/Samples/TinyLink/Source/Hitbox.cs#L47
Foster/Samples/TinyLink/Source/Hitbox.cs at main · NoelFB/Foster

A small C# game framework. Contribute to NoelFB/Foster development by creating an account on GitHub.

GitHub
@noelfb makes sense! I usually end up in a dark place of ECS where I'm trying to resolve entities/tiles/slopes. Doesn't feel tenable in such a decoupled system where moving into a slope may move you upwards into an entity's collider or vice versa.
@thefacto Yeah slopes are a whole other mess. For that kind of stuff I usually do Separating Axis Theorem + Quad Trees + Convex/Circle shapes only, and then try to resolve going up-slopes into other stuff by doing multiple overlap resolves, kinda... but it's not super nice haha
@noelfb appreciate the insights 🙏
@noelfb That zoom on play is just perfect!
@noelfb i love the transition effect to going into the editor.
@noelfb Oh! I still think about your C++ jam stream a lot, I learned a lot from it! :)
@lexusinator that's awesome! I wanna stream again sometime.
@noelfb That would be great, if you have the time of course 😊
@noelfb that frog looks cool! I must give it a try :-)