All Questions

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

Prefabs x coordinate of position is getting mysteriously updated after destroying and reinstantiating them

Project brief I am trying to make a gamified version of to-do where the player enters tasks and is rewarded with points and a tree grows with the progress. What I am trying to do I have a list of ...
0
votes
1answer
15 views

Error CS1585: Member modifier 'private' must precede the member type and name

I've been knocking errors out of my script after working thoroughly through them but this one has me stumped, even though I'm sure it's something really simple. This is the following error that I'm ...
0
votes
0answers
18 views

How can I move balls along a rail?

I want to implement ball movement similar to that in the Puzz Loop 2 game. The goal consists of clearing all the balls moving on a rail, with the trailing one pushing all the others. You can watch a ...
0
votes
0answers
19 views

Can’t find component Unity

so, I want to add a Cloth component. I click on a gameobjects, press “Add Component” in the Inspector search “Cloth” And nothing comes up. From my searches in google, nobody had such a problem ever, ...
1
vote
0answers
28 views

Color palettes in video games

I’ve spent the days reading all sources I can find on the use of Color palettes in games, but there is a real lack of real world examples. Most Color palette tools generate 4-5 colours. I am making a ...
0
votes
0answers
19 views

Optimizing texture fetches with higher mip levels

Let's say I have some shader program in DirectX or OpenGL rendering a full screen quad. And in a pixel/fragment shader I sample some huge textures at random texture coordinates. That is one same ...
2
votes
1answer
68 views

What does the Node2D transform property do?

Following a Godot tutorial I encountered the transform property, but I'm not sure what it means nor how to use it. I read the official Godot documentation, but it ...
1
vote
1answer
12 views

Problem with diagonal collision response using PyGame

So I have been having this problem for the last few days and it has me really frustrated. What I am trying to do is resolve collisions with custom hitboxes in PyGame and it looks something like this: ...
0
votes
0answers
24 views

Unity3D) How can i make specific pos on sphere look camera?

Sorry for my english. I added a picture to explain what i want. I want rotate Big Sphere to make the black point locate in front of camera. (to the white point's position) not black point moving, ...
0
votes
0answers
9 views

Assetbundle loading show Received no data in response in Unity 2019.2.9

Recently I have converted my Unity 2019.1.0 project into Unity 2019.2.9 and it is a WebGL project. In the project I am using asset bundle and here is the snippet to load the bundle: ...
1
vote
1answer
26 views

C++ SDL2:2D tilemap with every tile has its own behavior

I am working on 2D tile based game. I want to render the tilemap from a file but every tile has its own behavior for example: magmablock : poorlava(); slimeblock : knockback(); I have this ...
0
votes
0answers
18 views

Are there modern adventure games in 3D? [on hold]

In adventures games like Monkey Island, one had to combine items with the environment to solve puzzles. Are there any modern games (let's define modern as last 10 years for now) that have this feature ...
1
vote
2answers
37 views

Can I put a Creative Commons license on my game?

Title says all, I would like to publish my game under a Creative Commons license. What licenses can I use for a game if any?
0
votes
0answers
16 views

UV unwrapping and texturing for a voxel terrain

As sugested by another kind user, I started using MagicaVoxel to create the scenery for my game (which is in the 2.5D style of Pokémon Gen 5 or Octopath Traveler). I managed to import the test object ...
0
votes
0answers
16 views

Recalculating normals on a tesselated cubed sphere with heightmap applied

I'm learning about the graphics pipeline using C++, HLSL and DirectX 11 for my course. I'm currently tesselating a cubed sphere with an applied height map. My issue is figuring out how to recalculate ...
0
votes
2answers
42 views

Should I create thread for both UDP and TCP?

So I have TCP connection for stuff like leveing, player info, etc..And I have UDP datagram for stuff like player position, rotation, etc..Should I create new thread for both TCP and UDP on both client ...
0
votes
1answer
30 views

how do i call variables inside headers from cpp?

i'm making a game right now so i want to make a main menu, so i made a header that will contain all the variables, like images, settings and, other things. (i will only talk about the images) the ...
0
votes
0answers
26 views

LibGDX Android Choosing Viewport Stretching Problem and Aspect Ratio

I am trying to find a viewport for my android game so that it will look okay across different devices and i wont use pixels anymore(i use artificial world coords). I read the viki and watched some ...
0
votes
0answers
33 views

Compute normal based on Voronoi pattern

I am applying a 3D Voronoi pattern on a mesh. Using those loops, I am able to compute the cell position, an id and the distance. But I would like to compute a normal based on the generated pattern. ...
0
votes
1answer
17 views

Automate creating ScriptableObjects from project files?

I'm working on a game with a lot of items, which are all based around image files. I'd like to create a ScriptableObject that's essentially ...
0
votes
0answers
26 views

Four (4) color channel png has black “background”

I am experimenting with C++ code to load a png file, using libpng. When I get to the color data in the file, I load it into a std::vector. I have found that the ...
0
votes
1answer
43 views

How to form a sphere from Voxels

I want to form a Sphere given radius from blocks given size. And can't figure out the code / algorithm. Any help appreciated. Edit: I dont wan't the Sphere to be filled, just the outer shell Edit: ...
0
votes
0answers
12 views

How to set static bodies based on a map

I have a map from OSM like this (this is a very complex map of Manhattan, I would like to begin with simpler maps, like small villages) : And my goal is to use this map for a car game with Box2D, ...
0
votes
1answer
13 views

How to use TEnumAsByte Unreal 4.22

The problem I am attempting to use a TEnumAsByte in one of my class headers: I get compilation errors: Code sample I have included everything relevant to the ...
0
votes
0answers
17 views

Render Mode “Screen Space - Camera” inflates prefab buttons to no longer fit on canvas, help

Referencing a previous post (link) and using the solution I came across a situation I'm not understanding where when I have the canvas render set to "Screen Space - Camera" rather than "Screen Space - ...
1
vote
0answers
29 views

UE4 - UProceduralMeshComponent - texturing issues

I am having a lot of trouble texturing a procedural mesh in UE4. I am using perlin noise from Accidental Noise Library with PolyVox to generate randomized marching cube terrain. Accidental Noise ...
0
votes
0answers
13 views

How to detect collision while the animation is running to move an object to the next coordinate?

I implemented SAT collision detection in Python with the GUI library pygame. It is working well, except when the objects are going too fast. I have velocity and acceleration variables. For each loop ...
0
votes
0answers
10 views

How to limit Box2D bodies to only be affected on 1 axis

I have a side scrolling game, where I am randomly placing trees, bushes etc.. I would like these bodies to fall ( To Align with the ground ) but not to slide. What is the best way to achieve this and ...
0
votes
1answer
10 views

Pivot not updating programmatically

I have a canvas. It has an empty game object as a child. That object has a RectTransform component. The RectTransform pivot value is set to 0.4, 0.5 (x, y). In some code I wanted to update the ...
0
votes
0answers
36 views

How Lots of ComputeBuffers at Once Affect Performance Unity

How will lots ComputeBuffer instances affect performance? And why? I know that I should call ComputeBuffer.Release() on every <...
0
votes
1answer
25 views

Unity3D - How to “force” rotation over the X axis

When I click to left or right, up or down, I'd like my airplane to rotate over the x-axis, to loop, and at some point over the z-axis in order to end up with the y-axis pointing up (world up). Let me ...
1
vote
0answers
11 views

Twine Harlow: Can I create passage links with the gui? Or any alternative way?

I'm confused how I am expected to organize and write a story within Twine using just the tools outlined in the manual. The main concern revolves around initiating links between my squares/charts/...
0
votes
2answers
32 views

How do I tag an empty space for an 'InAir' Boolean?

I've been working with my game's settings to get the perfect jump height, gravity and movement that suits the player, however my problem is my player essentially floats back down to the ground, when I ...
0
votes
1answer
47 views

how can I transform a skewed line to a vertical line?

So, I have a line: And I skewed it with x += y * cos(angle) and got something like: My question is, if I have another line segment with that same skew, how can I ...
0
votes
1answer
40 views

Coroutine only partially executing

I have a Coroutine that I use to pull and spawn an enemy in my game. This coroutine works perfectly fine, with the exception of the very first call. I am fairly certain this is because I am probably ...
1
vote
2answers
98 views

Good taunt attack design

I'm making a turn based rpg and I have an attack allows for a party member to draw an enemy's focus towards it for a set number of turns. I feel an attack that draws all aggression from enemies is ...
1
vote
1answer
35 views

Does GPU mipmapping assume the texture es gamma corrected?

I have been reading the Real Time Rendering book and stumbled upon this paragraph: For textures encoded in a nonlinear space (such as most color textures), ignoring gamma correction when ...
0
votes
0answers
14 views

bullet raycast vehicle - compound shape and center of the gravity/mass

I use btBoxShape as a collision shape for a chassis rigid body (raycast vehicle). An initial vehicle position is defined by btDefaultMotionState during chassis rigid body creation (a vehicle is ...
0
votes
0answers
13 views

Move Unity NavMeshAgent at a constant speed

My NavMeshAgent randomly changes speed while moving along it's path. It seems to be slower when a segment of a path is shorter (between two waypoints/corners) or when there are many close continuous ...
0
votes
2answers
21 views

Unity open UI from ScriptableObject

I have a Canvas that has multiple UI Panels in it for an inventory, crafting, etc. To open these panels I currently have a ...
0
votes
1answer
41 views

Rotating a parent rectangle to align child with target

My beautiful drawings will explain better than many words (or at least I hope): The structure: The black rectangle is a GameObject (my weapon sprite). A and ...
0
votes
1answer
25 views

Stream Clients Cameras from Server Side

There's a way to see specific client Camera from server (using RawImage ..) and sync view. I tried RenderTextue, but i didn't find a solution for that.
1
vote
2answers
127 views

Is it a good idea to use high-level API's in order to develop game engines?

I have been looking around the internet finding articles that talk about what you should learn to develop a game engine. Something that I keep hearing in many articles is that you should learn low-...
0
votes
0answers
40 views

What's the most efficient way to create underground layers of procedural terrain?

Background information I am in the process of making a game engine so I have complete, explicit control over everything, anything is an option. I desire to make procedurally generated 3D terrain. It'...
0
votes
1answer
32 views

Hidden copies of the environment in an entity component system

For reasons outside the scope of this question, my game has several full copies of the game environment running asynchronously. At any one time, only one of these is rendered. This is trivial to ...
1
vote
2answers
39 views

How to script sequential events in GameMaker?

I am wondering if there is an elegant way to script sequential events in GameMaker 2. In Godot 3.1, it is very easy to chain events together using yield() and ...
0
votes
0answers
15 views

How to extract data from a resource compiler script in c#

I need to know how to extract all data from a resource compiler script to a folder or the desktop. the .res files are compiled and added to an exe file. .res is the file extension. and if that is ...
-2
votes
1answer
93 views

How to download and include OpenGL?

I am using Linux. What I need to know is what can replace the question marks. In the terminal sudo apt-get install ? In my C program ...
0
votes
0answers
23 views

Facing issues trying to Parse JSON in Lua

Problem statement: Need help trying to load a JSON file into a table array in Lua for Corona SDK development. My Objective: Call specific data from JSON file to my application by using key value ...
1
vote
0answers
26 views

Color bands over tile when scaling texture in shader

I want to have tiles with different sprites on the back. Initally I thought I will mix two textures together and then apply mixed texture to game object. I thought that should be easy, but google ...

15 30 50 per page