Questions tagged [game-development]
Questions directly related to programming computer gaming and interactive graphics/video. Questions involving game logic or general game development (which are off-topic here) should be asked at https://gamedev.stackexchange.com/
game-development
4,028
questions
-1
votes
0
answers
20
views
Enabling Game mode for own apps on Mac
I am currently making some rendering apps using OpenGL on Mac. The problem is that those games, even when I go to full screen mode, don't enable the game mode. Therefore my fps is pretty low.
Is there ...
2
votes
1
answer
44
views
2D smooth movement from scratch (javascript, pixelart)
My interest in game development led me to the idea of implementing the logic from scratch, without an engine.
Finally, I came to the point of optimizing the movement sequences of the background in an ...
0
votes
0
answers
20
views
Pathing for an Enemy AI [closed]
I am developing a video game in Game maker Studio, and I want to make an enemy with dynamic pathing. Previously I had to manually place nodes in the world that determined the paths that the enemy ...
-2
votes
0
answers
28
views
Cache thrashing
I am working, out of passion only, on a simple game engine to try ideas and implement a sample asteroids like game.
The recommended way is component based, streaming data etc. for good cache coherence....
1
vote
0
answers
14
views
A-Frame physics system dynamic-body not falling
The box defined as a dynamic-body just doesn't fall at all. I have tried downloading the minified JS provided in the github repository for the physics system, and changing my script tag to:
<script ...
0
votes
1
answer
27
views
Player is jittering when colliding with a wall
When I move against the wall, the player starts jittering.
using UnityEngine;
public class Movement2 : MonoBehaviour
{
[Header("Movement")]
public float Speed = 4f;
public float ...
-3
votes
0
answers
41
views
Java Game Graphics Not Working on Replit, VNC Error [closed]
Made a Java game for my final project in a class a few months ago, it uses Java.awt.Graphics and other Jawa.awt imports & it worked at the time. It was deployed on GitHub but we used Replit to run ...
0
votes
1
answer
17
views
Understanding Different Behaviors in Unity Rotation Calculation
I have recently begun learning Unity and encountered a perplexing issue. I implemented two different scripts to control the rotation of a GameObject, specifically a ball. In the first script, I ...
0
votes
1
answer
43
views
Why do the options not appear for my Snake game?
I am creating the snake game with a twist. I want questions to appear on top and their answers to appear randomly on the screen.
I am using turtle and creating classes while retrieving the question ...
-1
votes
0
answers
20
views
SFML Unable to play sound on keystroke [closed]
I am trying to make a small program that plays a sound whenever a key is pressed. I am mostly doing this to learn SFML and get better at cpp.
Looking at similar problems I have both the sf::...
1
vote
0
answers
37
views
How to access the mesh of static variable in unity c#?
I have a problem the problem is this how can I access the mesh of the static variable in unity when the variable is in another script and I want to change the mesh in other script if i do not make it ...
0
votes
0
answers
15
views
Testers can not access saved game in Firebase with Android Signed Bundle
With the bundle release (.aab ) file I generated for testing, my testers are able to save games they built using their own images, but they are not able to access it, even though I can see it saved in ...
-1
votes
0
answers
26
views
How do i specifically clamp the player to the top of the platform only if the rect collision is with the top of said platform [duplicate]
def collisionDetection(self):
if self.rect.colliderect(self.platform.rect):
if self.platform.rect.top <= self.rect.bottom:
self.rect.bottom = self.platform.rect.top
...
1
vote
1
answer
48
views
How to implement proportional guidance in 2D
I am trying to implement proportional navigation in order to create a missile class that receives the target location every frame update and intercepts it accordingly. I would like the missile to ...
0
votes
2
answers
44
views
My player movement script randomly sends the player in seemingly random directions sometimes
I am new to Unity and the following code is supposed to be a player movement script. Everything works as expected until every now and then, usually when multiple inputs are pressed in succesion, the ...