Join me at discord and I can help you
RNB Games
Creator of
Recent community posts
Hi there! This template is designed to be a solid foundation for creating your own FPS game, so it’s not a full game on its own, but it does include a complete demo scene where you can run around, shoot, interact with objects, and test all the systems in place (movement, weapons, enemies, UI, etc.).
That said, If there’s something specific you’d like to see or test in a more “game-like” format, let me know!
In my Godot project, I use the navigation agent 3D so the monsters can move avoiding objects and walls automatically, and use the built-in algorithm to find the shortest route to the target. If you like to make the monsters move like in the classic doom, then you should do it manually.
In Doom, the monster checks where its target is, and chooses a new direction to move out of 8 possible directions (i.e. monsters never walk by arbitrary lines, only horizontal, vertical, or diagonal movements are allowed).
Then checks if new direction doesn't require 180 degrees turn (because such turning is forbidden). if new direction doesn't require a turn, checks if can move in that new dir (i.e. simulates a step). if movement is allowed, we're done.
Now, if the monster cannot move into new direction (or new direction requires a 180-turn), then there is a chance (roughly 70%) for monster to turn left or right (by random, and again, with movement checking).
If all new pathes are blocked, the monster finally tries to turn around -- this is the only case when it does 180 degree turn. that's why monsters "run away" from the player in narrow corridors -- they simply cannot turn around.
This is basically it. no complex logic or pathfinding, so-called AI is quite dumb. the illusion of more-or-less smart movement comes from map design, and from the feature of human brains to see patterts of smart behavior everywhere. ;-)
In my Tanks! Template I improved the enemy AI. It has a patrol state going to random areas instead of an idle state. If the player is on sight it shoots. If the player is near enough but not in sight, then it goes in a pursuit mission. But if the player goes away too far, the enemy moves in random directions until it finds the target again.
Mmm what about Payoneer? Can you use it in your country? Where are your from by the way? The thing with credit cards in itch.io is that as I am not an US citizen, the IRS charges me 30% of my income in taxes, itch holds my money for a few days and then charges me a fee for withdrawal. I can't do these sales with that payment method. Let's figure this out!