5 ms·
I'm always amazed by solutions for user interactions. I once built a Bomberman clone that had control issues. The first iteration of the controls were clunky,
by k__ 22d ago
I'm always amazed by solutions for user interactions.
I once built a Bomberman clone that had control issues.
The first iteration of the controls were clunky, because I only checked if a player was touching a block in the direction they wanted to move and if there was, I reset the position.
Move down, hit block, stop.
After a bit of experimenting I checked if a player was halfway behind or ahead of a block and added perpendicular motion after resetting the position. That way the player would glide around the blocks.
Move down, hit block, stop, move left or right until moved around the block.
That change alone made the game 100x more fun.
- Gravityloss 22d agoIn FPS maps like Quake you only realized how much invisible clip blocks the map makers put in once you play an amateur map that doesn't have them. You hit things, get stuck and can even get crushed and die. Or you can try and play an early version of some popular multiplayer map that doesn't have them and it's way less playable. A lot of new creators of course will not believe you if you tell you have to do these affordances. I once tested a person's multiplayer map where a door had a central lip that crushed you if you entered off-center. I told them that it should be fixed, but the answer was "you should always go through doors through the center". It's some sort of very enticing idea of purity. "My map will only have real architecture and no affordances." In the end it will self correct.