All Questions

0
votes
0answers
33 views

“Pre-fab” games I can use for gamification of learning? [on hold]

totally new to game development here, sorry if this is a dumb question. My kids respond very well to gamification - the Prodigy math game (Pokemon-style battle game, but you have to answer math ...
0
votes
1answer
32 views

How to store information about a simulated sport match in a browser game?

There is a browser game called Soccerstar where users play in a soccer team and compete in matches against other teams. Matches are scheduled at specific times of the day and played automatically and ...
1
vote
0answers
19 views

Unity Shader: Make water on terrain transparent without fading

I want to create a shader for a terrain to make the water fully transparent but not invisible or faded. In this example I would want the purple square to be seen through water but not through the ...
0
votes
0answers
12 views

Unreal Engine and Simple Animation

I am creating a card based game and I am stuck on an animation detail. My question is I need an animation to shuffle the deck, a animation for dealing and an animation for drawing. My question is ...
0
votes
1answer
28 views

A* Quad/Oc Tree path-finding vs Navigation Mesh path-finding

Main What are the differences between those path-finding algorithms. Is Navigation Mesh faster in finding the path? Is it more correct than Quad/Oc Tree? Does Navigation Mesh use Quad/Oc tree under ...
-1
votes
0answers
45 views

Algorithm Design - Player obtaining level resources

Let's say a player has 50 mining, he should be able to mine a level 10 rock quicker than a player who has level 15 mining Ideally. This is what I have so far, so I think I could use some pointers: ...
1
vote
2answers
37 views

Detect Collisions While Dragging 3D Game Object

Hello i am making a game in which i have to drag a sphere on x axis and z axis on a plane with my mouse and i have created walls from cubes so that my sphere not go anywhere else in the game but while ...
1
vote
2answers
67 views

What strategies and patterns exist to handle large amounts of game entities?

I've been wondering this for some time now: Let's say you have a builder game like Anno and let's say you're in the very late game. You have literally thousands of production facilities placed. Each ...
0
votes
0answers
13 views

Prefabs imported from asset bundle are not lighting properly

It only happens in my main game project. I've tested it in 2 other empty projects, both in multiple versions of unity (2018.3.0f2 and 2018.3.2f1). The strange thing is that if I look at the material, ...
0
votes
1answer
43 views

Why does the drag fail when I move too fast?

I got this code that drags a 2d sphere when i touch the screen: ...
0
votes
0answers
21 views

Can your file save the progress that you ofstream it c++? [on hold]

Dont worry about the #include's. Can you for example : struct book { string name; } using namespace std; int main() { book a; ofstream myfile; myfile.open("example.txt"); cin >> a.name; ...
0
votes
1answer
26 views

XNA 4.0 How to combine triangles vertices 3D

Preview for the problem: I'm making a similar game to Minecraft (a game that it's world is made by cubes), but the fps of the game is getting low only by rendering a little amount of cubes in the ...
0
votes
0answers
27 views

Unity3d getting terrain height

I am making an RTS game in unity like Total War games. As for rendering I am using Graphics draw mesh instanced method and after culling a I can easily render massive amount of soldiers on battlefield ...
2
votes
0answers
48 views

Trying to get Vertexshader to work Monogame 2D

If I don't use the vertex shader, it gives me white textures which is what the default color is. Once I add the vertex shader, the screen is black. I figure it is something wrong with the Matrices I ...
2
votes
1answer
32 views

is there any method to simply ignore some files in unity build?

as im trying to build my new app on unity android specially when i want to use gradle, there is always some conflict with manifest or libraries and ..... for debug and problem exploration i need to ...
1
vote
0answers
36 views

How can I avoid jitter when working with a 2D movement system?

How can I avoid jitter in Unity? Let's suppose that I want to create a 2D movement system using a Rigidbody 2D(Dynamic), and I want make the camera follow the character (which is a pixel art sprite)....
0
votes
1answer
10 views

error X4016: SV_InstanceID semantic cannot be used with 10Level9 targets

I'm using a variant of the D3D12 UWP template that comes with VS2017 Community Edition and I have two related questions: When I add this italicized and bolded code to the vertex shader signature, I ...
1
vote
0answers
34 views

Playing an animation in Godot

I have been working on making a platformer in Godot but can't seem to get a walk cycle to play when I press left or right. ...
0
votes
1answer
58 views

Loading a list of items from JSON, all entries are null

(I posted a very similar question here recently and the response I received was helpful. But I have been advised to start a new question, and here it is.) I am developing a Unity game which includes ...
0
votes
0answers
20 views

When the motion button is pressed, the shape of the character changes and always goes to the left direction

good day. When the motion button is pressed, the shape of the character changes and always goes to the left direction. Why is this happening and what is the solution? Pressing two buttons moves to ...
0
votes
0answers
33 views

Why does the right and left move button not work? [on hold]

Good Day, I have a problem right and left button did. but it does not move. not working. Details are available in photos. My Player Kontrol Script : using System.Collections; using System....
0
votes
1answer
59 views

Is Frustum Culling and Occlusion Culling used together, or separately?

I am taking a 3D game programming course and my professor provided the class with already-implemented graphics code with OpenGL. The graphics uses frustum culling to remove primitives outside the view ...
2
votes
0answers
19 views

ASSIMP - hierarchy import

I'm, trying to wrap my head around assimp to import some files/fbx/obj etc. Normally my experience tells me that I start at root node and then recurively load child nodes untill I load entire ...
3
votes
1answer
77 views

Can steam features be used in a game bought on an alternate distribution platform?

We're in the process of game development where we need to integrate with the Steamworks API for multiplayer matchmaking, achievements, player stats, etc. We also have a rudimentary implementation ...
0
votes
1answer
13 views

Asset Bundle hashing technique question

The flow I see people discussing using is the following In your build asset bundles step, grab the hash of each bundle Store that on your server somewhere Fetch those hashes at runtime Use the ...
1
vote
1answer
28 views

Camera to the right from the character

I'm trying to create a camera like in Fortnite or Gears of War. It's focus must be to the right side from the character: But when I rotate the camera, the character slightly shivers. Lerping and ...
2
votes
2answers
62 views

How to get the SteamID of the currently active user from the filesystem or shell? (Windows)

Can anyone tell if it's possible to programmatically read the SteamID of the currently logged on user on Windows? Either from the filesystem or through cmd / powershell? Context: I'm looking to make ...
-1
votes
0answers
27 views

How to get started in real time 3D? [closed]

I'm a 2D UI designer and want to start creating real time rendered 3D user interfaces. I've downloaded Unreal and Unity but am a bit stymied with how to make the transition into the programming ...
0
votes
0answers
20 views

Is it possible to generate a 2D surface that approaches certain mesh, and then a specialised ray-tracing function for it?

As an example, suppose we are trying to ray-trace a sphere. There are two options. The first one is to build a mesh of triangles approximating the sphere and ray trace it. Unfortunately, the more ...
0
votes
1answer
21 views

Unwanted left-right rotation in run animation imported from Mixamo

A humanoid run animation I downloaded from Mixamo is working fine on their site and in Blender. When I import it into Unity it shows a strange movement: the full body is rotating left & right in ...
0
votes
0answers
26 views

Unity - Bullet spawns in wrong position in client

I am making a multiplayer game with prefab shooting, but unfortunately the prefab sometimes spawns in the wrong position when I shoot from a client. The bullet ...
0
votes
1answer
49 views

Adding text to gameobject

I'm trying to create a falling word game like z-type (code here). I have created 3 game objects and I want the words to be added as text to these game objects something like a health bar is added to ...
2
votes
1answer
26 views

UI/Menu that works with and without VR (Unity, WMR)

I'm working on an app that I want to be useable without and with VR (with a Windows Mixed Reality HMD like the Samsung Odyssey). For non-VR I'm simply using a canvas in "Screen Space - Camera" and a ...
0
votes
0answers
52 views

WHY !! CountDown not Working inside the IF Condition? [duplicate]

i need a way to make the countdown decreasing inside the if statement i am stacking in this problem for more than 3 days .. Don't suggest to me Coroutine cause it will not working in my case cause i ...
0
votes
0answers
22 views

Can't figure out why my mouse picking code doesn't work

I am trying to create code to check for intersections between bounding spheres and the mouse. I get a mouse ray but it doesnt seem to point in the direction you think it should Attached is a ...
0
votes
2answers
51 views

Quaternion angle calculation

I'm working on a programming project, in this project I'm receiving an angle as a quaternion value, I partially understand how they work but I don't find any math to get the values I need. What I ...
0
votes
0answers
17 views

XNA - How to scale sizes and speeds for a minimap?

I'm recreating the arcade game StarGate, and I need to create a minimap. But I'm having problems scaling the minimap textures to fit in the radar box, and ontop of that, making sure the speed of the ...
-1
votes
0answers
37 views

Multi Player Online World [closed]

Can anyone build a very special game for me. I have a huge list of requirements for this game. This game is called EGO LV1. This will require multi platform usability. The game will require an ...
1
vote
1answer
24 views

Lightweight NON-dynamic particles in Unity

I know Unity has an advanced system for managing complex dynamic particle systems with a few thousand elements (Shuriken). Does Unity have a more lightweight way to create a very, very large (several ...
0
votes
0answers
29 views

When using Prefab Mode only one game object is adjusted while the others need to be manually selected in hierarchy window for changes

I created a bezier curve prefab using the code in the post How to create an illustrator/photoshop-like pentool for creating bezier curves in Unity. I added a few copies of the prefab to my scene. When ...
-1
votes
0answers
19 views

Can you help to add unity 2d right and left buttons?

can you help me in making the right and left buttons? My Player Script : ...
2
votes
1answer
75 views

Overlaying Menus with a State Machine

I'm working on developing a game with C++, SDL, and OpenGL. I created the engine from scratch, and implemented my own state machine to handle menus and general gameplay. Each State gets pushed into a ...
0
votes
1answer
22 views

SerializedProperty to UnityEvent in a Custom Editor

I am making a Custom Editor for a type that includes a UnityEvent property. I'm currently facing an issue in converting a SerializedProperty to get that UnityEvent. Here is how I declare the event ...
1
vote
0answers
26 views

Is there a way to set a shader define in Löve?

I know I can use shader:send() to change variables, but is there a way to set/change a #define?
-4
votes
1answer
56 views

can the ECS paradigm actually help writing maintanable code? [closed]

can ECS be seen not only as a tool to write faster code, but as an actual paradigm to write maintainable code in a better way than could be done with OOP? I am going to reply to this question myself,...
0
votes
1answer
42 views

How do i properly make a skybox in Unity?

I have some trouble creating a sky box from a panoramic texture. Everything appears to be working. However there are some artifacts in one place. How do i get rid of them?
0
votes
0answers
20 views

Android studio background GPS service call and Unity

If I have a service file written like this in android studio: Manifest file: ...
1
vote
1answer
17 views

How can I put multiple actors on a Button?

I like to have an Button with a Text and some Pictures in it. Is there something out of the box to that ? I mean I would like to add a Table into a button, so I could add anything I need to the ...
0
votes
0answers
39 views

In Unity, my joystick button only works a few times, why?

My part of the input code looks like this: ...
-2
votes
0answers
34 views

Hexagonal Prisms [closed]

Probably many know how to make a world with cubes like in minecraft, but maybe some can explain how to do the same or better with hexagonal prisms!?

15 30 50 per page