All Questions

0
votes
0answers
1 view

Unity - ‘sheen’ on character model in Play mode

I hope this is the right place for this. I couldn’t find a category for Unity. I did ask this on the Unity forum, but I don’t get much in the way of replies. :-/ This is the link to the thread I made, ...
0
votes
0answers
7 views

Need instructions for my AI racing car game

I'm having a school project to create an 2D AI racing car game, but nobody know where is the destination, and the map is randomly generated. But to avoid the dead end, we must teach the car not to ...
0
votes
0answers
5 views

Understanding the “gradient” in Perlin Noise

If I didn't get it wrong from the wikipedia, the word "gradient" should represents either the derivative for continuous functions, or the differential for discrete functions. To rebuild the original ...
0
votes
1answer
10 views

How to properly handle sending arrow-key movement data to a authoritative server?

I've made a little C# server which receives UDP packets and shows me the incoming information. I want to make an authoritative server in C# which simulates character movement and interaction in a 2D ...
0
votes
1answer
10 views

Javascript Jumping Physics

I have asked questions for this project before, but the jumping physics are a bit messed up. I cannot jump unless I hold down the W key, and then it just teleports me upwards. Does anybody know how to ...
1
vote
0answers
17 views

Unity5 mixing animations with different properties

Maybe there are tons of questions about this but i dont know what to look for. I have 2 animations, one is aiming a weapon and the other one is shooting. When i aim the weapon i animate only its ...
0
votes
0answers
6 views

Player controller (Concurrent FSMs + Animation Graph) question

I'm building a little Player Controller for my new 2D game. I have all the basic things setup and now I would like to get into player state management and anim sincronization. My player will be able ...
0
votes
0answers
14 views

How to Correct this Animation Import Problem (from Spriter to Clickteam Fusion)?

I made a sprite. I put this sprite to Spriter for skeletal animation. It was a simple object which mostly merely rotated and which went up occasionally. I tested it, refined it here and there: it all ...
0
votes
0answers
7 views

Joystick Orientation Wrong After Camera Rotation

I am using a virtual joystick to move & rotate the player and a touch swipe system for the camera rotation, The problem is that when I rotate the camera (Let's say I rotated the camera to 45 ...
0
votes
0answers
6 views

Stop audio in all scenes using a slider in the main menu

I am using different sounds in different scenes, but problem is that I can't stop all sounds using slider in the menu. It stops only the menu sounds, or sounds for the current scene. When my game ...
0
votes
0answers
5 views

Editing the obatacle spawner dimensions in Unity 2D

I was following the endless runner tutorial for Unity 2D in youtube at https://m.youtube.com/watch?v=5M7vX_z6B9I I followed everything, but I was unable to edit the obstacle template. There are ...
0
votes
1answer
22 views

Texture Glitches When Drawn to Quad

Recently been trying to implement volumetric lighting. The alphaness texture comes out perfectly on Renderdoc, however a strange glitch occurs whenever I either try to directly render the texture ...
0
votes
0answers
19 views

Game Art: Martial Art Move Symbols

I am not really sure if this question works here or would be moved somewhere else but here goes. I am still in the conceptualisation and early prototyping phase of a game that revolves around RPG/...
0
votes
0answers
12 views

Unity C# : How to make 3D objects move in the grid?

I want to move and deploy 3D objects in the grid, like bakery 2(Storm8 Studios). How do you make a grid like that? For example, make a 5x5 grid and move it to a touchdrag. I'd like you to give me some ...
0
votes
0answers
12 views

Unity3D: Writing data to a file got duplicated 3 times?

I am writing data to a file every two seconds. I used InvokeRepeating and everything is Ok except that every record is saved 3 times in the file: ...
0
votes
0answers
6 views

Instantiating tiles

I'm writing a game that instantiates a large gameBoard. For some reason the below code won't instantiate tiles across the Y-axis. All 10000 tiles are instantiated in a straight line across the X, and ...
0
votes
1answer
21 views

Unreal Engine Size on Disk

I want to install Unreal Engine 4 from the epic game launcher but I have the following problem: If I want to install the engine after about 50% it says I don't have enough space on my disk, and if I ...
0
votes
0answers
4 views

Modding Super Mario Bros. U Animations

I want to insert custom animations into Super Mario Bros. U. Is it possible to do this? If it is will the game be playable on the Wii U, or will it only be playable on a Wii U emulator?
0
votes
0answers
6 views

Move & Jump Character in Unity (Book “Unity in action” 1st edition)

I, according to the book Unity in Action, studied Chapter 7, I don’t know whether I’m doing something wrong or a bug in the book. In general, the Character Controller clings to objects and it turns ...
0
votes
0answers
15 views

Which “using” directive am I missing? [on hold]

Habitually, I write at the beginning of my C# scripts: using System.Collections; using System.Collections.Generic; using UnityEngine; When I write: ...
1
vote
1answer
24 views

(SFML) Moving in one direction a time

so i've been making a pathfinder on a grid. I've succesfuly implemented the A* algorithm so the next step is making the AI follow a path. I got it to move to the desired destination but the thing is ...
0
votes
1answer
18 views

Modular weapon in UE4 editor

I want to create a modular weapon system. I already got most of it working, but I wonder how to make an improvement. Weapons in my game have different firing modes (semi and auto) and "bullet" modes (...
0
votes
0answers
7 views

How to rotate two textures at once in Libgdx, while keeping their relative positions the same?

I am trying to develop a game with cards, where the user can swipe left or right to tilt the cards like this. The red & white cross should stay in the same position on the yellow card as they tilt ...
0
votes
0answers
12 views

Implementation client side prediction and linear interpolation

I've been working on an online multiplayer game using a client/server architecture and I have been following both Gabriel Gambetta's as Gaffer On Games's series about Client-Server Game Architecture, ...
0
votes
0answers
18 views

What are pixel-based path finding algorithms? (path doesn't need to be shortest)

I have a canvas of size of approximately 1000x1000 pixels. I also have a matrix that represents that canvas and returns -1 if that 'pixel' is walk-able. I need to find a path between one of my objects ...
1
vote
0answers
15 views

Issues With Buggy Collision Detection

I am working on a small game in Processing 3. Essentialy I have a small open-world game and I wrote up a enemy AI to make the enemies wander aimlessly back and forth around the gameworld, and chase ...
0
votes
1answer
19 views

How to check if a specific instance of a prefab is pressed?

This one is hard to explain, so I'll show the code first - ...
1
vote
1answer
33 views

How to stop my cube collider when it hits another collider using Transform.Translate?

As we know, Transform.Translate() ignores collisions. What functionality do I need to add to my code so that when my collider hits something, the physics system ...
0
votes
0answers
13 views

Game Development using Unity [on hold]

I know how to code in C#, now I want to start game development using unity, but I never used Unity before. What must be the first step for getting started in Unity? And what are the other things that ...
0
votes
2answers
17 views

Dividing properties between RigidBody and Collider

I am currently making a physics engine in Rust. The 2 main data structures concerning collision detection are: RigidBody: Physics-related aspects of the body. Contains a reference to a Collider ...
0
votes
0answers
17 views

Instancing with Directx11

I'm a total beginner with Directx/3D programming. I need help with implementing hardware instancing on Directx 11. I'm trying to render multiple cubes on the screen, to create some sort of Minecraft-...
0
votes
0answers
12 views

How to move cube touch position and when hit my collider then stop my cube using raycast? [duplicate]

cube will be move but when hit my collider not stop my cube,used in program raycasting Code: public class MoveCube : MonoBehaviour { float speed = 0.5f; public Animator anim; ...
0
votes
1answer
23 views

Switch from left click to right click to make character walk in the Top Down Example, in UE4?

When creating a new project in the Unreal Engine 4, you can choose to create a project already with some added features and things (Top Down Example): This project has a character (which I changed ...
0
votes
1answer
19 views

Moving a dynamically spawned object

I would like to create an object dynamically when the player presses Q and use this object in Instantiate and in ...
0
votes
0answers
6 views

Unity5 NetworkServer spawn method works only inside the editor

I have a script that calls the server to spawn an object when the user press a certain key. The script inerhits from NetworkBehaviour and is attached to the players prefab. ...
0
votes
1answer
35 views

Character rotation according to camera causes rapid flipping when game starts

When I load my scene, my character rotates +90 and -90 on the X axis very fast about 4 or 5 times, and then he stops at -90 on X axis (lays back down). When I move the character, the rotations are ...
0
votes
0answers
12 views

Are these statics of verts and tris for VR game are good? [on hold]

I have a project for university where I have to make a game. So I have made the graphics for the game and I want to ask what are the best statics? This is what I have so far: Is it okay to have this ...
1
vote
1answer
37 views

Implementing game synchronization between clients and server

I'm creating a small online multiplayer game where I have multiple thin clients and an authoritative server. Both the client and the server have a fixed game loop. Now I have a game entity with the ...
12
votes
8answers
2k views

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

I'm working on a turn-based RPG with classes. I want one of the spellcaster classes to have standard magic points, but another to have abilities with time limitations, one or more of Use ability ...
0
votes
1answer
28 views

Efficient algorithm for simultaneously updating game objects which need to be updated

I have a grid of objects like this: 1 + F 1 is equal to the constant 1, ...
-3
votes
0answers
27 views

Collision with gravity (SFML) [duplicate]

What's the fastest and smoothest way to implement collision detection in sfml and stop at collision with a platform so that you can expand upon this code and make a platformer game? I've tried many ...
0
votes
2answers
15 views

Stopping the texture2D from stretching in RawImage

I am working with a RawImage texture which is fully stretched, filling up the entire scene. I am using some code to download images from website and then show them on the RawImage, the code is simple, ...
0
votes
0answers
16 views

How to code a lot of cards in a trading card game java [duplicate]

I want to make a trading card game like Yu-Gi-Oh or Magic. I have a lot of cards in my game and even the user can make new cards. Cards are objects and they have attributes like HP and Mana ,etc but ...
0
votes
0answers
24 views

when my cube touch the collider then stop my cube? [duplicate]

I put Box Collider on my obstacles but not stop my cube when touch the collider i try some code but nothing will be happen. ...
0
votes
0answers
28 views

How to start development with games that take place on maps? [on hold]

A game that takes place on sub-divisions on the map, like provinces etc.(which have some attributes) and things moving between the subdivisions(units, armies, caravans etc.).. Initially I look to ...
0
votes
0answers
11 views

Struckd 3D game development app [on hold]

It's a game development app so how should I get started with it...there aren't many tutorial for it...and I am not getting how to get started with it....and I want to really get started with it
0
votes
0answers
12 views

Unity5 multiplayer healthtag update issues

I followed some tutorials about unitys UNET. I have setup a offline and online scene and can spawn player prefabs. I use "Command" and "ClientRpc" calls to update and sync some variables. For example ...
-3
votes
1answer
36 views

Does unity3d's 5 seconds' simulation correspond to 5 seconds in real-world?

How is time modelled in unity? Is it same as the time in real-world?
5
votes
3answers
103 views

How to store relations between NPCs?

For an RPG I want to generate a world with lots of NPCs, and the NPCs all have relations to eachother. They can be eachothers parents, children, siblings, friends, bosses, lovers, lieges, vassals, etc....

15 30 50 per page