4,127 questions
-2 votes
0 answers
39 views
How to properly manage vertical offset for ghosts oscillating between tiles in Pac-Man ghost house
I am implementing ghost behavior in a Pac-Man clone, specifically the behavior when ghosts are inside the ghost house during the waiting phase. The issue is that ghosts inside the ghost house do not ...
0 votes
0 answers
37 views
Macro for auto-mining 24x24 area in Minecraft 1.8 [closed]
I need an advice which programming language is suitable in this situation. I need a macro/script that will dig a 24-block-long, 24-block-wide, and 24-block-deep mine. The blocks break instantly, and I'...
Advice
1 vote
0 replies
32 views
How can I design “story-driven NPCs” in a reinforcement-learned environment? Looking for development directions and architectural advice
I’m working on a thesis about "story-driven NPCs in a reinforcement-learning world", and I’m building a small multi-agent RL environment as a prototype. However, I’m unsure how to push the ...
-2 votes
0 answers
54 views
Script for automated mining in Minecraft [closed]
I'm completely new to Minecraft automation and need help from scratch. Task: Excavate a 25×25×25 block area in Minecraft. What I have: Minecraft 1.8 AutoHotkey Python OpenCV Anything you can offer ...
-1 votes
0 answers
54 views
How would I go about creating a sprint script in Unreal Engine? [closed]
I'm pretty new to Unreal Engine and I've been experimenting with blueprints and tutorials to try and get a sprint script working with a smooth gradual change. I first used a recent tutorial which let ...
Best practices
2 votes
0 replies
41 views
Compute 1D motion profile with acceleration, deceleration and mid-course target change
I need an analytic solution for a 1D motion controller. Initial state: x=0, v=0. Parameters: a_acc = 50, a_dec = 30, v_max = 40. Given a target position (e.g. x=20) the object should: accelerate up ...
Best practices
1 vote
1 replies
45 views
How do I detect collision with control node in Godot?
my card scene tree I want to make a card game where player can stack cards on top of each other (like Solitaire or Stacklands). I have a control node as the root node and Sprite2D as the child node. ...
1 vote
0 answers
47 views
How to check for possible collisions using gizmos
I am making a clone of the game "Arrow Out." I am not sure if this is even the correct way but I am thinking of using gizmos to check if there is another arrow in the path of the clicked ...
Advice
0 votes
2 replies
46 views
Better AI Behaviour
I am currently working on AI Behaviour in a Beat-Em-Up game in Unity for my beat-em-up project, I am currently using my own statemachine system (with states that don't inherit from monobehaviour) to ...
0 votes
0 answers
45 views
Camera follow not working properly in Phaser 3
I'm working on a Phaser 3 project where I want the camera to follow a physics-enabled sprite (an orc). I've set world bounds and camera bounds and used startFollow, but the camera doesn't seem to ...
Advice
0 votes
6 replies
187 views
The feasibility of creating a small-scope 3D multiplayer game using C and Vulkan
I come seeking advice. I'm attempting to make a game with C and Vulkan (no engine). It will be low scope. It has a low-mid poly aesthetic, fairly involved mechanics, and will be multiplayer, ...
0 votes
0 answers
57 views
How to make a player stick to a planet while moving?
I actually make a game about a space explorer but i've enconter a problem. When my player hit the ground (or when he spawn on the surface) he slide on the back of the planet. How can i actually make ...
Advice
1 vote
0 replies
76 views
Text-to-Speech function in a 3D Unity game
I am doing a 3D game using a Unity, and I need my NPC can communicate with the players with voice I want my NPC can speak with a voice that response is generated by the LLM, so the response will ...
1 vote
0 answers
65 views
How to rotate a model?
I have a code for rotating the turret model, but the mesh rotates, but the turret model also has a gun, but it either freezes regardless of the mesh rotation or simply does not rotate local Players = ...
0 votes
1 answer
107 views
I need help fixing this crouching bug
I'm currently struggling to understand why the crouch mechanic isn't working all that well in unity. I would be grateful to anyone who can help me understand why this code doesn't work and how can I ...