All Questions

0
votes
1answer
53 views

Unity Menu navigation using keyboard/controller input?

I am trying to create a character stats menu that uses keyboard/controller input to navigate between options instead of the mouse. I have not found any tutorials for this kind of UI navigation. In ...
1
vote
2answers
24 views

Select Neighboring X or Y Tiles

I have a randomly generated set of tiles, and I am trying to select neighboring x or y tiles to perform functions on them based on if they are a certain value of tile, like so: ...
1
vote
1answer
59 views

How to draw a sine line renderer from point A to point B

I'm trying to use Line Renderer component to draw a sine wave from point A to B.I'm using the input mouse position. However what I did so far is not working, it just draw the sine wave along the x ...
1
vote
0answers
4 views

Blending Modes in LWRP Particles

I created a particle effect using a material created from Particles/Simple Lit shader with an image of white circle tinted red through Start Color setting. On the left I have Alpha Blending Mode and ...
0
votes
0answers
14 views

GlobalHop SDK is not closing together with an app

I implemented GlobalHop SDK into my app but something seems to be wrong and the SDK is not closing together with the application. I followed manuals and added this: protected void onDestroy() { ... ...
0
votes
0answers
43 views

Slot Game inquiry. How to set the limit times of auto play?

I'm building a slot game, one line with three reel, using CocosCreator and Typescript. There is an already built auto-spin function once start, it will spin the reel infinite times. The spin will ...
0
votes
1answer
46 views

How do you partition a level and create screen transitions out of these partitions?

The levels in Castlevania games, you walk forward and then come to a point on the level where the screen stops scrolling but is not a deadend and there's no door either. They just wanted to transition ...
16
votes
4answers
6k views

How to address players struggling with simple controls?

I have an HTML game I built with Phaser 3, and I can't decide what to do with the controls. I've changed them several times, and now I feel like I've hit a sweet spot between usability and fun. ...
0
votes
1answer
11 views

cursor cannot active and deactive when click ui

I have a player with a third person character controller component. i have a problem with the cursor lock it hide and cannot click the ui button. i already try some coding but error. SORRY Im very2 ...
-1
votes
0answers
55 views

How to make 2D game without “Engine”? [on hold]

Tried Unity, no more Drag N Drop pls, want to Coding with everything, and I like Flash(ActionScript 3) so much Is here anyway to make simple 2D game that can: Support Mac, Windows, Linux, Android &...
0
votes
2answers
46 views

html/ javascript shop

Im new to drop down menus. How can I make a working shop in html/javascript. I have this so far http://prntscr.com/o15oj7 . I want help with the selling of a material part. i know i should use if ...
1
vote
3answers
68 views

What is the purpose of the macro UNITY_EDITOR?

I found on a tips guide in Unity that I can do: #if UNITY_EDITOR do_something() #endif And do_something() will only be ...
-1
votes
2answers
74 views

How do I make a C# script in Unity?

I was watching a tutorial on how to script, and I got stuck making the script in the first place. I use Unity 2019.3.0a5
0
votes
0answers
27 views

jump with chain, unity?

I'm making a jump like in the image, using the hinge join but when making the jump this tour for all sides, and when the character falls I can not make that on the axis of rotation x is 0 and equal in ...
0
votes
1answer
48 views

How do I warp the player?

I'm new to unity, and I have two problems. I need to make an invisible area so that, when touched, the player warps back to the start. I need to make a cube that's when touched, it takes the player ...
0
votes
0answers
20 views

Networking and Timing issue

I have been trying to use the low-level API for UNET and the focus of this problem is this: ...
0
votes
1answer
42 views

license for old vehicle/track

If I want to develop an android racing game set in the 1940-1950, with the real track of that period (that differs from the actual one), both closed and street circuit, and the real car of that period ...
1
vote
1answer
83 views

What is a good algorithm for a stock market simulation?

I am making a text game about investing in the stock market, however I need a better algorithm, as the current simulation just goes up and down randomly. How can I make it so that its a more realistic ...
0
votes
1answer
15 views

custom mesh object orientation is not correct using

I am making a custom mesh with the help of Traingulator script. At runtime, user can click and and generate a point then mesh creation start. Here is the way i am getting user input. ...
0
votes
0answers
24 views

linker command failed with exit code

I tried to create a build for iOS in Xcode but it give an error: ...
-2
votes
1answer
29 views

How can a NamMeshAgent be configured to always look towards its next path position, but never move there?

I'd like to have something like an on-screen panel that appears in the direction that you are supposed to go. The panel is a NamMeshAgent with a speed of 0. I was hoping something like this would ...
0
votes
1answer
49 views

Bullet Physics DebugDraw Unexpected Results

I'm integrating Bullet Physics into my project for collision detection and have just gotten some debug draw functionality to work. However, the results are not what I'm expecting. I have tried to draw ...
0
votes
0answers
9 views

Elements of a widget blueprint do not appear if I click on simulate

I made a widget that contains 2 minimaps and 2 texts related to a character's variables. When I click the play button (Selected Viewport) everything happens fine: Focus where I circled in pink. It ...
0
votes
0answers
18 views

Getting Prefabs gameobjects with tags from folder

I have some problems. When I refreshedd codes or tags on projects. This code does not work. When I rechoose tags again on prefabs, it starts to work again. ...
2
votes
2answers
54 views

With gravity enabled, how do you move a RigidBody forwards at a specific speed?

I have a perfectly smooth cube on top of a perfectly smooth plane. I am applying a forward-force of 1 unit per second, using ...
0
votes
1answer
34 views

How can I change a materials properties in my Unity c# code?

Hello everyone I want to change my materials tiling offset in code, but the only way I found to access it other than drag-dropping to a public field in inspector is to check by name. But I then ...
1
vote
1answer
17 views

How can I automatically pause my timeline at a specific time code?

I want to setup a way that the timeline will pause at a particular time/frame. I have tried this, and it doesn't work: ...
0
votes
0answers
10 views

UV mapping a playing card in Maya for use in Unity (using a SpriteSheet of all the playing cards). One Material or Two?

I am wanting to make a pack of cards in Unity and Maya. I am familiar with UV unwrapping in Maya, but I never used sprite sheet for my models i unwrapped. (They all just fit onto one texture so far). ...
3
votes
2answers
173 views

Unity Round(Circle) Buttons

I have been using unity and C# scripting now for the past 2 or 3 weeks. So yeah i am very new to unity and C#. I wanted to know if there is a way to make a round(circle) button without using the ...
1
vote
1answer
47 views

how to clamp the look at function?

how can i look at a target on 2 axis but clamp the the object's rotation ,to only rotate from -45 to 45 on x and from -60 to 60 on y axis. i used this script to look at target and clamp the rotation, ...
0
votes
0answers
41 views

Is a degree in game development really more beneficial than one from computer science? [duplicate]

I need help in deciding what major to choose (I will graduate high school in a year). I have little to no experience in programming, but I'll use my spare time to learn it. I narrowed down my options ...
-3
votes
0answers
63 views

Anyone want to form a team and make a game? [closed]

The title says it all. Please comment if you are seriously interested in forming a team and developing a game.
2
votes
0answers
41 views

What's the “right way” to open a websocket connection inside WebGL?

The official Unity documentation says that, to run websockets in the WebGL player, you should use this plugin on the Asset Store. Unfortunately, following that link leads to a notice that this asset ...
0
votes
0answers
11 views

How to implement Meshlab's rotation manipulator? [duplicate]

I want to implement a rotation handle/manipulator mechanism that would enable user to rotate a 3D model exactly like Meshlab does. Unfortunately I don't fully understand how does the rotation gizmo ...
1
vote
0answers
49 views

Why projection window is between -1 and 1

Is it a convetion ? What we achieve with this ? I am reading about how the perspective and orthographic matrix is getting calculated and everyone is trying to normalize the homogenous coordinates to [...
0
votes
0answers
33 views

Game Object's Vector3 changing through script without reason

I am trying to do a combine block script. However, I encountered 2 problems: the blocks / the combined mesh isn't showing up anymore when it was, all the blocks where at the same location Even ...
0
votes
1answer
67 views

Predict Time of projectile flight

I am trying to matemathically predict how long will projectile fly until it reach the target. I am trying to implement this formula: t = [V * sin(α) + √(V * sin(α))² + 2 * g * h)] / g where I know ...
0
votes
1answer
29 views

smooth look at only on x and y

i'm using the script down below to make my camera look at mouse x and y position, and it has a limitation for my camera rotation.the problem is the way my camera rotates is not smooth at all.is there ...
0
votes
1answer
37 views

Unity2D: Avoid attack animation looping during combo

I am trying to implement a combo system in my Unity project. I started with a coroutine to call a single attack and it goes relatively smoothly, the problem occurs when I try to modify said coroutine ...
-1
votes
1answer
28 views

Can I use HL2 Assets in my free Godot game? [duplicate]

I couldn't find some good textures for my Godot game, so I am looking forward using Half-Life 2 assets. I have HL2 in my library on Steam. Can I use those assets in my game?
0
votes
0answers
41 views

Game movement in 2D SFML game

I am making simple 2D game, imagine it as 2D Minecraft where you can dig blocks and build other things. Currently I am struggling with movement. I have none experience in game development, but I am ...
0
votes
0answers
46 views

How can I make the screen scroll only when the character is close to the edge?

On the internet, I saw videos and tutorials about screen scrolling. But those only show how to keep the player always in the center of the camera. I want my camera to scroll over the level, following ...
0
votes
0answers
18 views

Reseting a multiplayer scene in UNET, without losing connections

I have a game with only one scene, which has the basic Network Manager HUD. After I click "Host", and a few players join one by one, I want to restart the scene, so the early joiners won't have ...
0
votes
1answer
31 views
1
vote
1answer
18 views

button thumbnail slider effect unity3D

I am trying to make this effect for buttons. i.e the middle one is bigger and is selected. the buttons can be moved left or right by swapping with finger. Does anyone have any idea how to do it?
0
votes
1answer
50 views

can't make my unity character move

so I'm starting with Unity , I followed the john lemon tutorial , and I wanted to apply what I learn on a model on my own coming from blender. Everythings works , animation , rotation , but not ...
0
votes
0answers
8 views

How to organize the highlighting of a 3D object with which contact occurs?

I want to repeat a certain "Select (); - Deselect ();", as shown in the screenshot. Prompt with advice how to implement it or what you need to read to implement this feature. I tried to found ...
0
votes
1answer
51 views
1
vote
0answers
65 views

Why is my openGL rendering faster when I time it with GL_TIME_ELAPSED

I have some code that was rendering too slowly, as in there was a noticeable lag in when updating the screen in response to user input. I tried profiling the CPU side code, but that did not seem to be ...
0
votes
0answers
10 views

Instantiate spawning prefab with weird Z position [closed]

I'm using Instantiate to spawn a game object in unity 2d but it's spawning the prefab in a very low Z positon (-1228.963) so much so the main camera can't even capture it. I can confirm it is ...

15 30 50 per page