All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Correct way to handle A* no pathing?

I'm developing a little game for fun and I wrote a pathfinding system based on the A* algorithm. What is the best or correct way to deal with unavailable paths? A* by default will go through every ...
0
votes
0answers
3 views

Unintended window opening when pressing Unity's “Submit” button

I've been working on a top down 2D game for a while now, and yesterday I found a strange bug that I just can't explain to myself whatsoever. I have a loot window for looting enemies, as well as a ...
0
votes
0answers
7 views

How can I see the hide text on this picture?/

Is there anybody here can help me to see that secret answer and help me to change that answer? I cant change the secret question and answer
0
votes
0answers
11 views

How can I use IntelliJ to make Minecraft mods?

I'm starting out creating Minecraft mods with my son. I've seen one YouTube tutorial which sets up project with Eclipse. Since I don't like Eclipse much, I ask: how would I setup IntelliJ or Android ...
0
votes
0answers
8 views

How to avoid camera jerkiness when using integer-based movement with a remainder?

I am experimenting with a low-res project in GameMaker 2. To preserve the pixel art and prevent distortion, I have my movement code set up to only move my sprites in integer intervals. Basically, ...
1
vote
0answers
6 views

Do I need to keep the old ID3D11Device around after querying for ID3D11Device5?

When attempting to create a directx11 device using the newer ID3D11Device5 interface the compiler complains that ID3D11Device5** ...
0
votes
0answers
9 views

OnPointerDown / OnPointerUp aren't working in world-space canvases

I'm working on a project where I have a main UI (Screen Space - Overlay canvas) and various game objects that have little popups above them (World Space canvas) that the player should be able to click ...
0
votes
0answers
10 views

I don't know how to make a move in a grid helps

good, I am developing a mobile game for the university and with the programming I am very bad, I need help so that my character moves in a grid and if possible the enemies too, this is what I have so ...
0
votes
0answers
8 views

How to use Unity as a library in native iOS/Android apps?

How can i use unity AR project in my native android and iOS Apps ?
0
votes
0answers
11 views

How can I change gradle version for api 27?

I get this error message: ...
0
votes
1answer
8 views

D3D11 Instancing - Help with sending instance data using two vertex buffers. First, for position and color and Second, for per-instance Matrix Data

So here is the premise: I have 2 vertex buffers buffers whose data and corresponding definition is as follows: Vertex 1: This one contains the per instance data ...
0
votes
1answer
28 views
0
votes
1answer
16 views

Dynamically added gameobject didn't show on canvas

I have a canvas with a Scroll View in it. When I manually add a prefab under the Content, it showed up nicely. But when I add ...
0
votes
0answers
9 views

Is anyone else having problems launching UE4 4.23.1 on OS X 10.12?

So I recently switched machines from Windows to OS X (I still have the Windows machine but it's not available to me sometimes so I wanted to keep going while it's processing some other stuff). UE4 ...
0
votes
0answers
27 views

Image background color not showing on changing scale at regular intervals

This is question is in reference to the answer given by Philipp. I implemented an Image component without a sprite, just a background color. It's intended to be a health bar and I change the scale to ...
1
vote
1answer
30 views

How do game engines implement multiple rendering platforms?

How do game engines like UE4, Unity, Source, Cry Engine, etc add different rendering library's to their game engines? (Eg. OpenGL, DirectX, Vulkan)
0
votes
1answer
16 views

Python path finding

Im making a dungeon crawler in python, and I want to make it so that a certain enemy (only 1) will chase you through the dungeon the map is stored like this: [ ['0','0', '0'], ['0','0', '0'] ] ...
0
votes
0answers
8 views

How to draw a line based on an angle with a defined size?

I have a game where the player shoots a projectile based on the mouse direction when clicking, which travels 500 pixels. I wish I could draw a line exactly where the projectile will be destroyed. ...
0
votes
0answers
15 views

Enemy Indicator shows both front and back

I made a simple enemy indicator which show image over the game object which look like this: You can see that red exclamation mark is over the cube. Note that Canvas is Space Screen Camera, so I had ...
0
votes
0answers
12 views

Preview source state does not change

I am currently following this book "Developing 2d games with Unity" by Jared Halpern. I hope you might be familiar with it or you can help me anyway. Currently I try make the movement of my character ...
0
votes
0answers
6 views

LibGDX “EXCEPTION_ACCESS_VIOLATION” error when recreating previously disposed Box2DLights light

I just installed the Box2DLights dependency for LibGDX and I added a cave with 2 ConeLights inside. The first time I render the cave, everything works as expected. Then when I exit the cave, I make ...
0
votes
1answer
13 views
1
vote
0answers
28 views

Need help with a grab Shader

How can I make grab Shader similar to https://docs.unity3d.com/Manual/SL-GrabPass.html in GLSL. The idea, is that you grab exact pixels from background (ex. from composited renderTarget) and put on ...
0
votes
0answers
7 views

Different sized textures on texture atlas in Libgdx

I've created a texture atlas with TexturePacker. All of the single textures have the same size. The textures have large areas of transparent pixels which TexturePacker can remove. But when I import ...
0
votes
0answers
17 views

get closest unobscured point on bounding box (to point)

I know that I can get the nearest point on a bounding box to a point by clamping the coordinates of the point to the bounds of the bounding box. However, how do I get the nearest point on a bounding ...
0
votes
1answer
39 views

Should I get an official content rating, like from the ESRB, or just rate my game myself?

I'm developing a game out of my garage basically with the intention of selling it on my own website and hopefully on Steam, and I've been wondering if I should try to get it rated by an official ...
1
vote
1answer
71 views

Why aren't game mods allowed to talk to the outside?

Sorry if the title is a bit obscure, I didn't know what to call this. I recently got into mod making and thought of a mod which is able to control Spotify through in-game commands, using Spotify's API ...
1
vote
2answers
43 views

Querying game objects in real-time

I'm thinking about working on a game where I need to find all the objects matching certain properties. For instances I might need to look up all the objects... Producing gold. Whose level is 5 or ...
1
vote
0answers
11 views

Can I use trilinear filtering for my sprites, but keep their outlines unfiltered?

Suppose that I have two images of equal size. They both contain a square: https://i.stack.imgur.com/BI62X.png https://i.stack.imgur.com/Nev5Z.png When overlapped, both squares will appear next to ...
0
votes
0answers
8 views

How can i set my brush to default?

I'm new in blender and after some brushs objects my brush turn this form: And now i cant sculpt because i dont know how set the brush for this form: Is there a configuration to object to make the ...
0
votes
1answer
23 views

Multiple If Operations at Once (DnD)

In my game, I want to have it so that if a chess piece tries to move farther away than a certain distance it won't work. To do this, I need it to have an if statement that works between two numbers, ...
0
votes
0answers
12 views

Simple Orbital transfer and intercept equation

I'm working on a game which has a game board made up of objects orbiting the center of the board. You can think of it as our solar system, but greatly simplified in terms of physics. All objects ...
0
votes
1answer
13 views

Unity3D in WebGL the Player doesn't have animations

I using Unity 2019.2.14f1 to create a simple 3D game. I want to build the project for WebGL, but, even though the player has animations on Unity, in the web the Player doesn't have animations even ...
0
votes
1answer
30 views

Unity getting Input from UI

So I'm trying to get a script of mine to pass information to another static class being used for saving files as I've been told I wouldn't want that script to be instantiated. So I used a separate ...
0
votes
0answers
9 views

Simple message box in gdscript / godot

I want a single line of code which shows a popup dialog with the words "Hello World!" and an "Ok" button. (I want something simple for now, I know how to make something more complicated but that ...
0
votes
3answers
49 views

How to store information into the tile?

I have made a map via TilePallete tool. Now I want to store information in certain tile. How I can do this? ForEx: I'm hittin a certain tile and I need it to have info about health remaining. For ...
0
votes
1answer
27 views

toString() - method doesnt' choose right Array Index

My topic is a adventure game. The heroes have Superpowers, but if I want to print the superpowers from a superhero, it prints just the last index of my array, which I set it before. My code: ` ...
0
votes
0answers
102 views

How root motion is done in Skeletal animation

I am using Assimp library to load bone & mesh data and using basic interpolation to accomplish the animation part. Right now I want to move my character position with animation i.e root motion. ...
1
vote
1answer
19 views

Unity URP - Batching GPU instanced objects with same material/mesh not working

I have 100 units (exact same prefab) on screen. The material is a URP Lit using a texture with GPU instancing enabled. Why is it not batching? Am I missing something? I also noticed it requires 3-4 ...
0
votes
0answers
12 views

Unity blocked after changing Time region

I reinstalled Windows then Installed Unity. Then I changed my timezone from US Pacific to Europe where I actually live. Unity got blocked: "Expired licence" even though I use the free version. https://...
-1
votes
0answers
20 views

How to write code for touching and dragging functionality across tiles to activate them in Android?

Hello dear developers, I am very interested in making a word game similar to Microsoft Wordament for Android. Could anyone please walk me through how to code the touch and drag functionality in ...
0
votes
0answers
36 views

What all do I need to consider while making a 3rd person mmo game? [closed]

I want to know the basics like a particular function "A" is used for doing a specific task "B".
0
votes
0answers
31 views

Player is not responding to arduino code in Unity

So I am developing this game (as part of a larger game), where the player has to collect all the coins before moving on to the next level. I want the player to when it receives a set number of button ...
0
votes
0answers
35 views

How can I implement ground clamping across slopes in my 2D collision controller?

I'm working on improving my 2D collision controller, but am having trouble with "ground clamping" when my object moves past certain slopes on which it should be descending. The controller takes the ...
0
votes
1answer
20 views

Downsides to automatic UV unwrapping

I have seen several software packages that offer auto UV unwrapping as an option. My question is why would you ever manually UV unwrap if there is an automated tool to do so? Are there any ...
0
votes
0answers
7 views

Trying to spawn enemies randomly every one second through an arrayList but nothing is showing up

im making a space invaders/astroids type game right now and i am working on randomly spawning enemies that go from the top of the window down to the bottom. I figured using time would be best for this,...
1
vote
0answers
57 views

Game loop stutters

I have the following game loop: ...
0
votes
0answers
17 views

How would I access my list from Update function? [duplicate]

The DFT function below works fine but I want to use the list, generated from that function, in the Update function. ...
0
votes
1answer
47 views

Improve the algorithm A *?

Hello, I have a question about algorithm A * ! S : Start. D : Destination. W : Wall. My hero goes from S and the destination is D, W is the walls, my hero can't go in there. If I use the algorithm ...
0
votes
0answers
14 views

Unity3d: “random” transform position values on editor

Run into some strange behavior on editor position values. https://youtu.be/DUBpbOUkbfo As you can see we have two cube object with colliders on both and rigidbody on parent. After start play mode ...

15 30 50 per page