All Questions

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

Swift or Unity to code multiplayer iOS game [on hold]

I have an idea for a multiplayer app/game but don't know what programming language to use. I was hoping to use Swift in Xcode but I am wondering if Unity is the only option. The multiplayer aspect ...
0
votes
0answers
5 views

How can I place a context menu in my scene?

I want show a menu like for an inventory item like this: At first I thought that this is a normal object in WorldSpace. I made the canvas appear like this: Unfortunately that didn't work: If the ...
0
votes
0answers
12 views

How does programming at a work-for-hire studio compare to a studio developing their own IP? [on hold]

Is it ultimately about the same or does one involve more grunt work? Are the experiences valued the same when hiring programmers? I know there will be variation from studio to studio and even project ...
-4
votes
1answer
19 views

When making a game using libgdx the program immediately closes when being run

The problem is similar to my last question, but some of the errors are fixed. The file: ...
0
votes
1answer
15 views

How to assign separate controller axes to Player1, Player2?

I need to have two players moving in a level for a school project and my player controller is already set up for using axis inputs (as opposed to discreet buttons) for directional input. I already ...
-2
votes
1answer
13 views

Making a game using libgdx and when running the program immediately closes

When I run the program the window immediately closes and gives some errors. GameMapImpl.java : ...
0
votes
0answers
3 views

unity2d Run animation doesn't work it just snaps to the position when i press leftarrowkey [on hold]

I am trying to make a run animation for my character but it doesn't work when I go from my idle animation to run animation it repositions to the place I made the animation. The rigid body gravity does ...
0
votes
0answers
24 views

I need help debugging this Spotlight implementation

I'm hoping someone can help me debug this wacky implementation of a Spotlight done in Java LWJGL that I found online. Basically, I found the bug, but I cannot figure out how to fix it so that the math ...
-2
votes
0answers
20 views

What is the best language to use when coding an MMO? [on hold]

We all know there are many languages that can be used to code an MMO. We can use javascript, C++, java, or even python to code our game. But, what could one use to code an MMO that plans to implement ...
-1
votes
0answers
18 views

Question about trying to port a feature C# to C++ Nintendo DS [on hold]

I recently found a NDS homebrew application that lacks a feature from the PC version of the said program. I wanted to try and port this feature into the NDS version. The only problem is that the PC'S ...
0
votes
1answer
25 views

Google play services not working in unity

I've done everything as specified- Linked my app to play services in the developer console. Added the SHA1 from Applications -> Release Management -> App signing -> Upload certificate. Downloaded the ...
0
votes
1answer
23 views

OpenGL: glTangent? [duplicate]

In the glext.h header there is the group of functions with the prefix glTangent. It has signatures similar to the ...
0
votes
0answers
11 views

Qt opengl glTexImage2D in a widget

So for now, I was doing an OpenGL display, where I render in an opengl context (GLUT) . But now I would like to integrate it into a big project that does not use the Qt OpenGL API at all (QGLWidget, ...
1
vote
3answers
32 views

Replacement for glMatrixMode() in OpenGL 4?

In OpenGL version 3.x the function glMatrixMode() specifies which matrix is the current matrix, i.e., which matrix stack is currently the target of all matrix ...
0
votes
0answers
19 views

2d Tiled Map with images in Javascript

I'm trying to create a tile map with simple 2d images (30x30). I restarted the project from my previous post, and instead of using someone else's code, i though I would learn more to start from ...
2
votes
1answer
24 views

Why is the Enemy not changing direction when entering the collider?

I'm really new to Unity, and I'm trying to make a 2.5D platform game. I want to make my enemies walk on a platform and turn when they reach the end of the platform so I placed two triggers at the ...
-1
votes
0answers
25 views

My gameobjects in Unity are behaving sometimes as per the behaviour defined for them and sometimes random? [on hold]

I believe that it might due to executing many functions in parallel. Is there a way to optimise the execution of functions so that the gameobjects behave correctly?
0
votes
0answers
18 views

Issue with multi monitors (portrait and landscape) in Unity

I have an issue with multi monitor support in Unity 2019.1.0f2. I have an application that will be deployed to a Windows 10 rig that has a portrait 4k screen (2160x3840) and a landscape HD screen (...
0
votes
0answers
14 views

Substance Designer: How to target the corners of random tiles

I'm trying to figure out a way to target the corners of randomly generated tiles so that I can place details there. Take for example putting bolts at every corner of a series of metal plates, for ...
14
votes
4answers
3k views

Improving an O(N^2) function (all entities iterating over all other entities)

A little bit of background, I'm coding an evolution game with a friend in C++, using ENTT for the entity system. Creatures walk around in a 2D map, eat greens or other creatures, reproduce and their ...
0
votes
0answers
14 views

How do we make sure that there are no problems with the navmeshes in the Creation Kit?

I want to replace the market stalls in Skyrim, but I want to make sure that the characters won't have problem moving to their usual locations after doing so, how do you check that the navmeshes are ...
1
vote
1answer
65 views

How do I cover a plane in a bumpy foam material effect?

I need to fill a weapon bag with foam material. This is what it should look lik: The material in the upper part of the bag looks like this: I'm using HDRP. How could I do this? Thank you! Edit: ...
0
votes
0answers
16 views

Need help with procedural dungeon generation [on hold]

I am currently making a dungeon generator for my game. She system is based on rooms that have doors and volume nodes. Room sizes are not fixed, however they all fit on a grid(ex. 1x1x1, 2x1x2, etc.) ...
0
votes
0answers
16 views

Rotate a moving image in python (pygame)

I am currently developing a game where a cube has a gun (a simple black rectangle) and this gun needs to move around with the cube, but needs to rotate and point to where ever the mouse is. The end of ...
-1
votes
0answers
15 views

Character teleports instead of jumping 2# [duplicate]

Since I got no solutions in this question that I did 10 days ago I decided to make other thread. Basically my character instead of jumping normally, he teleports and then glides down, tried many many ...
1
vote
0answers
22 views

Force propagation through physic bodies constraints (as non-penetration)

First, some context I'm currently implementing a (well, tiny) game engine using a predictive approach. The idea is to compute when a state change will occur, and only update state at time of the ...
0
votes
0answers
22 views

Unable to move UI object form script - Unity [on hold]

Hi I have a an an empty UI object which that I want to move on run time. I tried simply changing the value of x but it gives error that value can not be changed so I tried this: ...
0
votes
1answer
34 views

Centring content within a scroll area

I've got a Scrollbar with a dynamically generated number of entries, and I'm trying to figure out how to get it to act so that there's a lead-in of the first 3 items (example number based on the size ...
0
votes
0answers
9 views

Loading resources on OnLoad function

I am trying to load a json file using the cc.loader.load function in onLoad() function as shown below, I also have used some console.log() functions to see the order of execution. ...
1
vote
1answer
24 views

Rigidbody script throwing error CS0246: The type or namespace name `MouseLook' could not be found. Are you missing an assembly reference?

I've been stuck on this for the last 3 days and I really need some help. Now, I have 2 scripts that are giving me some grief, the RigidbodyFirstPersonController.cs and the MouseLook.cs scripts. On my ...
-1
votes
0answers
26 views

SFML game engine : how to compile client game? [on hold]

I'm trying to make a simple game engine with SFML for 2D games (for using SFML with a user interface). but I don't know how to compile their(client) source code. is there any way?
1
vote
1answer
62 views

Repeating a mesh instead of stretching it

I would like to put acoustic foam into a case object: To do that, I have created a foam object: Now I'm having a really hard time to cover the case in Unity with this object: I have to adjust ...
-2
votes
0answers
25 views
-1
votes
0answers
35 views

How to have a 2d array with a different number of elements in each row, and the number of rows is determined at runtime? [on hold]

How to have a 2d array with a different number of elements in each row, and the number of rows is determined at runtime? This question was asked and is similar to mine. The only difference is what if ...
0
votes
1answer
18 views

What is the physical interpretation of Input.GetAxis(“Horizontal”)?

Actually I want to edit my previous question titled What is the geometrical interpretation of Input.GetAxis("Mouse X") and add a related question "What is the ...
-2
votes
0answers
35 views

How do I detect if my player reaches the edge of the screen?

i am working on camera movement and i want to implement it in a way that when player reaches edge of screen, camera shifts left. So is there any way to check if player reaches edge of screen
0
votes
1answer
15 views

Multiple Bitmaps in Rectangle area

I am trying to build a card based game in which a card is added to player after every round. To win the match player has to remove all cards from his deck. However I have also drawn some additional ...
0
votes
1answer
39 views

Get JSON property dynamically in Unity C#?

I'm saving game data into JSON, however basically I can't get property with just string just like in JavaScript. This makes my code to write so many if/switch statements, looks very not clean, hard ...
0
votes
1answer
16 views

How can I apply setActive to a UI element after an animation finishes?

I have an object animation which plays on the opening of a scene. When the animation is over I want the UI slider to be setActive - allowing the user to rotate the object. I have both these elements ...
-1
votes
0answers
23 views

onpenGL in QT widget without QGLWidget and QOpenGLWidget

I want create an application base on QT and use OpenGL to display a video but for my project I can't use QGLWidget and QOpenGLWidget. Do you have any idea to do it ? I try to create class like that ...
0
votes
1answer
29 views

How can I use a coroutine and GetAxis to rotate a game object?

For the sake of learning about coroutine, I want to convert the following to a cleaner Update that just calls a coroutine. How would I do that? ...
0
votes
0answers
28 views

error CS1069: The type name 'ZipArchive' could not be found in the namespace 'System.IO.Compression'

When I build my project, which references the System.IO.Compression namespace, the build succeeds without issue inside Visual Studio. However, inside the Unity ...
0
votes
0answers
26 views

Using a PBO glTexSubImage2D with GL_PIXEL_UNPACK_BUFFER gives GL_INVALID_OPERATION

I plan to develop a tool for realtime video manipulation using C++, QT 4.7.4 and OpenGL and i'm on visual studio 2008. I check many web site but my code doesn't work since I try with PBO. At the ...
1
vote
0answers
17 views

Destroying a networked projectile and creating a client side visual for all clients in Unity?

I'm making a shooter in Unity with UNET, and of course I handle projectile (like arrows) collision on the server. The arrows are Networked rigidbodies with NetworkBehaviours, and I would like to ...
0
votes
1answer
35 views

Instant Animation Transitions? Nothing I read about is working

re-imported my character today with 3 new animations (JumpStartState, JumpDownState, JumpEndState) and moved all animation code into the PlayerController script. All of my animations are handled by ...
1
vote
2answers
92 views

Two player platformer game - gameover issue

I'm creating a two player platformer game but facing issues when one of the player dies. So far I have created two players and added the following script to both. The issue I'm facing is that once any ...
0
votes
1answer
49 views

Why won't my ball bounce? (Unity, 3D)

I'm trying to do a very simple ball bouncing setup in Unity. I have a sphere with a sphere collider and a plane below it was a rectangular mesh on it, isTrigger set to false for both, and they both ...
0
votes
1answer
22 views

Rendering to Texture with Transparency in Monogame?

Please forgive me if I'm asking a question that has been answered before, but for the life of me, search as I might, I couldn't find a problem exactly like this anywhere. I'm trying to render a ...
0
votes
1answer
24 views

Animation is not starting even though collider is triggered?

progress is steady but it is a bumpy road. I have removed the animation script from my character and reworked it into the controller script. I have also added new animations. Doing this required ...
0
votes
0answers
38 views

Is there a way to reference Unity UI object inside native code?

Let's say we have a scene in Unity with canvas and InputField on it. Is there a way i can reference my InputField inside native plugin? Maybe i can pass it from Unity?

15 30 50 per page