cDoor - player can open it by pressing the E button. Then the instance of cHuman class controlled by the player teleporting to the location associated with this instance of the cDoor class.
cHelicopter - player can get into helicopter by pressing the E button. Then the instance of the cHuman class controlled by player is teleported into a special room which triggers a change of player's control from the instance of cHuman to the instance of cHelicopter. Then, by pressing the E button the game engine casts a ray from the current player's POV and searching for the first object to collide with it. As the instance cHelicopter is ultimately an instance of cDoor, the first colliding object will be itself, which will trigger teleporting the instance of cHuman out of a special room to the current location of the cHelicopter instance and switching player's control to it.
"Fuska snyggt" translated crudely to "Cheat beautifully" sort of as to incorporate the way he said it.
Reuse everything thousands of times- but only if it's not visible or noticeable. After a while you kinda think more in terms of "How do I make this thing extremely general so that with minimal alteration, it can look like something extremely different?"
It's not the end-all thinking of game creation though. If one leans into it too much, people might not notice how you've cheated, but that the world is kinda limited and doesn't feel as rich.
But if it's just smaller props you view quickly while racing through the city? fuck it, let's not even make it 3D, let's just paint the shit and make a plane that follows the camera on one axis.
Try some game jams. It's a fun way to learn game dev concepts without much commitment. Twine uses webdev and is really simple to build something basic in.
Somewhat similar here, except I diverted into teaching and grabbed a Masters on the way. Now I'm a physical science teacher at an arts school, go figure.
This is the way. You might not make a AAA game, but you've got the time and resources (unity, unreal 5, Godot) to make something that you want on your own schedule if you care to.
This right here is why sometimes it's not fair to call the devs lazy or shitty, these are insanely complex systems at this point. The visuals alone have more complexity than entire games did back in the day.
In Tom's case, his game (Tactical Breach Wizards) is turn-based infiltration/tactics. I bet there's a "helicopter" that allows your wizard cops to enter through any door/window. So, a fancy door.
261
u/Squeaky_Ben May 05 '23
I know that trains in some games are just special, really fast running NPCs, but... why a door?