All Questions

0
votes
0answers
9 views

How does mmorpg store data?

I want to use sql database in my server.exe. lets say 1000 users online. And players will change their data when they play. And server need to save these updates. But how ? i think there two way: ...
0
votes
1answer
9 views

How to decrease the size of a distance?

I made a code for the character to be teleported to the place where the mouse cursor is, if the distance is less than or equal to 350. Blueprint: I happen to wish that if the distance were greater, ...
0
votes
0answers
9 views

Windows 10 GPU Engine Performance Counters - Phys / Eng Meaning

For performance tracing of intermittent degredation in performance I wanted to use the Performance Counters available in Windows 10 1809 under GPU Engine -> Utilization percentage. This particular ...
0
votes
0answers
6 views

Where is the part of the code of the mouse click in the TopDownCharacter blueprint?

I have a project where by pressing the B key, the character after a time interval is teleported to a point on the map. I can do this. It turns out that I imposed conditions so that at the end of the ...
0
votes
0answers
8 views

My GameObject keeps spawning when it shouldn't

I'm trying to instantiate a new gameObject when the current gameObject gets to a select point. The problem comes when the program gets to the second if() statement. It sets the floorsSpawned to 1 and ...
0
votes
0answers
13 views

FPS Character Controller movement - Any value in reverse engineering movement formulas?

from what I know character movement in popular FPS games tend to be non-linear, but the easing curves change between games as each has its own signature formula. Typically I image the physics engine ...
0
votes
1answer
12 views

Framerate Dependant Steering Behaviour

I've been studying steering and flocking behaviors, if not directly from Craig Reynolds work on Steering Behaviors For Autonomous Characters (http://www.red3d.com/cwr/steer/). I understand the basic ...
0
votes
0answers
7 views

Animation approach recommendations

Being a novice in game dev I can't find a clear answer on how to decide what way to implement an animation is the best for different scenarios for 2D game. With Unity I can implement animations ...
0
votes
0answers
8 views

Getting location / bounds of centered text

I want to show a dialog box where the user should answer a question. It would look like this: The question is aligned horizontally. I don't show the entire question text right away, but it builds up ...
0
votes
0answers
28 views

Quaternion rotation is inverse of what I expect

I'm trying to learn quaternions and decided to implement my own quaternion class. To test it I made a couple vertex shaders, one that gets a model matrix (calculated from the quaternion) and another ...
-1
votes
0answers
13 views

How can I apply two tranformation matrices to my spritebatch.Begin?

I have a 2d camera and a scaling matrix in my game. My question is how do I include both of them in my spriteBatch.Begin? From what I understand I can only use one transformation matrix for each ...
0
votes
0answers
12 views

Physics.CheckSPhere is not working

I try to use Physics.CheckSphere to check if a coordonate is empty. I use three for loop to cycle threw a 2 x Y x 2 chunk. The problem is that it return true if the corner is touching the coordonate ...
1
vote
1answer
32 views

How to know if two surface are in the same direction?

In my code I creat a Mesh that are composed by multiple tile. those tile can have edge that are shared, and I need to know if the normal of the tile that have shared edge have the same direction, ...
0
votes
0answers
14 views

Coroutine constantly updating animator transition

I have a problem for a while now and I am running out of ideas: I have a made a coroutine used to implement animations in the attacks, something like this ...
0
votes
1answer
27 views

Detect collision point [duplicate]

I'm writing a 3D rigid body physics engine, I am using OpenGl for simulation. Only convex objects are considered. My question involves how to detect the point of ...
0
votes
1answer
34 views

makeing a quest system in a html clicker. need help making repeatable quests and quests being done

So i have a pretty good clicker quest system in place( click/ use spells/collect stuff etc) but im having a hard to making it a reward system. The reward should only go off once then the quest should ...
1
vote
1answer
14 views

How can I play and stop a Visual Effect Graph effect through script?

Can anyone please give an example lines of code one could use to play/stop a VFX through C# script.
0
votes
0answers
20 views

how to create a curve movement of slider in unity

I am trying to create a curved (not circular) movement of slider. Here is my demo images for reference: I have watched some tutorial but those are for circle images. I want to make this movement ...
0
votes
0answers
30 views

How similar can my game be to a AAA game? [duplicate]

(This is just an example so take it lightly) Say I want to make a 2D game heavilly inspired by a AAA game. For example GTA V. The names and story remains the same. except everything is in 2D but ...
-1
votes
1answer
44 views

How to turn a delay in attack speed?

I would like the delay that defines the interval in which the warrior deals damage to an enemy, was calculated based on a number of attacks per second and not a delay. Explaining best, I'd like to ...
1
vote
1answer
25 views

Unity Colliders - How do I detect nearby objects without my detection ranges detecting each other

How can I get both colliders' types in a trigger overlap message like OnTriggerExit2D(Collider2D other)? Example: ...
2
votes
1answer
83 views

How to make procedurally generated terrain look realistic

I generated a terrain using a technique from this blog post, everything worked well and I got the wanted result. This is what my generated island looks like: As you can see the terrain have a polygon ...
0
votes
2answers
42 views

Getting notified about a change of a public variable in a script

I have a script attached to a GameObject. In this script I have the variable public int Rotation If this value is changed, I need to do some calculations. I ...
0
votes
0answers
13 views

How to move sprite on z-axis in 2D Unity

I am making a 2D game and I am having trouble in setting up a sprite movement. Here is a picture for reference what I want to achieve: Now car is moving forward (I have done that using road and car ...
0
votes
0answers
31 views

Rotating A two point around circle?

Currently I M Working On 2d Game in my game problem is when i m click leftarrow and right arrrow point are not rotated?? Code: ...
1
vote
0answers
44 views

Bullet physics convex hull center of mass

I am trying to make a convex hull collider for bullet physics. I am using BulletSharp.CompoundShape and BulletSharp.ConvexHullShape. This is model of a chair in unity with rigidbody and convex mesh ...
2
votes
0answers
36 views

Unity playing run animation but retaining a t-posed model in the background

I downloaded a character in Mixamo without any animations and then proceeeded to download a separate FBX with animation then without any mesh, so I have 2 FBX files. I then proceeded to add the ...
0
votes
0answers
9 views

How to import JSON animation file into Cocos Creator using Typescript?

I'm in the process of making a game and I want to import json animation file from remote resource into the game using Typescript, currently using Xampp as the localhost. There is no problem for me to ...
1
vote
0answers
36 views

Designing a profit maximization model - multi-level game

I am looking for some help in designing a multi-level game for a network simulator I am building. In this network, actors have a choice to set up a number of units and to fill their units with money. ...
0
votes
1answer
24 views

How do you write Texture2DContent and read it as Texture2D in the XNA content pipeline?

I'm trying to create a custom Monogame content pipeline extension that packs a bunch of individual sprites into a single sprite. I need help figuring out how to write and read the texture in the ...
2
votes
1answer
50 views

OpenGL Textures: Texture contains color lines when object is further away that some distance

I tried searching on the web but couldn't find a reason for this. When I render an object close to the camera, the object and texture renders fine. But further away from a fixed distance, it starts ...
0
votes
0answers
30 views

How can I move the character to the center of the screen when the user clicks with the primary mouse button?

I am a newbie at this and I'm just trying to learn how to do different things. I am wanting to move a character sprite in a horizontal line, toward the center of the screen when the primary mouse ...
1
vote
1answer
26 views

How to set keys for emission on/off for a prefab?

I am making a prototype for a Mario game and am having difficulty completing a canned animation for a prefab. There is an item box asset that has 3 materials and an "ItemGet" animation. One of these ...
1
vote
0answers
19 views

Using MCTS in Unreal Engine

I have been making a turn-based board game in UE4 and have come to the point of making a first pass on the AI. I planned to use Monte Carlo Tree Search but this requires you to make (at least) one ...
0
votes
1answer
87 views

stats or profit give away result of game

Think of a coinflip game, whose logic looks as follows: Server sends websocket message (RESULT_MESSAGE) to frontend with result of a game (won/lost) Server sends websocket message to frontend with ...
0
votes
0answers
24 views

How to implement a simple chat option for server-client based game (blender/BGE)

I want 2 players to be able to chat with eachother. I have a running server-client game, but I'm kind of stuck on this one. Since there are only outdated videos this is an example I need: https://...
0
votes
1answer
19 views

Unity WebGL Build: Why it shows only Empty Folder?

i'm trying to built my game, made in Unity 2018.3, and i'm trying to built it in WebGL, but the problem is this: built was succeeded, but the Folder is still Empty, and here is the problem occured: ...
0
votes
1answer
67 views

PyBox2D car moves uncontrollably

I am trying to program TopDown Car using python and Box2D (similar to this tutorial: http://www.iforce2d.net/b2dtut/top-down-car ) The steering is so far limited to thres states of wheel rotation, ...
2
votes
0answers
93 views

Why is 90 FPS recommended for Virtual Reality games?

Origin of the question I have recently finished an internship at a (small) game development company which is working on a Virtual Reality game that is also used in medical rehabilitation. From what I ...
0
votes
1answer
35 views

How can I restart an animation?

The first time the player clicks a button, my animation plays properly. The problem is that when the player presses the button a second time, the animation does not play. Here is the code I'm using ...
0
votes
1answer
45 views

Strange problem with rotation missile | unity3d - c#

I have a vertical missile with launcher that should find closest target and fire it's rocket to hitting target! I use complete code of this 12min tutorial for launching my rocket, and the different ...
0
votes
0answers
11 views

Unity “Convert To Entity” does not work (Render) with “Skinned Mesh Renderer” for Animations

I'm trying to make a game with Unity's ECS and Job System. I came across the issue where, Convert To Entity does not support Skinned Mesh Renderer. It does not render the mesh. I need it for ...
1
vote
1answer
37 views

Using a setTimeout to Jump

I am trying to make a jump function. I am making a game in html5 canvas with Javascript. I have gotten the player to move. When making the jump function I decided to use a timeout to reverse the ...
1
vote
1answer
58 views

Dynamic Game Server Architecture

I'm trying to find a way to design a game server architecture for a real time mobile game. The design should be cost effective but still to some extend scaleable (later on). Mobile client flow: ...
0
votes
0answers
11 views

making an SKSpriteNode collide with another SKSpriteNode through the use of a projectile image

i am having a lot of troublefiguring out why my projectile will not shoot the image of luke. I have tried many different methods to try and counteract this but none of the strategies have seem to ...
0
votes
0answers
13 views

Unity Animating Function Calls

I would like to use the Animator for calling a function at certain intervals. I have a function that changes sprites of an object and also does a couple of other things, that cannot be simply added ...
0
votes
1answer
12 views

GetMouseButtonUp/TouchPhase.Ended doesn't work properly

I'm trying to make a game where your tap doesn't count until you've released your click, or stop tapping. The weird thing is, it doesn't work in game, but it works for animation. ...
-1
votes
1answer
82 views

OpenGL performs very bad on laptop

I'm trying to write a game using C and OpenGL, I wrote some rendering code and camera, but the game is very laggy, framerate is so low (probably around 10-15fps), however, if I launch the game through ...
0
votes
0answers
15 views

How can I make plexus effect with VFX Graph?

I need to make plexus effect like this youtube video as you can see there are many points that each point connected to neighbours points

15 30 50 per page