Skip to main content
The 2024 Developer Survey results are live! See the results

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
-1 votes
0 answers
5 views

Performance Issues in Unity WebGL Build: Seeking Optimization Advice [closed]

we’ve been developing a complex application in Unity that involves extensive rendering and numerous objects. On the PC build, the application performs well with smooth rendering and good response ...
Abtin Zandi's user avatar
0 votes
0 answers
21 views

Problem with Enemy State Update in React for Multiplayer Game: Projectiles Not Following Moving Enemies

I am working on a multiplayer tower defense game using React, where enemies and defenders are updated and rendered on a canvas. I’m encountering an issue where the enemy state is not updating ...
AshitaNoRezero's user avatar
0 votes
0 answers
17 views

Animation Parameters in Unity?

Does anyone know how to write a code that can change the animator parameters? I tried making something but the variables i made were separate from the ones in the animator window so obviously it didn'...
Melody Elbel's user avatar
0 votes
0 answers
15 views

A connection attempt failed because the connected party did not properly respond after a period of time, or

I am getting error in C#: This is my code: public static class EmailService { private static WhistlerLogger _logger = new WhistlerLogger(typeof(EmailService)); public static bool ...
Aki's user avatar
  • 1
0 votes
0 answers
38 views

2D Canvas | Smooth camera without jitter

In my demo, you can see that the player's camera catches up with the player's position with a slight delay. It follows him until the player finally stops, gradually reducing the distance. ...
RoyBlunk's user avatar
  • 141
0 votes
0 answers
24 views

Started getting java.lang.ClassNotFoundException: com.android.billingclient.api.PurchasesUpdatedListener

I’ve started getting an error when the Unity app runs on an Android device, on UnityPurchasing Initialize Unity 2022.3.181, In App Purchasing 4.12.2, Target API 34 UnityEngine.AndroidJavaException: ...
Eli Blokh's user avatar
  • 12k
-2 votes
0 answers
61 views

How to detect collision in pacman game?

Following is the boilerplate for Pacman game that I need to complete. I'm having problems with detecting when the player is going to collide with walls. The problem is I don't know where the player is ...
Nike Lepz's user avatar
  • 539
0 votes
1 answer
36 views

When to play animations in Godot 4 (GDScript)

When should I play animations and how to make sure an animation is finished before a different one is played. I am currently having a problem with my "punch" animation that only plays for a ...
dannkis's user avatar
  • 35
1 vote
0 answers
19 views

Is pitch shifting fast enough to be done in real time?

As far as I know, the only good way to pitch-shift is to do a Fast Fourier Transform and apply a pitch shift that way. From some crude testing, the FFT took about 60 ms for 0.2 seconds of CD quality ...
LeaG's user avatar
  • 31
1 vote
1 answer
31 views

How to make scrollable game that follows the main character if we use keys or scroll if we use the wheel with Phaser3?

It is my first time using Phaser3 and I am trying to create a game to display in a website. My plan was to make a vertical map that you can navigate either with the keys and scrolling. The thing is ...
emezeta's user avatar
  • 15
-7 votes
0 answers
31 views

Amazing, elusive game bug? [closed]

I repeated a farming game of YouTuber Clear Code. It run well, but since one moment apple sprites stoped drawing. Strange thing is that i run code: no apples, next run: apple draws. When apple draws ...
kaer D bitxh's user avatar
0 votes
0 answers
25 views

Halo around texture with alpha channel

I'm looking for any ways to remove, or at least reduce a white halo around texture (leaf border). It's not visible on the ground (and sky) background (1st picture), but it's noticeable on the 2nd ...
misha.physics's user avatar
-3 votes
0 answers
38 views

Venge.io web game [closed]

anyone know how to create a game like venge.io? Because it's more reliable game and I want to build a game like this. It's very funny multiplayer game and if you're not try it yet, I'm sure you will ...
Dulmin wickramage's user avatar
1 vote
2 answers
43 views

The button in Unity becomes unclickable after one use

So,basically I started to create my first game in unity 2022.3.36f1 and I started a new project. The only thing I wanted to start with was just using a "New game" button to switch from scene ...
Derfi's user avatar
  • 11
0 votes
0 answers
44 views

Error ''Cannot read properties of undefined (reading 'canvas')'' while creating a pixi.js app

I am getting the error Cannot read properties of undefined (reading 'canvas') while trying to run a pixi.js app. Here is my code : <script src = 'js/pixi.min.js'></script> <script>...
Sereen Taleb's user avatar

15 30 50 per page
1
2 3 4 5
269