All Questions

0
votes
0answers
11 views

Certain line of code makes my game crash

I'm about a month into teaching myself java and game dev and I've come to a stop. For some reason, having this line of code in my Character class causes the game to crash almost immediately after ...
0
votes
0answers
6 views

Compiling an old version of Minecraft Server to take care of META-INF

I'm trying to run the Oldest server version of Minecraft If I try to run it, it says something about the ol' META-INF folder and doesn't run. When I looked into it, I found that I'll need to compile ...
0
votes
0answers
7 views

How can I de-rig & delete the skeleton while keeping the mesh?

There is this 3D model one can download here and then import to 3ds Max with XNAlara importer. Now this model already comes with a skeleton which is rigged.But if i want to rig the mesh to a ...
0
votes
1answer
21 views

How to remove an element from the scene while keeping it in array?

I combined cube meshes to make a big one. I stored the info of every cube in an array within a list of chunk. Now i want to delete the cubes in the scene to only keep the combined result, but without ...
0
votes
0answers
7 views

Find x, y from a rotated image

I am making a game in Java using Graphics2d, Graphics and BufferedImages. I have made a function/void to rotate an image towards the mouse position: ...
1
vote
0answers
12 views

Simple networking, now that UNet is deprecated [duplicate]

I'm prototyping a two-player typing game in Unity. I don't have any experience making multiplayer games, so I'm not sure how to best approach the netcode. For this game all I think I really need is ...
0
votes
1answer
21 views

how do i clamp my camera's rotation on X and Y?

i'm using a script to make my camera rotate smoothly toward the mouse cursor on the screen. and the only thing i need is to somehow clamp it's rotation on X and Y. here : ...
2
votes
1answer
26 views

What to use instead of UNet? [on hold]

If you look at this Link you'll see UNet is deprecated and will be removed in the future. I'm developing a mobile multiplayer game, i've red official advise about it but they say "You can publish it ...
11
votes
8answers
2k views

Do I have to explain the mechanical superiority of the player-character within the fiction of the game?

For quite a while I wonder how to formulate this concept, which seems to be common, yet barely addressed within games. It is about the concept of player controlled characters (PC) being consistently ...
2
votes
2answers
50 views

Exchanging data between custom-built hardware and games

I have a built my own steering wheel and motion platform that I would like to connect to popular car racing games (e.g. iRacing, Dirt Rally). I need to read data such as the car's acceleration (to ...
0
votes
0answers
13 views

GLDrawableFactory.getGLDrawable removed in JOGL 2

I have recently picked up an old project (not written by me), and I was tasked with updating it from JOGL 1 to JOGL 2, so it can run on Java 8. There are a few problems with this. First of all, most ...
0
votes
0answers
13 views

What image size/resolution is best for a 2D Mobile Dress Up Game [duplicate]

I have begun the process of making a 2D dress up games (i.e. Pastel Girl and Cute Girl Avatar Maker). Majority of the tutorials I have seen always include things like game physics, but I don't need to ...
0
votes
0answers
64 views

It's not an direct game dev question.but I need a serious answer [on hold]

My question is "is there any online api service which provides any android games player achievement Json data for example:=I want player achievements about subwaysurfer updated or May may be candy ...
-1
votes
0answers
18 views

Unity - Parameter does not exist

I've tried asking on the Unity forum, but as always, I little to no response, and this is really frustrating me. I've never had this issue before when setting up animations or Animation Controllers. ...
0
votes
0answers
7 views

How can I update my materials to work with LWRP?

I'm using Unity 2019.1.6f1. When I open a new scene with the LWRP template project, I see errors from all materials in the scene. For example, the Jigsaw appears in my scene but in console window I ...
0
votes
1answer
21 views

Unity3d crash on Launching on Ubuntu

I have a problem that bugged me for quite some time now I'm trying to Install Ubity3d on Ubuntu I Followed some instructions that i've found after some research I downloaded and installed UnityHub and ...
0
votes
0answers
25 views

3D physics engine in C++ [on hold]

I am working on building a 3D physics engine from scratch in OpenGL , Actually i have worked on it for a month and what i get is a simple two cubes, two spheres and cube-sphere collision , I have ...
0
votes
1answer
31 views

Scene graph or just plain container?

I'm trying to understand if it makes sense to call what I have a scene graph or not. Im doing an asteroid-like game, where all objects in the game are described in world space coordinates (an ...
0
votes
1answer
18 views

Drag 3D camera with mouse cursor

I have a camera that is moved by changing its X and Z coordinates. However, the camera is rotated, so when an object moves by 1 unit in the world, the number of pixels it moves by isn't trivial to ...
0
votes
1answer
13 views

PyGame Inconsistent Framerate

This is the first game I have tried to make on PyGame, and I have followed the PyGame Primer tutorial (https://realpython.com/pygame-a-primer/) to do so. I'm practically done, but when I run the game, ...
-1
votes
1answer
31 views

Return the success or failure of an event occurring with a given percentage C#

I'm working on a skill based system that does away with the concept of RNG despite player skill. Basically, my concept is this: A player's chance to make something is based on ...
0
votes
0answers
19 views

How do I pick a random location and instantiate a enemy at that location?

So I'm trying to make an enemy spawn in a random direction after x amount of seconds. I can't figure out on how to pick a random location around the game border and spawn it there. I tried to do <...
0
votes
0answers
24 views

OpenGL render your own world using tiles from google maps

Goal: I would like to create a UI/GUI that has a Google Earth Panel. In this Google Earth Panel I would like to zoom in a 3D world and out and label additional objects like sattellites etc. To ...
0
votes
0answers
15 views

What is the minimum system config need to render photorealistic human and cloth using PBR? [on hold]

We need to render a photo realistic human figure with muscle movements with photo realistic cloth simulation in realtime . The figure don’t have any background . That is only the human figure with ...
1
vote
1answer
29 views

Font rendering, how do you align glyphs of a font?

I'm trying to render text quad using texture generate by BitmapFontWriter of libgdx. For the font I can get ...
0
votes
1answer
26 views

Unexpected output from the merging of a quadtree, when that data is converted to Box2D fixtures

I've been staring at this code trying to troubleshoot this for the past 3 days, but I seem to have gone Code Blind. I KNOW the issue is stupidly simple, but I just can't crack the problem. I'm using ...
0
votes
0answers
14 views

Animation Rigging - Create an animation on editor

With the package "Animation Rigging" is possible to download the samples. But in the "animation window" it show the animation only with FK and not with IK. With the package "Animation Rigging" is ...
0
votes
1answer
25 views

Textmesh Pro conflict in Unity2019.1.5f1

I'm having an issue with Textmesh Pro in my project. I originally got it from the Asset store a few months ago. More recently, I deleted it and downloaded it from the Package Manager. However, now in ...
0
votes
0answers
14 views

Java BufferStrategy Flickering

I was watching a tutorial on using a BufferStrategy in Java and I wanted to test a very simple example. The issue is that it flickers intensely and it seems as if a piece of the starting oval stays on ...
0
votes
1answer
16 views

How to set up Azure Spatial Anchors with Unity Android project?

I'm building an AR app in which I wish to use Microsoft's Azure and it's web service Spatial Anchors. I cannot seem to get the sample demo, which I downloaded from https://github.com/Azure/azure-...
0
votes
0answers
11 views

LibGDX: Issues with two viewports, one from stage

I am frustrated.^^ I want to build a game that can run on different screen sizes using LibGDX. The best strategy for me seems to be to use a FitViewport so that I ...
0
votes
1answer
77 views

Why are meshes limited to 65k indices or uint16 in most game engines?

Why are most game engines like unity limiting their meshes to 65k indices by default, or enforcing to use uint16 as the default datatype for indexbuffers? I know that its better for performance to ...
1
vote
1answer
23 views

Using grids from a different script

I suspect there is a very simple answer to this one but I have been scratching my head trying to figure it out for a while. I have this piece of code that works fine. It effectively adds the location ...
0
votes
1answer
49 views

Alternate Answer for collision problem?

I am building a top-down game in unity which works well. In this game, I have a 3D object (red cube) which a player has to control and there are other cubes like white, yellow and black cubes which ...
0
votes
0answers
16 views

Emerald AI animal not fleeing

Hey guys I have set up a =n animal to be a cautions cowered but he stops instead of running away. I am using unity version 2018.3.11 with emerald AI 2.2. Here is how I have the scene set up : Emerald ...
0
votes
1answer
18 views

How to make TEXT RENDER stand facing the camera of my character and also for the camera of simulation?

I have an actor (Minion) with a Text Render just above it mesh: As you have seen, I defined your rotation as absolute, so the text does not rotate along with the actor. In the game the rotation ...
0
votes
0answers
16 views

How do I correctly implement Java animations?

Here's what I have so far. ...
0
votes
3answers
107 views

Algorithm for a dense crowd of people who avoid the player?

I want to make a game like this. When player moves other humans will move too. And other humans will push people around. Are there any algorithm for this ? How can i solve this very efficient way ? I ...
0
votes
0answers
18 views

Data visualisation tool based on games played by user

I am a complete beginner in android development and for self-learning purposes thinking of creating a visualisation tool where different progress graphs of user's high score vs time or latest scores ...
0
votes
0answers
13 views

Rotating an image in Slick2D in place in a tiled map?

I just finished writing a parser for TMX data (Tiled maps), and the way Tiled handles rotated tiles is by using three bit flags for flipping an image horizontally, vertically, and diagonally, to allow ...
0
votes
0answers
22 views

Client side prediction in 2D rigid-body physics

I'm currently working on 2D rigid-body physics multiplayer game using Matter.js for physics (both the client and server side) and Phaser3 for rendering. Both the server and the client run the ...
0
votes
0answers
19 views

Whats the most efficient way to implement precise ray picking for scenes with large meshes?

I'm wondering how to implement ray picking in the most efficient way for scenes with very large meshes ( > 1 million faces)? Right now I'm using BulletSharp physics wrapper with TriangleMesh which ...
0
votes
1answer
17 views

LibGDX - stage, camera, viewport, batch(spritebatch), projectionmatrix, tiledmap, what is the connection between these concepts

Currently my game has 3 stages : -ui stage -entity stage -tiledmap stage 2 cameras : -hudcamera (for ui) -mapcamera (for map) 2 batches : -spritebatch for rendering particles -batch from ...
0
votes
1answer
24 views

Unity - SpriteRenderer. Trying to make sprite from code using Texture2d.whitetexture

I have been trying to write a method that fills a rectangle with a color. I've tried it as a new 2D and 3D project just in case, but this gives the same results. Basically, i want the script to make ...
0
votes
0answers
20 views

Check whether an object is fully inside/overlapped by other objects in Unity3D?

I have structures made of voxels (cube gameobjects), and I want to make complex structures from them. But I don't always want to place them on the grid. I want them to be more realistic, like ...
0
votes
0answers
17 views

Android problem with looped background

I'm making some sort of clone for FlappyBird, but with some adjustments. I'm trying to have an animated background running infinitely times. I already have the picture mirrored so the flow will be ...
0
votes
0answers
15 views

Android problem with onTouchEvent

I'm making some sort of clone for FlappyBird, but with some adjustments. I want to change from the FlappyBird's mechaninc of jumping to make the bird raise as long as the player is long-pressing the ...
0
votes
0answers
12 views

Unity Timeline controls

Can anyone show me how I could play the timeline backwards through code? Like, after Cinemachine has done cut scenes, and I'll want to reverse the whole cut scene back to how it started, how exactly ...
0
votes
0answers
11 views

“Leap Service not connected” in Unity3D, connected in SteamVR

I'm having trouble to use Leap Motion with Unity3D on one of my machines. Unity doesn't see Leap Service running : Leap Service not connected Both computers run ...
0
votes
0answers
8 views

On what mobile devices does VFX Graph work? [on hold]

On what mobile devices does VFX Graph work? I am asking because I need to target the widest audience possible with my project.

15 30 50 per page