Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
1 replies
71 views

I am trying to make a multi-layer sidescroller to imitate a 3d environment with SFML 3 and C++. The movement feels janky and everything is very early in development. The collisions dont seem to work ...
Parker Bladh's user avatar
Advice
0 votes
1 replies
77 views

I'm just getting into coding in unity for the past couple month and decided to try my hand in 2D, i made this player controller and it works well but when i playtest it the jump just feels ...
Karoll Stoll's user avatar
Advice
3 votes
17 replies
211 views

I've started work on my first text based game and would like advice on how to streamline it. I'm programming it entirely in python 3.12. This is only my second personal project and I've never done ...
No Sleep's user avatar
Advice
1 vote
1 replies
78 views

I'm very new to coding, so please, be understanding, my code might be quite wrong. Imagine a pokemon game, where each pokemon has basic stats. So I'm trying to make a function that will call these '...
Shamant Bagrecha's user avatar
Advice
1 vote
0 replies
36 views

Body I’m currently working on a capstone project where we are building a local multiplayer mobile game (Wi-Fi / hotspot based). I designed the following system architecture inspired by the host-...
Rhonniel Castro's user avatar
Advice
1 vote
3 replies
79 views

I'm making an old school type game with intentionally limiting controls. I want zero input mid-air and he keeps moving until he hits the ground. I want him to go straight up, small arch and big arch. ...
Ignis2401's user avatar
Advice
1 vote
3 replies
100 views

I make pixel art pretty often, and work in an HSV color picker while spriting in GIMP. When Animal Crossing: New Horizons came out, I set up a spreadsheet that would allow me to color match based on ...
Jordan Durci's user avatar
Best practices
1 vote
2 replies
136 views

I have a bunch of background systems that do various things. I.e: UnitManager : holds all the information regarding all the player units in the game SaveSystem: self-explanatory UnitActionSystem: ...
Nameugone's user avatar
0 votes
1 answer
100 views

I'm trying to create a First Person Shooter (FPS) game on Unity. I'm currently facing animation + sound effect (sfx) problems as they are not getting synced. The shooting sound effect is getting ...
user avatar
Advice
1 vote
11 replies
253 views

I am currently learning C++ and want to learn game engine development, but I don’t know the pathway to learn the necessary skills and get a job as a game engine developer. I have interest in Computer ...
user avatar
Advice
2 votes
4 replies
143 views

I'm trying to create a game in HTML, CSS, and JavaScript. I started following the tutorial by FreeCodeCamp: https://www.youtube.com/watch?v=7BHs1BzA4fs. The tutorial was on a side-scrolling game(...
human computer's user avatar
Advice
0 votes
0 replies
74 views

I've been running myself ragged trying to figure this out, since the documentation is rather sparse and the plugins are all somewhat out of date, but for a school project, I need to create a prototype ...
Sephun's user avatar
  • 1
Best practices
0 votes
2 replies
82 views

I'm working in a proyect, and i want to handle a "real world" map, my tiles are 10Km representations of the world. My map is arround 4000x2300 hexagons, but i dont know how to "render&...
Kelfindel's user avatar
Advice
0 votes
31 replies
303 views

Unlike conventional collision detection algorithms (using right-angled triangles), I created an algorithm using the theta value with objects. (Theory, etc., got a little help from the Gemini, but I ...
codingman1's user avatar
0 votes
0 answers
28 views

I am making an Game with Unreal Engine 4. In the Editor of UE4 everthing works out fine but when i am exporting the Game to ship it, the Ground of my Maps disappears. Its the correct Map, there are my ...
Shadowdara's user avatar
Advice
0 votes
13 replies
6k views

I was following this guy's 'how to program a game from scratch in c++ tutorial', and was wondering why window_class.lpszClassName = "Game Window Class"; has a syntax error, but when I added ...
TommyBoiii's user avatar
0 votes
1 answer
99 views

using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MonoGame.Extended.Graphics; namespace GameCore.Core; #...
Witold Wojcieszko's user avatar
Advice
1 vote
5 replies
265 views

I have been looking at frameworks for game development and I have found that pygame (a python game development libary) and love2d (a lua game development libary) seem the eisiest to learn. I also know ...
The python duck's user avatar
Best practices
1 vote
9 replies
197 views

I am currently coding a project with many if statements to check certain values. I feel like all those statements seem inefficient and time-consuming in my program. How can I optimize or manage this ...
ripe_onions's user avatar
0 votes
1 answer
96 views

I have some trouble getting this code to work. I have a debug screen where I can see the player and the mouse position, but if they don't match even though the cursor is above the player. Here is the ...
Finn's user avatar
  • 121
Advice
0 votes
2 replies
134 views

I am currently making a 3D game with C# in Raylib a game library and when coding the movement of my player which is just a hitbox and a camera, I ran into a problem on how the player movement controls ...
ripe_onions's user avatar
0 votes
3 answers
130 views

I have tired as much as possible but to no avail. I need to code it such that I can use it even if there is multiple objects with the same code I can use it. I am using a simple ray cast to check if ...
Guard Playz's user avatar
Advice
1 vote
0 replies
42 views

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 ...
DucTruong's user avatar
Best practices
2 votes
1 replies
62 views

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 ...
Spartak Aghababyan's user avatar
Best practices
1 vote
1 replies
95 views

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. ...
Nightinker's user avatar
1 vote
0 answers
132 views

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 ...
GameDevEnthu's user avatar
Advice
0 votes
2 replies
56 views

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 ...
Grantlbart's user avatar
0 votes
0 answers
65 views

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 ...
Connor's user avatar
  • 49
Advice
0 votes
6 replies
239 views

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, ...
Clause's user avatar
  • 59
Advice
1 vote
0 replies
92 views

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 ...
Alden Ling's user avatar
1 vote
0 answers
80 views

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 = ...
kkikmee's user avatar
  • 11
0 votes
1 answer
129 views

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 ...
Daniel Leon's user avatar
1 vote
1 answer
79 views

I am trying to make a text-based RPG, and recently made it a tkinter GUI, but whenever I try to use it, it runs perfectly, but doesn't allow me to type in the input box. Rather, it seems to be ...
Prometheus's user avatar
0 votes
0 answers
26 views

I'm making a small, simple game where the player catches butterflies. How could I make the butterflies move around somewhat randomly but try to avoid the player (and avoid getting stuck)? I am making ...
THESILLYELECTRIC's user avatar
0 votes
0 answers
65 views

I want to implement basic movement using a rigidbody but my player at the start of the game cant move using WASD and can only jump and shift. When they shift, they slide to the side a bit before WASD ...
Mohamed Nasser's user avatar
0 votes
1 answer
125 views

I'm new here and this is my first question! So I have this simple Python snake game that uses tkinter and tkSnack and it's working as intended graphics and controls wise except that the game or frame ...
Zen's user avatar
  • 1
1 vote
1 answer
105 views

How can I make it so that the player cannot move, even through physics, in one direction? I tried this option: using UnityEngine; using UnityEngine.InputSystem; public class Player: MonoBehaviour { ...
PinBIb's user avatar
  • 21
-1 votes
1 answer
233 views

I'm working on a Unity project where I need to constantly monitor the main camera's perspective. By default, the white lines showing the camera's view frustum are only visible in the Scene window when ...
serhat aktas's user avatar
0 votes
1 answer
93 views

I have 5 Enemies on the stage and if theyr current HP is equal to zero play animation and on the "dead" frame i want them to be removed From the Array and eventualy removed from the stage ...
Vojtěch Pavlíček's user avatar
-1 votes
1 answer
85 views

Hello everybody, I am making very basic game in Adobe Flash AS3. I am learning in a book and as i learn i try to introduce new things and creative stuff into my very basic game. I am using Flash CS3 ...
Vojtěch Pavlíček's user avatar
0 votes
0 answers
67 views

So, I'm making a platformer game in Unity and I have a system where you can jump multiple times. This is intentional and is a mechanic I plan to keep in the game and is controlled with the MaxJumps ...
ScienceCode Creations's user avatar
1 vote
0 answers
81 views

I'm developing a 2D game and I ran into a problem implementing the logic for a movable platform. These are the ones where the player stands on top of the platform, and the platforms move, and the ...
Weiner Lemes's user avatar
1 vote
2 answers
74 views

I've been attempting to make a system in which you can use an ability with 3 charges. Once you use one, Only that one will recharge, When you use another, The recharge progress from the first will go ...
Dentr's user avatar
  • 11
0 votes
0 answers
87 views

I’m having a problem in Godot 4 with calling the start_shake function in my screen shake system. In the scene 1_level.tscn, I have SceneRoot with a child node Map, which is an instance of Map.tscn. I ...
Zuza_n's user avatar
  • 11
-2 votes
1 answer
74 views

I am making a game in Unity and I wanted to animate a "game over" screen showing up, by making it appear from nothing and expanding to fill the screen. I did this by creating a Game Over ...
Phil's user avatar
  • 1
1 vote
1 answer
276 views

I don't know why this isn't working because after looking at the GDScript documentation, and even other posts on stack overflow, I still can't get the scene to show up at run time. extends Control #...
jacobzacarias's user avatar
0 votes
0 answers
53 views

I'm having trouble deflecting a projectile (Fireball) when it enters the trigger of an object (Shield / Deflector). This is a 3d game with a top-down view, it should only deflect in the x and z ...
Maxime Dupuis's user avatar
1 vote
1 answer
55 views

Im making the UI that appears when you press the pause button(escape key). My project has a GameManager empty object, a global canvas with an empty child and that child has its own child as a black ...
Mohamed Nasser's user avatar
4 votes
1 answer
140 views

I created a simple code using Love2d that display a map created with Tiled (pixel art style), and draw a square as a player who can freely move across the map. However there is some jitter or ...
Brandonn's user avatar
-2 votes
1 answer
96 views

Whenever I try to deploy my p5play code on GitHub Pages, it just shows a blank screen. What can I do to resolve this issue? It works perfectly on VS Code. Specifically, the page has a white background....
Peanut's user avatar
  • 3

1
2 3 4 5
83