All Questions

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

Can I test for containment of convex polyhedra with the separating axis theorem?

I would like to refine the output of the separating axis test to not only tell me whether convex polyhedron A intersects convex polyhedron B, but also whether A is completely inside B. Is it safe to ...
0
votes
0answers
15 views

Implementing beat detection algorithm on mobile

So, I've been looking for a way to detect beats on a streamed song on mobile(like listening on Spotify or Youtube etc.) I've found the most used methods are either using already known songs or using ...
0
votes
0answers
8 views

Broken model matrix builder

I'm trying to setup basic render pipeline in Vulkan and am currently setting up the perspective, view and model matrices. The line that calculates the position in the vertex shader is this: ...
0
votes
2answers
19 views

C++ Generate random float values between a range

In my current situation I have a game world, in that game world I want to place loads of tree models. It is a waste of time for me to actually explicitly define the x y and z values of each tree model,...
2
votes
0answers
21 views

How can I make sure all army compositions are counterable in an RTS game?

Most RTS games I played have some kind of rock-paper-scrissors system that ensure that there is no single best unit you can mass and win with all the time. However this breaks down when players start ...
1
vote
1answer
16 views

Multiple cameras using a single skybox with same perspective

I am using the enviro package for weather and to have a moving sun in the background. I'm building an installation with 3 screens and I want to have the sun track across the screens. However what I ...
0
votes
2answers
51 views

A two player game with a split screen

In the antique game spy vs. spy, two players play on a single computer. The screen is split, with each half showing the viewpoint of one player. Is it possible to create such an effect in Unity? The ...
0
votes
0answers
17 views

Box2d ContactListener function. Problem calling a function on the collided objects

(Github repo of project: https://github.com/Golden-Nuggs/Mario). I created a ContactListener class which derives from b2ContactListener. I am following the excellent tutorials found here: https://www....
0
votes
0answers
38 views

Using machine learning for enemy generation

I am attempting to make a 2-D platformer game where the player traverses through an evil factory that is producing killer robots. The robots spawn at multiple specific locations in each level and ...
0
votes
0answers
34 views

C# Convert List<T> to multidimensional float

I have a list of Vector3 structs like this List<Vector3> cloud I want to convert this list into a 3 dimensional float array ...
0
votes
1answer
41 views

How to manage network spawning?

I'm developing an multiplayer game "from scratch" (not using a big Engine-Suite like Unity but the lower-level libgdx). Currently I've got a NetworkManager which handles the sending of messages on ...
0
votes
0answers
26 views

How to animate fluid filling down a pipe of any shape?

I am working on a project where I want to model a simple flow of fluids around a circuit of pipe. I thought a simple way to do this would be to create an irregular shaped loading bar, then animating ...
0
votes
1answer
27 views

Box collisions between vehicles in traffic pattern

I'm working on a traffic simulator. Right now, I have ways to manage 4-way stop intersections and a solution for efficiently determining which vehicles are colliding with one another. All vehicles ...
0
votes
1answer
21 views

Box Collider 2Ds float just above each other in Unity

I'm learning 2D Unity and am experiencing a very strange problem. When I have 2 objects both with Box Collider 2D and a RigidBody2D, and one of them is set to be static so it doesn't move, the other ...
0
votes
0answers
47 views

OpenGL viewport is stretched

For this project I am using GLFW, glad and glm. My window looks like this: The dimensions of the window are correct, but the viewport is stretched, making my square into a rectangle. How do I use a ...
1
vote
1answer
24 views

Procedural vs Event Driven Paradigm Clash in HTML5

I've been writing some console-based games in python and got in the habit of having a "mainloop" that looks something like this (if it were ...
0
votes
0answers
22 views

Exported Blender model is flipped when Imported into game using Assimp

I have made a 3D game engine, and as part of this I use Assimp to load in meshes to my game. One of the meshes I load in is my ...
0
votes
0answers
81 views

Someone downloaded my game but it failed on Game Start due to code that doesnt exist

As stated in the title, they get the following error: ...
1
vote
1answer
34 views

How to convert Unreal Engine 4 spline to a bezier curve?

I have read the source code of USplineComponent and found that for a curve in Unreal, the result is calculated via ...
0
votes
0answers
32 views

Arrange a list of objects based on an integer c# unity [closed]

i have a list of objects list charList = new list(). i iterate through the list and run a function called rolledInitiative which generates a random int called Initiative. I want to arrange the list ...
0
votes
1answer
28 views

Messed up meshes

I had this blender model imported to unity. And then export to android studio as library. The exported model meshes messed up in emulator while in game player everything look great. Can anyone help ...
1
vote
1answer
54 views

How to make shadows softer as distance increases?

I'm trying to make shadows become more blurry as the distance between the caster and receiver, so they look a little more realistic. What method can I use to achieve this?
0
votes
0answers
35 views

If I don't start on the 'main game' scene, but then load it via a main menu button, the ground will be black and white!

If I play the scene where the actual gameplay takes place, from the editor, the game begins like so: However if I play the main menu scene and then use a button, linked to an empty game object (which ...
0
votes
0answers
10 views

Odd bug as Unity tries to access a Collider2D

This is the odd scenario where a reference is being made to a collider that is supposedly destroyed: ...
0
votes
1answer
35 views

How to detect aging signs with ARkit / AR foundation?

How Do I approach the matter of detecting skin color, wrinkles, age estimation using ARkit / AR foundation in unity ? I haven't found any tutorials online that can help on this.
0
votes
1answer
26 views

Close objects are only partially rendered - LWJGL [duplicate]

I'm working on a LWJGL project and I'm experiencing a weird problem: close objects stop being fully rendered as I move slightly away. I'm not very expert in OpenGL so I can't figure out what is ...
0
votes
0answers
26 views

How to align edge vertices of modular props snapped on a 2D grid?

For a project I am working on I create some 3D props in Blender that can be put together in a modular way on a 2D grid in Unity. In Unity I generate the grid contents using these props. Now given ...
0
votes
1answer
75 views

How to control which path a unit will take?

This might be a really easy solution that I probably just do not know due to lack of experience so thanks for any and all the help. TLDR at bottom of post. I'm still learning Unity / C# and I am ...
0
votes
0answers
24 views

How can I continue to rotate a 2D UI Object using OnPointerEnter when object is on its side? (OnPointerExit is triggered)

I have been wracking my brain on this for days. I'm trying to create a nice looking hand of cards, when the card is hovered over, it bobs up and down and rotates. This is triggered by OnPointerEnter, ...
0
votes
0answers
49 views

How do I make a hitbox for a sword in a top-down game?

Context: I'm using Box2D through LibGDX in Java. The sword and the player are in separate classes. Both extend LibGDX's Sprite class. I've got a sword attached to my character that swings when I ...
0
votes
0answers
29 views

Compensating for camera rotation while placing object just outside of camera

I would like to place an object in such a way that it is just outside of the screen. Later, I will slide it in, coming from the left side of the screen. However, there is still a piece of it still ...
2
votes
2answers
64 views

Material is flickering in Unity

I'm trying to make a grid like, light up floor using Unity's Shader Graph. However, I am having an issue where the lines are flicking after a really short distance when the camera is moving. The ...
0
votes
0answers
33 views

Is there any cross-platform API/library for rendering on XBOX/PS4? [closed]

I am looking at making a game engine, and I am having trouble finding a graphics/rendering library that also supports ps4 & xbox. Would I have to make a different rendering system for each ...
0
votes
1answer
38 views

I accidently changed the cursor image in Unity

In the Unity Editor I accidently changed the image for the mouse cursor in project settings > player How can I restore it to the default, preferably not through programming?
0
votes
0answers
32 views

Frustrum culling without per-mesh positions

I am trying to implement frustrum culling in a C++ renderer im writing but I feel like I hit a brick wall. The plan is to load the Sponza level and per mesh create a collision box using Bullet ...
0
votes
0answers
25 views

SDL & Image quality on iOS

We are just finishing a mobile game for Android and iOS. The image quality on iOS is subpar, and we are trying to understand why. We are currently having two problems: the background, which is a ...
0
votes
0answers
24 views

What platforms are available to publish your web game [closed]

I am an individual developer who created an android game and Its already live on play store. I have seen lot of web games lately but not sure which platforms are reliable. My objective is to generate ...
1
vote
0answers
11 views

Unity: Set LightProbes to “Off” on Static objects

Since I use Light Probes for Indoor Scenes only I only need them to work on Dynamic Objects. Objects in Indoor Scenes are all Lightmap Static and baked, objects in outdoor scenes rely on real time ...
27
votes
4answers
7k views

How can I design the environments in my game to be memorable and unique?

I've always been a fan of the Metroid series, and more generally nowadays, the metroidvania genre. One thing that I've loved, and most others have praised highly, are the unique and diverse ...
0
votes
0answers
9 views

How to assign xNode graphs to an active object?

I am trying to create a basic AI using the xNode visual scripting tool. The getting started guide from github is not showing how to assign the created graphs to an active object (if this is even how ...
0
votes
1answer
21 views

Running Unity development build in Android emulator without signing

I am working on project with a friend who uses Windows while I am using Ubuntu. We are using Unity collaborate and it's going fine except when we want to build. The keystore is in his filesystem, <...
0
votes
0answers
41 views

“StrictMode policy violation” warning occurring in my game after upload

When I upload my game to my Android device, I get the following warning: ...
0
votes
1answer
48 views

Force Immediate Button Update in Unity

I am working in unity and I have a group of buttons that I activate/deactivate at various times in the game. However, I have noticed that when I call ...
0
votes
0answers
21 views

How do I properly use Unreal's Lens Distortion plugin?

I am trying to use UE's LensDistortion plugin (seems like it's bundled with the engine but only put to use in the Compositing sample project), and following the same workflow as the sample. ...
0
votes
0answers
17 views

pygame multiple collisions between two objects

Ok, so I have been trying to figure out how to set this up and can't get it working properly. I'm trying to get the functionality similar to the moving logs in the game Frogger if you are familiar ...
2
votes
1answer
120 views

How to generate random waves for a bullet hell game that feel balanced and natural

My game consists of 'waves' of objects called 'spawners', which once every certain amount of time (their firetime), move to a new place on the screen and spawn an enemy. Each wave has 4 important ...
1
vote
0answers
32 views

Unity: running GPU intensive operations in editor mode

I have written an erosion simulator that I want to execute from the editor (for generating terrain and such outside of play mode). Unfortunately, when I crank the parameters on my simulation, unity ...
-4
votes
1answer
66 views

Can I make a game based on the Star Wars universe?

I was thinking of trying to make an auto battler using Star Wars characters/ scenes. This game, of course, would be free/ have no intention of monetization in any way. My guess is this is fine but I ...
0
votes
0answers
32 views

Tiled Map Editor. How is the correct texture chosen per tile? (tmxlite)

I am still a beginner, this question is probably quite silly. I made a map in Tiled Map Editor. It contains 3 layers 'sky, water, solids'. Right now, I am just trying to build my sky tiles. I had ...
0
votes
0answers
62 views

What is the easiest type of 3D game to create [closed]

This question is game engine agnostic But I want to know what type of game is proper to get started with 3D

15 30 50 per page
1 2 3 4 5 957