All Questions

0
votes
0answers
3 views

Unity Editor - Call a method from a ScriptableObject from its own custom Editor

I have a class like this: public class NoiseMap : ScriptableObject { public string Hello() { //... } } Now I am building its custom editor: <...
0
votes
1answer
9 views

How can the ball moving like billiard after collision with wall?

I tried ball.velocity = Vector3.forward * speed and also *=-1 when the collision is occurred(It only works for straight way. But I want the ball movement be liked in photo. How can i do it? Thank you ...
0
votes
0answers
22 views

What is a good dev kit that isn't an engine but we can build an engine around more easily? Preferably C++/C# [on hold]

Background I've been working on a game in my spare time for the last 2-3 years. It is built in Game Maker because of the following reasons: I like the IDE a lot and I'm used to it. I like how easy ...
0
votes
1answer
9 views

Creating 2d array in gamemaker from code

According to GameMaker2 arrays documentation, GML has 2d arrays. At the same time I could not find any references how can I create 2d array from code. I tried doing ...
0
votes
0answers
12 views

Fail to Start android service in android studio Unity

I have written a service file in android studio like: Manifest file: ...
0
votes
2answers
22 views

Algorithm to detect impossible scenarios

I'm making a simple game where a surface is split up into 4 parts, rows, obstacles spawn in them, and a player tries to dodge them. Up to 3 obstacles are generated in each row, and this can lead to ...
1
vote
0answers
10 views

Hard coded triangle in HLSL geometry shader doesn't show on screen

In Unity I'm planning on using a geometry shader for processing points into quads and can't quite figure out why I'm not getting output from my geometry shader. I've edited it down to a minimum ...
0
votes
1answer
21 views

Whats the general method developers to implement FPS multiple weapon handling animations?

I'm trying to create a first person shooter and I'm lost on what's a good, efficient methodology to implement the whole weapon handling animation system. Now, I know that I could have a unique ...
0
votes
0answers
11 views

How to extract a point in LibGdx from Tiled map?

Tiled has a feature to insert a point in to an Object layer. But there doesn't seem to be a "PointMapObject" implementation in Libgdx on the doc. currently i am being forced to use a PolylineMap ...
0
votes
0answers
5 views

IK in collada files and fbx files

I'm currently looking to create my own collada and fbx file parsers. But I read that animations on collada and fbx files are implemented through bones and skinning (skeletal animation). My question ...
0
votes
0answers
17 views

Item collision detection doesn't work

My GameWorld constructor has the following code inside it. ...
1
vote
0answers
37 views

How can I make collisions in a game similar to Mario 64?

I'm currently trying to build a kind of Mario 64 -like game (very simplified). The environnement of the game will typically be a bunch of triangles issued from a .obj made on blender. Currently I ...
0
votes
0answers
11 views

SDL2-CS and Gtk Sharp like SDL2-CS and WinForms in C#

who knows SDL2-CS embeds in Gtk Sharp 2/3? Similar example by Ethan Lee with Winforms But I really want know how do I fix with SDL2-CS in Gtk Sharp because I am working under Ubuntu 18.04 SDLWidget....
1
vote
0answers
15 views

Multiple Viewports/Windows Dear IMGUI c++

How do I use IMGUI with multiple GLFW windows? I know Dear IMGUI already has a virtual viewport system going in the viewport branch but I found that to be lacking a bit on how to use this new system. ...
0
votes
0answers
18 views

Generating a tile map in pygame

I have this code that, in my opinion it should work, but it don't. So far I figured out how to get the tile position and position in windows of the top left tile but I can't do the other tiles. I am ...
1
vote
1answer
41 views

How do force fields scale?

Setting I am designing a 2d game in which a \$1/r^2\$ force acts between moving charged particles, and the number \$n\$ of particles is very large. To calculate the force between all pairs of ...
0
votes
0answers
32 views

Wrong movement with Inverse Kinematics?

I'm scripting character IK to look at object "enemy" direction. If enemy is above him, he look at enemy. The issue here is when enemy goes out of character range. Character should look forward, and he ...
1
vote
0answers
30 views

How can I make the cursor the right size on a 4k monitor?

Since I have a 4k screen, cursor.loadFromSystem(sf::Cursor::Hand)); gives me a cursor that is way too small. Is there a simple way to make the cursor ...
0
votes
0answers
30 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
29 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
18 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
11 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
0answers
19 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 ...
0
votes
0answers
41 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
31 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
60 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
42 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
20 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
21 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
17 views

How to implement RayCast and ShapeCast like Unity?

Currently I am working on a deterministic physics system in Unity. So I am using fixed point math to implement part of physics in Unity functions. My main reference is a book Game Physics Engine ...
0
votes
0answers
25 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
28 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
29 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 ...
0
votes
0answers
28 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
31 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
51 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
17 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
32 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
54 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
73 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
27 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
59 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
25 views

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

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
19 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
25 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 ...

15 30 50 per page