All Questions

0
votes
0answers
57 views

How can I make billiard without using Rigidbody? [duplicate]

Unity's physics engine isn't deterministic (ie. the results aren't always the same on all computers) so I haven't Idea that how billiard games Implemented.Is there a way to Implementing fake and ...
0
votes
0answers
15 views

How to access a Texture inside of a Vertex Shader. SharpDX 4.2

This is a continuation of the question found here: vertex manipulation in instanced shader hlsl SHARPDX 4.2 Now that I was able to modify the positions of the vertex in a Vertex Shader through ...
0
votes
0answers
23 views

Java game how to fix offset move with mouse drag and reset back to start position

I'm try to make offset x and offset y move correspond with mouse drag movement I tested it. Its work but after I released the mouse and do it again the offset will reset to 0, 0 I tried to fix it by ...
0
votes
1answer
23 views

Unity Moving and rotating part of a model

I have downloaded a high quality head model which includes the shoulder, and I have want to move and rotate the head model, but its shoulder fixed, as if it is looking at the certain points that I ...
1
vote
0answers
85 views

How to improve my RPG/RTS pathfinding AI?

Recently encountered this path finding problem while doing a RPG game. I am using Godot engine and pathing with A* and small cells. I also searched some other algorithm or technique like flowfield or ...
-4
votes
0answers
58 views

Trying to run a game “youtuber life” but it keeps crashing [closed]

IT shows YoutubersLife.exe caused an Access Violation (0xc0000005) in module YoutubersLife.exe at 001b:01216158. I am attaching th error file. Unity Player [version: Unity 5.3.4p4_43a3882ae25c] ...
0
votes
0answers
27 views

Calculate animation weights based on two variables

I am working on a custom engine and have been tinkering with animations using the Cal3D library. My previous experience with animations was based on prototyping a bit with Unity's Mecanim. Right now, ...
16
votes
1answer
2k views

How can I fade player character when he goes inside or outside of the area?

I want to fade the player when he goes out of the area. For example, suppose a person enters a building. When a person is outside of the building, he shouldn't be seen, but when he enters he ...
0
votes
1answer
27 views

How to set Godot's events as handled

My root node adds a scene - GameScene - in it's _ready function: ...
0
votes
1answer
18 views

SDL2 doesn't render a window

A tutorial's code from LazyFoo wonderful place's 01_hello_SDL page doesn't show a white form, but a desktop's screen, like a screenshot. Something like: The code: ...
0
votes
0answers
99 views

Ipad Mini 5 Roblox frozen [closed]

I bought a new iPad mini 5. I restored my account from my old iPad mini 4. Roblox will open on the new iPad, but it immediately crashes when I try to play a game. I went to to Apple store and ...
1
vote
1answer
29 views

How can I convert screen coordinates from a click to 2D scaled world coordinates?

I need a way to convert screen coordinates obtained from mouse clicks to world coordinates in my 2D game. To create a zoom effect controlled by the user, before drawing a model I will scale all of it'...
0
votes
1answer
35 views

How to make a rigidbody come to rest faster

I'm trying to move around a 3D rigidbody in Unity 2018.1.0f2 Personal. I am using a C# script with the basic vector3 and velocity stuff from a YouTube video: ...
0
votes
0answers
23 views

Accessing a char array from another class

I'm working on a crossword puzzle game. In order to set the letters in my tiles, I have a script attached to text components that accessing a char array that stores my letters. It looks like this: ...
0
votes
1answer
24 views

How to make an object towards the mouse on one Axis - Gamemaker Studio 2

I am trying to have my "obj_playership" move towards the Cursor on a single Axis. Prefer it to be the Vertical Axis. I tried doing this is an "Execute Code Box" in a step event "direction = mouse_x" "...
1
vote
0answers
7 views

Unity 3D Vive Focus conversion difficulties

I Keep getting this error message below when I try to build and run the game. I have downloaded sdk package: sdk-tools-windows-4333796.zip Android studio. I am new to this kinda technology any ...
0
votes
1answer
21 views

Cursor issue in Unity

Main question: How can I make this possible so that I can press a UI button inside the canvas while the cursor is locked? Hello, I am creating a 3D video game. I have fully functional character ...
1
vote
0answers
22 views

Java Network UDP Pong

I have been learning Java by myself for a few months now and just created my first game, Pong, with menus/buttons, AI difficulties, one/two-player, etc. Everything is working well, but I want to ...
0
votes
1answer
17 views

Text on touch in Algodoo

I have just started off in Algodoo and have only a basic knowledge of how it works. I want to be able to create something that when it is touched by a ball with an English flag on, it shows England ...
0
votes
0answers
21 views

Alpha blending works when rendering to an FBO, but not when rendering to the screen buffer

My rendering pipeline goes something like this- Bind multisampled FBO Render GameObjects Render Transparent Objects Blit multisampled FBO to normal FBO perform any Post processing Render a quad ...
0
votes
0answers
9 views

Shader to Show outline, and transparent backFace

I would like to implement in my game some sort of occlusion for backward wall. I want, when my camera is inside a wall, to be able to "see" the start of the wall, with a transparency effect or watever....
0
votes
1answer
19 views
0
votes
1answer
31 views

Static Camera on Endless Runner

I am developing a mobile game in ue4. For this project, I need to have a "static" camera so that the player can move within the frame not affecting camera location and rotation. But as this is an ...
0
votes
0answers
9 views

Libgdx Box2d TiledMap Scaling

I think I'm doing something completely wrong but I just can't seem to wrap my head around the box2d pixels per meter conversion. Currently I have a Tiled map with an object layer I want to use as my ...
0
votes
1answer
13 views

Canvas UI elements out of place in Unity3d

I placed all elements in the places I want to show in the Game mode, nevertheless, when I go to Game Mode they are shown in the wrong place as it was shown in the pictures (they go to the center). I ...
2
votes
2answers
96 views

Minecraft-Style Voxel Sunlight Algorithm

I'm implementing a pure Minecraft clone, and I want to implement sunlight. I have a basic sunlight algorithm working perfectly in 2D, and I understand how to scale it to 3D. But how do I make it so I ...
2
votes
0answers
31 views

Game Dev where to go [closed]

I crave to become game Dev. I have watched tried and even made my first game tutored by brackeys that is a cube dodge game. I felt very happy and successful.but what to do to develop rather than ...
0
votes
0answers
13 views

How to trigger periodically in the unrolled time a script?

my simple goal: instead of pressing a key, it triggers a script like this: if (Input.GetKeyDown (KeyCode.Q)) {// script} a precise moment and chosen (for ...
0
votes
1answer
23 views

Activate specific element In Array?

In my array there are 6 elements "guns" and I want to activate one element after deactivate all of them. Here is my script ...
0
votes
0answers
31 views

Multiplayer online snake for many many players. Question from noob [closed]

Looking to head in a proper direction. I have less than bit experience in programming. I wonder what simplest solution are to create: 1) 2D multiplayer game with lots/many players at once on the map....
0
votes
2answers
65 views

How to make a character that moves like a slinky?

I have a school assignment to make a 2D platformer game, with a character that moves like a slinky: (Animated example from the assignment linked above) At first, the character needs to grow in ...
0
votes
0answers
45 views

What optimization techniques do modern games use? [closed]

Apart from the well known frustum culling, and LOD what other techniques AAA game devs use for making their games to run as good as they can ? (With 60 FPS and in HD resolutions) I'm especially ...
0
votes
1answer
40 views

How to control jump strength by how long the player presses the jump button?

In a platformer game I am working on, I want my character to have controlled jumps. If I simply tap the jump key it will jump a just a little or if I hold it for a time it will jump higher. What do I ...
0
votes
0answers
8 views

Godot: How do I change my icon to my export

Changing My Icon I want to change the file icon to my exported project. After reading the official documentation and downloading and trying both versions of rcedit in the editor it did not work. ...
0
votes
0answers
41 views

Unity Soft Shadows

I'm building a puzzle level in Unity. I have a ball with cracks on it and a point light inside it. The goal is to project the light coming through the cracks into the walls. I've managed to do that ...
0
votes
1answer
18 views

How to scale a sprite on x axis to touch the point without changing pivot?

I have a sprite. The pivot is at random point. I want to increase the sprite's scale on the x axis, without moving the pivot, until its edge touches a point at right. I have a method to set/add size....
0
votes
0answers
15 views

Precomputed realtime global illumination in unity

I'm trying to learn and understand how to use this option in unity and I'm working off the example given in this tutorial https://unity3d.com/learn/tutorials/topics/graphics/introduction-precomputed-...
1
vote
2answers
54 views

Unity FPS - Joining players always take over the camera

I created a "network manager" and a "network manager hud" for the whole scene. My character is a simple capsule and has a camera, a weapon spawner and 3 weapons as children. I gave him a "network ...
0
votes
1answer
32 views

how to duplicate a button via script?

I have the following code: ...
7
votes
2answers
481 views

What am I suppose to use instead of Unity Resources if I have to load and unload sprites at runtime?

I recently read this guide posted in the Unity website about Resources. It is clear from the get-go that it is discouraged to use Resources unless you are ...
0
votes
0answers
13 views

Extra keytimes in FBX baked animation

I've exported my 3D model with animations in Blender to FBX, then used fbxconv-gui to create G3DJ file. The animations contain keytimes always like this even if I want to use different frame rate: ...
0
votes
1answer
66 views

Start a progress bar when clicking a button

This is basically what i am trying to do: Click first scene->Button Start A Progress Bar When the Progress Bar finishes, then... Second Scene->instantiate my Game object This is my code: ...
0
votes
2answers
62 views

Unity is single thread then why unity webgl says asset bundles are load in main thread

I am get stuck in a performance issue in unity Webgl that whenever my asset bundles are load the unity game get freez for some seconds/mins. I know that unity is not thread safe and it is based on ...
1
vote
2answers
50 views

Displaying pixels on a canvas at 60 hertz [closed]

I'm (new to SO and) attempting to code an "emulator" for an 8-bit CPU I am making with a friend. I have only ever used Java to make simple GUIs with Swing, and from reading similar questions it seems ...
3
votes
1answer
43 views

How to make party members appear and move to begin a conversation scene? (rpg-maker mv)

A common conversation starting trope in JRPGs, when the party is represented as a single character, is for the characters to come out of the player's position and begin talking with each other and the ...
-5
votes
0answers
33 views

“Accessor get or set expected” error [closed]

In this part of code C#, there is a compiler error at the first line of my Start function: ...
0
votes
0answers
32 views

How can I load back from a text file the values to the variables?

I'm using a simple text file to write to using StreamWriter but maybe it's better to use a json. For example how I used the json before: ...
1
vote
1answer
62 views

How can I predict the angle that a wheel will stop spinning at?

In my 2d game, I have a wheel that spins using the rigidbody function _rb.AddTorque(_torque) that I call in FixedUpdate. Also in FixedUpdate, I cap the wheel's ...
0
votes
1answer
40 views

Why it isn't possible to get a progress in SceneManager.LoadSceneAsync between 0.0 and 0.9?

I am trying to understand why does SceneManager.LoadSceneAsync progress always jumps from 0.0 to 0.9, no matter how big a scene can be. To try trigger smoother ...
0
votes
0answers
51 views

Is there a way to numerically determine the ranking of poker hands?

I'm having to create a poker game called "Jacks or Better" as part of an assignment. As with all poker games, there are various combinations of 5 cards that have different ranking. So my question is: ...

15 30 50 per page