• 3 Posts
  • 204 Comments
Joined 2 years ago
cake
Cake day: February 19th, 2024

help-circle
  • Maybe the new shadow warrior games, or painkiller series. I imagine any game made in the past decade would play just fine on a controller. God of War, while having quite a bit of narrative is still very much an arena fighter. The new doom games, while not third person, also fit that slot very nicely. Star Wars Fallen Order is quite souls-like. Helldivers 2 is really fun if you want some casual multiplayer fun. Control might fit the bill. You’re free to wander around, but you can also just follow the quest markers for a streamlined experience with solid combat. I hope one of those games might inspire you! I tend to gravitate towards more first person story driven shooters myself.








  • i and I are acceptable in small loops. But it depends a lot on the language used. If you’re in C or bash maybe it’s fine. But if you’re in a higher level language like C# you usually have built on functions for iterating over something.

    For example you have a list of movies you want to get the rating from, instead of doing

    for (i = 0; i < movies.length; i++)
        var movie = movies[i]
        ....
    

    Its often more readable to do

    movies.forEach { movie -> 
        var rating = movie.rating
        ....
    }
    

    Also if you work with tables it can be very helpful to name your iteration variables as row and column.

    It’s all about making it readable, understandable, and correct. There’s no point having comments if you forget to update them when you change the code. And you better make sure the AI comments on the 2000 lines of three letter variables is correct!