All Questions

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

Professional way to use socket server in Unity? [on hold]

I'm trying to connect my Unity client to my own backend which should have a socket server. I had tried SignalR but client-side ...
0
votes
2answers
28 views

Can polishing the GUI be ever considered a part of making the MVP?

I've read and watched about the MVP: Minimum Viable Product for RTS game? What should be created first in a video game? And of course the video everything on the subject links to I'm trying to apply ...
0
votes
0answers
8 views

How can I publish my game (*.aab file) on google play?

I select arm64 (64 bit) and x86 and amrv7 and select build app bundle in player setting so but when I want publish so I have an error like : Error This release is not compliant with the Google Play ...
0
votes
1answer
9 views

Prevent VS Code opening the Unity scripts twice

Is it possible to prevent VS Code opening the Unity scripts twice? E.g. I opened Unity project, double clicked a script and got my project (Assets folder) opened in VS Code, now I go to Unity make a ...
0
votes
0answers
8 views

Google Play In-App Purchase Troubleshooting

I used the code below to handle in-app purchasing in my Unity 2019.1.9 game on Google Play. But it did not work. What is my problem, and how can I fix it? ...
0
votes
1answer
19 views

Is there a way to change displays in unity

I was wondering if I could change displays in Unity by hitting a key. For example, I want to look down on the battle, so I hit 1. Then I want to see it from the side. I hit 2, etc. Is that ...
0
votes
0answers
7 views

(Minecraft Win 10 Add-On) how do I find the relevant code for Auto-Pickup

(Posted this originally on the wrong Stack Exchange, oops, hopefully this is the right place >>') This is my first time asking a question here so I apologise if I do something wrong. I want to make ...
0
votes
1answer
19 views

How to temporarily increase the speed of a character in a Unity game

As the title would suggest, I want to give a character a speed boost for x amount of seconds, while increasing their Gameobject's mass. During this little speed boost, I also want to add a script to ...
0
votes
0answers
14 views

How to generate point based on a map

I am making a multiplayer game in Unity, with a socket.io server in NodeJS. I am using a globe, with a texture to represent the world in Unity. Let's say something similar do this. Now, there I am ...
0
votes
1answer
20 views

How to add a bolt into my unity project

In my game, one of the character you pick as a special ability called the dash. It allows the player to quickly move forward. Included below is the code. It just throws up a bunch of errors. This is a ...
0
votes
0answers
4 views

Python - frame buffer and Tkinter

I'm trying to make a simple game in Python that uses Tkinter for the window (Tkinter comes with Python which is why I chose it) and I need to be able to store a frame and then create a new one instead ...
0
votes
1answer
12 views

Clamp GameObject Into Isometric Camera Viewport

I'm using the next code to move an objecto into an isometric projection (30/45) ...
0
votes
1answer
14 views

How much memory does a Game Boy game have for save data?

Is there a standard number of bytes a Game Boy game would have to store (battery backed up) save data? If not a standard, is there an common size, or a few examples of save data sizes? If Game Boy ...
0
votes
0answers
12 views

Modeling complex requirements for populating loot/drop tables

I have a set of items and a data structure that describes where and how those items may be dropped. I'm looking to implement a roguelike/randomizer element to the game and want to include the special ...
0
votes
0answers
7 views

calling function with callback inside update

I am using cocos creator with typescript to make a game. The problem I am facing is weird. check out the following code : ...
0
votes
1answer
7 views

How do I make an image appear based on the current state I'm in?

I am following a tutorial called Complete C# Unity Developer 2D: Learn to Code Making Games. In one section we create a text-based game, where we display a canvas with some UI elements to the user. ...
0
votes
0answers
12 views

Graphic render speed in libgdx using many sprite sheets

I am currently working on a customizable Player-character for my top down view 2D pixel game. I am using libgdx and aiming for android devices as well as desktop applications. I am wondering about an ...
0
votes
0answers
15 views

How can I make my animation switch frames automatically without pressing any keys?

So I have been trying to figure out for so long how I can loop the frames on my animation automatically without entering user input to prompt movement of my object. I have four different frames for a ...
0
votes
0answers
38 views

Serverless Multiplayer

I wanted to make a game with a "serverless" mobile multiplayer game. The idea was to have devices connect to each other automatically when they are within range. There would be no global game state ...
0
votes
0answers
20 views

Manage weapon special gear enhancements (buff, life steal, fire DoT, slow enemies, etc)

I plan to develop an RPG, and I struggle with my weapon damage calculation. I'd like to be able to attach modifiers to swords, like life steal, damage buff, fire damage over time, make the enemies ...
0
votes
1answer
18 views

Character Controller pulling Table in Unity Engine

I have setup a scene with one GameObject that has CharacterController component (Player) and another one Cube that represents Table with RigidBody and BoxCollider components. Now, when I get close to ...
0
votes
1answer
16 views

How do you turn off all scene lighting in the game view like you would with the scene view button?

In the scene view, there's a control bar with a 'lighting' button that lets you toggle scene view lighting. This turns off all shadows and all light sources, i.e. makes it so that all objects are seen ...
0
votes
0answers
11 views

Stop the player to prevent it from being thrown away after collision

I'm trying to write a script where when the player (kinematic) comes up against an enemy he stops, jumps and gets dynamic again. The problem is that when it returns dynamic it is thrown away and does ...
0
votes
2answers
20 views

Using ECS in a custom Unity package

I have built a custom package for Unity called world-renderer. This is the folder structure. Inside "Runtime" is all my source code. To use it inside a Unity ...
0
votes
0answers
14 views

TurnBased Server Design

I want to create turn based card game. Im currently writing server part in Java and I designed one little mechanism how it could work. On one server I want to be able to have lots of desks. So the ...
0
votes
0answers
56 views

What is wrong with my collision detection?

I am trying to create a collision detection system between block using this code: ...
0
votes
1answer
20 views

Why does changing Texture of Particle System using Material Property Block changes texture, but Particle System is still emitting old texture?

I try the code in Start, checking in Editor shows new texture, but Particle System still emits old texture. The script works for SpriteRenderer, but not ParticleSystem. I tried to Play/Stop emission - ...
0
votes
1answer
34 views

How to increase the thickness (Size) of a plane in Unity

I am making a small game where you have to roll around and not fall of a platform. I am using a plane to simulate the ground, but it is really thin. Is there a way to make it thicker by increasing a ...
0
votes
0answers
16 views

How to calculate the torque required to rotate rigid body about constant axis and rotating axis?

How to calculate the torque required to rotate rigid body about constant axis and rotating axis? Convention: Identity Rotation Matrix: 100 = Row1 = Right (X positive right) 010 = Row2 = Up (Y ...
0
votes
1answer
35 views

How to prevent a cube from falling through a plane in Unity

I am trying to prevent a player cube from falling through the plane (Battleground) in Unity, but after adding Mesh collider to both the cube and plane, as well as adding a rigidbody, nothing seems to ...
0
votes
0answers
18 views

How do I make a background for a game? [on hold]

I don't know how to make backgrounds for games so please help me. I am working on a game and I need help with the background.
0
votes
1answer
18 views

Mapping a Texture to a 2d Quadrilateral

I want to map a 2d picture onto an arbitrary 2d quadrilateral, for the purpose of particle system. To do that, I split the picture into two triangles, and then linearly interpolated u,v along the ...
0
votes
1answer
15 views

PlayClipAtPoint() playing multiple times on enemy death

I am having problems with PLayClipAtPoint(). I want to play a given sound as soon as a gameObject is destroyed. Here is my code (the concerned parts): ...
0
votes
1answer
8 views

Auto key bones with controller helpers

I have skinned and rigged a human character with IK / FK and helper objects to control the position of the IK goals and the rotation of the bones. For example, the characters' left arm IK goal is ...
0
votes
1answer
43 views

Calculation of distance while switching between two speeds

There are two speed values, that are used by moving object. After a while speed switching occurs from V1 to V2. I need the formula that can be used for calculation of current distance (at specified ...
0
votes
1answer
24 views

Networking - assigning IDs to entities

Maybe I'm asking dumb question, but this problems bothers me... So I have my networked game in Unity (client), and server written in C# (without Unity). I Use ENet library for networking. Most of ...
0
votes
0answers
26 views

How to add Facebook login to a Unity game without Gameroom?

I'm trying to implement Facebook login with the Facebook SDK for Unity. The documentation makes it sound pretty straightforward: call FB.Init and then call FB.LogInWithReadPermissions and use a ...
0
votes
0answers
24 views

How could I calculate the distance between the parent and neighbors node when there is a line of sight between two points?

I have completed my Astar algorithm in Python and now I need to convert it to a Theta star algorithm, I have built my line of sight algorithm below, but when I come to my Theta star algorithm I face ...
-3
votes
0answers
36 views

Any Suggestions for my project [on hold]

https://drive.google.com/drive/folders/10YmdNd--G8W9MabGN4yeSShs4P9JRwfI?usp=sharing Please if you have any suggestions please comment it down below.
-1
votes
0answers
39 views

I may be loading to many graphics assets at once - What modern ways are there to profile my GPU?

I have a 2D game I am making and I load all the assets at launch. At the moment I have 136 textures to load and some can get pretty large (over 320x160) some even to 2000x2000. I added some new ...
1
vote
1answer
39 views

Unity ads displaying only unity products

i just implemented unity ads on my project and now its only showing a single unity product each times. Can anyone suggest why? Thanks.. Here is some screenshot of the ad 1: (https://i.stack.imgur....
-1
votes
1answer
51 views

Could I run two functions inside OnTriggerEnter?

My weapon fire a gameobject "clone bullet" with a script attached on it. There is a part from the script doesn't work. That part is when this "clone bullet" hit object with "enemy" tag, check if this ...
0
votes
0answers
41 views

Spritesheet Usage

I am working on an RPG game and I am storing most of my textures in separate .png files, but for my sprites I would like to use a sprite sheet. How do you cut and store the sheet into individual ...
0
votes
0answers
3 views

MatterJS Trigger Mouse Input Programmatically Server- Side

So I want to create a simple multiplayer game using MatterJS. The game is basically you have a slingshot and a ball, you drag the ball and when you release the ball flies (like Angry Birds Basically)....
0
votes
1answer
83 views

What to do with collision detection?

I am able to get collision detection (CD) into my game but... what do I do with it? Do I push the player back to the last location? Something else? I am programming the game in C++ using the Irrlicht ...
0
votes
1answer
18 views

Additional Entity ID for networking instead of general EID?

http://t-machine.org/index.php/2015/06/09/entity-ids-how-big-using-uuids-or-not-why-etc/ I see this one article that proposes specific IDs just for the networking side of the game. If you are already ...
0
votes
0answers
55 views

Help with moving a character in Unity [on hold]

I am attempting to move my cube character with the arrow keys, however, all of the scripts I used would throw up an error. I have tried multiple file movement structures, and I have tried single files....
1
vote
1answer
33 views

How can I control ads frequency?

This question was already asked a while ago, and I wanted to check the present situation: Can I control ads frequency from the dashboard? (e.g. frequency capping in Admob) Can I control ads frequency ...
0
votes
0answers
17 views

Opengl Instancing and SceneGraph architecture

I am developing this game engine and using opengl instancing for rendeing some meshes. The problem is that i need a buffer of transforms (this means in continuous memory) but each transform is ...
0
votes
0answers
15 views

Cross platforms decoding

To advance those coding language and enhance the combination of gameplay device. Here are a file extension with ".d" Any compilers would I find for checking if it's able to run?

15 30 50 per page