Newest Questions
57,612 questions
0
votes
0
answers
16
views
How to Evaluate Chained Actions in Turn-Based AI Without Duplicating Logic?
I'm looking for advice on designing the architecture of my turn-based game.
Suppose units have different abilities—various movement types (run, teleport, charge in one direction, etc.), different ...
1
vote
0
answers
14
views
Change the tile in the tile map at runtime
So I am making a game which has a farm. The farm is a tile map with each individual tile being a crop/mud.
I want to achieve the following
As the player interacts with a particular crop tile, I change ...
-5
votes
0
answers
17
views
《Symbolic of Immortality and Enternity》seek help [closed]
I am a game designer from China, looking for Unity programmers or classical pixel artists who can participate in game development for free. Musicians are also needed.
My game project is a tile map ...
0
votes
1
answer
13
views
Unity object becomes missing after changing the scene and to different scene and returning to the first scene again
I am developing a tool in unity that requires some objects from the active scene, and currently, I am working on a system to save the data so that the user does not have to enter it manually each time....
0
votes
0
answers
44
views
How do I make my Software 3D Renderer slow down as soon as I change the screen resolution during runtime?
I'm writing a Software 3D Renderer in C many months after I first originally wrote it in Python. It is made using SDL2. My engine currently has depth shading, perspective correct texturing and some ...
0
votes
0
answers
8
views
UI Toolkit px size different from the game view
I set my game viewport to QHD and my UI Builder viewport to match game view. Yet in my UI Builder the window is nicely scaled within bounds, and in game view it is waaay too big. How can I make them ...
2
votes
1
answer
61
views
Proc-gen, turn-based game demo with level limit. Should it offer daily challenges instead of preset seeds?
I recently published a demo for my new, turn-based word puzzle, set in a fantasy world (called "Dragon Riddler" -- it's on Steam).
The game loop is this:
find the dragon's lair in a land ...
0
votes
0
answers
35
views
How does Cube Slam uses the camera for gameplay?
Cube Slam is a unique multiplayer game that allows players to compete against each other in a face-to-face format simply by sharing a link. The game utilizes the camera for interactive gameplay, ...
-1
votes
1
answer
44
views
Should I use Unity 5 or Unity 6? [closed]
I have been working on character drawing for a long time and Unity 6 is also relatively new. I am using the 2020 Unity5 version. The game I will make will not be a very advanced game. I will do ...
0
votes
0
answers
30
views
How can I fix the rotation on a sprite normal map in Unity?
I'm making a 2D ball game in Unity v6.0, now in the process of adding some 2D lighting.
The player ball is a circle sprite. To make it look like a sphere, the sprite has a normal map added as a ...
0
votes
0
answers
52
views
How to properly handle ball movement in a soccer game?
I'm building a soccer game (or trying), and currently running into a problem when trying to achieve the desired pass/shot.
For projectile motion, it's fine, but trying to predict rolling movement is ...
18
votes
1
answer
2k
views
How to achieve the Steel Division 2 frontline? (Dividing area smoothly with curves using a few points)
The game Steel Division 2 has a very nice looking frontline system, where a smoothly curved line is drawn between friendly and enemy units, dividing the map into territorty owned by two teams.
Does ...
-1
votes
0
answers
39
views
There is a game that I play a lot and I really need to figure out what the formula for the exp and leveling [duplicate]
The formula I know that the game has is start at level 0 which needs 250 exp to level up to level one and then 250 more exp per each level after that so level 2 equals 500 exp level 3 equals 750 exp ...
0
votes
1
answer
73
views
Can I Create a Camera System in Pygame Without Using Classes?
I am working on a basic side scroller platformer in Pygame. I want to add a camera system that tracks the camera and scrolls the world and I want to make the camera systems without using Classes. ...
20
votes
3
answers
3k
views
Reasoning about quest and story deadlocks etc
Are there frameworks for reasoning about questions such as: Given my quest and level design, is it guaranteed that for any combination of player choices there is no way for the player to lock ...
0
votes
0
answers
41
views
How to code marking dead stones in Go board game. Getting user input outside of update
This is a follow-up question to coding capturing in Go. I have that successfully working. I am pretty sure that I am not reposting, this is a completely different question I have it just happens to be ...
0
votes
0
answers
37
views
Does anyone have the detailed breakdowns of physics in NES/SNES Mario games?
I'm working on basic clones of the classic Mario games I played on that Wii SNES emulator when I was younger to learn classic hardware emulation, platformer development, Monogame, etc. I found this ...
0
votes
4
answers
122
views
Is it possible to set a specific frame rate on my game
For the past month i've been working on a vr project and i wonder if i can obliged players to be on 90hz when playing the game because if player use 60hz then the game becomes laggy and since 90hz is ...
0
votes
0
answers
7
views
Toxiclibs softbody physics issue with jittering under weight
hopefully this is alright to post here. I'm learning to code and working on a thing (actually trying to reproduce this https://www.instagram.com/juhani.halkomaki/reel/DGFpqfCNgZe/ )
I have created a ...
1
vote
2
answers
122
views
How can I play hundreds of characters at the same time on stage without dropping FPS?
I will make a game. In this game, the player will make 6 soldiers from 6 different looking characters in his own area and there should be this many characters on the other side. When I look at those ...
0
votes
1
answer
100
views
How do you detect edges in a PNG map
so basically i'm making a personal project based around a strategy map game.
I'm using this image as the map:
The problems are as follows:
I can't detect the borders as it is not an SVG
If the first ...
-1
votes
0
answers
90
views
How do i find any game’s html source code? [closed]
I want to be able to find any game’s source code in HTML, but i don’t know how. Can anyone please help me?
0
votes
0
answers
26
views
How to rotate the "top" sky texture with Directx9?
I'm working on designing and animating the sky with a cubemap. The surfaces except for the "TOP" move in a way that follows each other. However, I could never figure out how to adapt the &...
0
votes
1
answer
22
views
BeehaveTree Addon adds base node instead of an inherited one from the base
I just recently managed to install the BeehaveTree addon for godot 3.X, but when adding a new node from the addon it adds the base one and not the inherited one i.e.
Base node script:
...
1
vote
0
answers
66
views
The game world is like a planet. Прошу объяснить сложности реализации и принцип работы [closed]
Я новичок в играх, но вполне осознаю логику построения игр. У меня есть идея для игры но уже на этапе идеи и продумывания механик понимаю что игра будет тяжёлой и очень нагруженной. Хотелось спросить ...
0
votes
0
answers
45
views
What are some methods of adding smooth, frame indpendent, camera recoil/punch?
I've run into a bit of a brick wall on this topic. I've only been able to achieve either only frame independent recoil, or smooth recoil. But not the other.
I think the main source of the problem is ...
5
votes
0
answers
178
views
Recreating a 3D pixel art water effect
For the past few days I've been trying to recreate an effect from this blog post:
https://www.davidhol.land/articles/3d-pixel-art-rendering#water/
If you scroll down, you'll reach the water section in ...
0
votes
0
answers
26
views
Struggling with MS GameInput
I come back to this little program periodically but it's never worked.
...
7
votes
3
answers
4k
views
Is it possible to directly check for source code modification
I'm looking for a better way to actually detect "cheats" by checking if the source code of my game has been modified and if any code has been injected to the original code in C#.
The issue ...
0
votes
0
answers
21
views
How do you make unity shader with custom lighting usable in deferred rendering mode
I found a unity shader with custom lighting method that approximates subsurface scattering effect. I tried using it in deferred rendering mode and unfortunately it doesn't work. From what I have read ...
0
votes
0
answers
20
views
Black pixels on the edges of semi-transparent png textures on DX 10
This blending setting introduces black pixels on the edges of semi-transparent png textures:
...
0
votes
0
answers
24
views
How to change colours of UI in Unity using Animation?
I'm making UI that's using controller support, and therefore I have to script it and use an Animation, but how do I make sure that a color change when hovering over a button happens instantly, because ...
-1
votes
0
answers
48
views
Volume raymarching with smoke
Recently, I was able to create my first fluid simulation! It's slow, not in real time and memory expensive, but it works! I've been having a problem though. For now I have been using a box of cubes to ...
0
votes
0
answers
26
views
Runtime defined classes in Godot
Godot offers the CodeEdit node that lets users write code during runtime.
I want to:
Offer GDScript LSP-features inside the CodeEdit
Interpret the written code as GDScript
Check if a class was ...
0
votes
1
answer
50
views
Null reference exception when accessing ActionMap stored in a singleton
I'm a beginner developer and I'm currently working on a 3D game project with a third person view.
When I implemented my first ActionMap into my character controller,...
0
votes
0
answers
41
views
Projecting 3D gaussian's transform matrix to a 2D viewspace transform matrix
Essentially I'm wanting to project:
A 3D transformation matrix of a Gaussian (or in this case for simplicity a unit sphere) that includes scale, rotation and translation in world space TO
A 2D ...
0
votes
1
answer
125
views
How do you design novel game mechanics?
I have been wondering how do people come up with super creative new games? For example when I think about the snake genre of video games, I can think of several evolutions which revolutioned the genre....
0
votes
0
answers
57
views
How can procedural generation be used to create meaningful quest structures in open-world games?
I'm working on an open-world game and exploring procedural generation to design dynamic quests. The goal is to make quests feel connected and impactful, rather than randomly generated or repetitive.
...
0
votes
0
answers
7
views
VFX Graph: Particle Strip Trails Stretching Due to Reused Indices – How to Set Unique Strip Index?
I have a system in Unity’s VFX Graph where:
A source particle collides → triggers a GPU Event
This event spawns a new particle which also triggers a strip trail
I am trying to get one trail per ...
1
vote
1
answer
109
views
Processing an image of land and water into a stylized map
First please excuse my English, it's not my first language!
I'm trying to process an existing image to create a game map, to be clear, this is not a procedurally-generated image. However, I would like ...
0
votes
0
answers
36
views
Same prefab appears very different inside another parent
I am on Unity 6.
I have 2 prefabs: the buildings shown in this picture.
Each of these prefabs includes another prefab, which is the "hexagonal tile".
It's the same "hexagonal tile"...
0
votes
0
answers
23
views
Inertia tensor (rigid bodies) in body space vs. world space
I'm currently trying to better understand the concept of the inertia tensor in the context of rigid bodies, and I was hoping someone could help clarify a few points for me.
From what I've gathered so ...
0
votes
0
answers
49
views
How do I add an outline to a Unity tilemap?
Is it possible to add a nice outline to a unity tilemap?
For example, if my tilemap looks something like the image on the left, I want to make it render like the image on the right:
I found this ...
0
votes
0
answers
26
views
Is there a way to prevent probuilderize deleting faces?
I have used Probuilder to "probuilderize" the interior of a building however when I do this faces get deleted all over the model. I know it is definitely Probuilder causing this as when I ...
1
vote
0
answers
20
views
How to apply a noise texture to an image or sprite in Phaser as a postFX?
I'm trying to figure out if it's possible to blend a (noise)texture with an image by creating a shader, and then apply the shader as a postFX to an image (or sprite). (see attached image)
...
11
votes
1
answer
4k
views
How to protect video game demonstration equipment
A couple months back, I released a new video game on the web. After getting several good reviews from my friends, I decided that I should demonstrate it at some event. After a bit of negotiating, I ...
1
vote
1
answer
487
views
Given two points (A and B), how can I obtain a point a set distance along the line between them?
Let's say I have position A, that is (0,0) and Position B that is (10,5).
Now let's say I know that position C is 5 units' distance from position A in direction to Position B.
Provided that the ...
1
vote
1
answer
51
views
How to delete prefab variants?
I am having trouble deleting a prefab variant from the project panel. I have removed the single instance of it I had in a scene, but when I try to delete it from the project panel it deletes and then ...
0
votes
2
answers
196
views
How can I efficiently render lots of moving objects in a game?
I'm using OpenGL but this question should apply generally to rendering.
I understand that for efficient rendering in games, you want to minimize communication between the CPU and GPU. This means pre-...
1
vote
0
answers
50
views
Creating a large number of GameObjects asynchronously
I am creating a 2D procedural terrain using many Tile GameObjects. To make this infinite (and more performant), I dynamically load and unload chunks based on the players position and a variable ...