Costin
✅ 3 objects inheritance thing + force call base.DoThing();
So I want to make Class3 inheriting Class2 inheriting abstract Class1, to have Class1's function.
Very confusing, but here's what I'm trying to do in code:
Bonus, I would also want to forcely call Class2's DoThing without the programmer removing the base.DoThing();
57 replies
Pixel-Perfect collision for tile-based game
So I have a 2D tiled Game that has gravity, and players slides with velocity when moving. the max speed can be -16 to 16 both x and y.
What I want is to implement pixel-perfect collision, so that when the player jumps or goes through a one tile air, it goes through instead of avoiding it.
It's also multiplayer but I already implemented networking.
Both players and tiles are 16x16.
225 replies