Skip to main content

Questions tagged [scripting]

A type of programming, often meant to be easier to learn than more "traditional" programming. Scripting is often used when performance is less important than ease of use. Examples of scripting languages are: Javascript, Lua, Perl, Python, and PHP. Scripting languages are often interpreted instead of compiled, and thus they can be executed directly without generating machine code.

0 votes
1 answer
111 views

I use Unity and the player controller in the game is acting strangely. It has a Character Controller but no Rigidbody. I use CharacterController.Move to make him ...
Achie1's user avatar
  • 181
1 vote
1 answer
108 views

I’m using Unity’s built-in Leaderboards for my game. I want to be able to change the metadata attached to a player so they can change teams, but ...
armorhide406's user avatar
0 votes
1 answer
210 views

I've been making a small experience within Roblox Studio recently and wanted to add crouching into the game. I used my (already functioning) code for sprinting and modified it to make a crouch button ...
FlintandStone's user avatar
1 vote
0 answers
44 views

Im working on a game inspired by Buckshot Roulette but medieval themed, in Buckshot Roulette the weapon can be picked up by the player, who can then point it at themselves or the "dealer", ...
Ulver04's user avatar
  • 11
0 votes
1 answer
484 views

I am a rookie at Lua and Roblox Studio in general. I am attempting an easy and reasonably simple tutorial on how to make a pretty good looking tycoon game. In my "Core" script, I am ...
Bubba the Gamer's user avatar
0 votes
0 answers
161 views

I'm using Camera.cullingMask to only render objects that belong to specific layers. However, I can't figure out how to render two different layers on the same frame and store them in separate render ...
Nikhil Nair's user avatar
1 vote
0 answers
77 views

Hi I've installed NuGetForUnity that is a Unity package to my Unity game project from the url: https://github.com/GlitchEnzo/NuGetForUnity/tree/master and there are so many NuGet packages are ...
1 JustOnly 1's user avatar
0 votes
1 answer
278 views

I want to make some new Recipes with CraftTweaker, which uses machines from the Create mod (I'm using Life In The Village 3), but I have the following error in my scripts: ...
Lucas Plt's user avatar
1 vote
1 answer
1k views

I want to have a serialized field with an array of game objects for each item in a global enum, like this: public enum MyEnum { Item1, Item2, Item3 } ...
Felox's user avatar
  • 77
3 votes
2 answers
948 views

I've been developing my own game engine and I'm kind of stuck in the process of scripting. I decided to use C++, since my game engine is mainly written in C++. (and don't suggest me other languages as ...
Anuhas's user avatar
  • 31
2 votes
3 answers
5k views

My game's resolution is 1920 x 1080, and I have a background sprite that is also 1920 x 1080. I have made the background sprite a child of my MainCamera & dragged it further back on the Z-axis so ...
PayasoPrince's user avatar
0 votes
0 answers
109 views

I am making waterwaves in shadergraph and i want to make a boat that will bop around on those waves, but to do that i need to get those vertices back into the CPU. I am unable to replicate those waves ...
BinaryPastaChef's user avatar
-1 votes
1 answer
555 views

Im create TextMeshPro from "Create -> 3D Object ->Text - TextMeshPro" How to receive mouse button click event for TextMeshPro? I tried via Physics.Raycast/Collider but it doesn't work. ...
fredwriter's user avatar
0 votes
1 answer
2k views

I have a lot of duplicated objects, and I need in editor, not in the game, remove specific (18) material slot. Remove not material in slot 18, but remove slot 18. Manually, by hands, it can be done ...
Stdugnd4ikbd's user avatar
0 votes
0 answers
146 views

Hey all I am trying to make a scene where the player is experiencing a plane crash however when I try and move the camera with transform. Translate the camera is not moving. The plane moves along as ...
Doug Ray's user avatar
  • 143

15 30 50 per page
1
2 3 4 5
19