Questions tagged [game-programming]

6 questions
0
votes
0 answers

How can I stop my Object Pool Object (ProjectilePool Object) from Auto Spawning?

enter image description here My Object Pool aka ProjectilePool prefab keeps playing when I hit play mode in Unity. It keeps shooting its projectiles without me hitting the "Fire1" mouse button.Is there some way to get it to not appear in the scene…
0
votes
1 answer

How do I save the player progress in a level progressing game in gamemaker

my game in gamemaker consists of various rooms which are levels and you go on progressing, so imagine im in level 7, and I leave the game, it obviously goes back to room 1, im using the coding language of gamemaker btw.Also the only thing I have to…
0
votes
0 answers

Authoritative game server allowing client action without strict acknowledgment

I have a game I am working on that is client/server (fully authoritative). The game is not FPS or MMORPG. More like Clash of Clans where you can see other people's attacks, chat, manage your resources etc but no real-time players in the same…
0
votes
1 answer

Player not moving in Raylib

In Raylib I am trying to make a player character move however it is not moving I have tried using different functions like KeyPressed(). Here is the code(This is compiled in c++20): #include ; int main(){ int camX = 0; int camY =…
0
votes
0 answers

Is there any way that will make the navmesh agent allways in pathpending

I bake my navmesh in runtime with a specific navmesh setting, and sometimes(not always), when I try setdestination to my own agent, the value of pathpending always returns true, resulting in that the agent is waiting for a path to navigate, and just…
-1
votes
0 answers

How can I rotate my camera to position it behind the target in Unity?

I'm developing a map navigation system similar to Waze in Unity, and I have a recenter button and a camera that needs to smoothly position itself behind a target object when I press the button. I'm adjusting the camera's position and rotation using…