Quantcast
Channel: Questions in topic: "item"
Browsing latest articles
Browse All 274 View Live
↧

SpeedBoost not working,My speedBoostTaken variable isn't working, why?

,So i'm making a small tribute game to the world's hardest game and I'm trying to make a speedBoost item, I've made a bool that becomes true if the item is taken and destroys the speedBoost item, the...

View Article


how can i fix this error CS7036? its an issue comunicating a callback from a...

Hello guys, I’m doing a stock list that fill itself with the data of the tables in a server (like an inventory system for a mmorpg). for that, I’m using a Web.cs that call the info from a php file and...

View Article


the unable stack item(equip) change to stack item(consume) and amount increase.

In my inventory, there are stackable and unable-stack items. When I pick unable stack item first and then stackable item, first one change to stackable item and amount increase,I have stackable item...

View Article

How to combine items in inventory with words

I am making a game where you type words to move or get stuff and put it on your inventory . but I do not know how to combine the two items i have by typing the word like for example. "Poor cereal in...

View Article

How to use modular parts of Synty Modular fantasy hero character as...

Hello everyone, I'm making a RPG game using bunch of asset from Synty studios, such as Modular fantasy hero characters. For many days, i'm trying to figured out how to include all the modular parts in...

View Article


How To keep items in inventory between changing Scenes

So my items in the inventory are destroyed when loading a new scene, is there anyways to prevent this ? Here my Item script: using UnityEngine; [CreateAssetMenu(fileName ="Newitems",menuName...

View Article

How can define item type in my item pickup system

Hi, First let me explain what is a item: An item is a prefab that player can get it in the game and then some value add to his/her health, score,... . Here is my interface and class (that is an item)...

View Article

Adding an empty gameobject to my rigged hands break the movement

Hello guys! I am testing random things in a Unity 3d project. I'm currently trying to equip an object in my player's hands. I made them in Blender and I rigged them also in blender. I created the...

View Article


Inventory script help and how to remove items from inventory

Hi guys, I found this inventory script on GitHub and for the most part, it's been working fine and saving me from having to code a script myself: [https://github.com/nzhul/inventory-system][1] There...

View Article


Item/Buff Selection UI

Hi. I'm working on a basic 2D platform game like Deadcells. After you beat the boss i want to display a buff selection window which is contains 3 random buffs. Player will choose one of them. These 3...

View Article

Unity 2D Grappling hook (That Does NOT use the mouse)

I am trying to create a game where the main character uses a grappling hook that is shot at a angle, and can't be aimed. I'm thinking of the grappling hook from the game give up robot ([LINK TO...

View Article

How do I delete a specific prefab clone ?

My itemspawner is spawning a Cube Prefab (my Item) at a 5 sec intervall. Each Cube has a sphere collider wich is a trigger. In the script i gave each cube a value of 1. (the Item amount) I want to...

View Article

Managing Item Types

I have an Inventory System, where only certain types of Items should be able to be filled into predetermined Slots. For the first basic Prototype I was using an ItemType : Scriptable Object, of which...

View Article


how to detect wich item i have in my inevntory

i found a video on youtube wich showed me how to make a inventory system. I made some changes but now i dont understand how to check wich items are in my inventory. In my ItemObj scrip i tried the...

View Article

Resources folder items not in the build

Hi I made some images and audio-mixers in resources folder to use later. As in the title, after the build. My items not in the folder and some of my scripts are giving error, because of that. How can I...

View Article


Scroll Rect item selection one by one with arrow keys.

Hi there, I'm trying to accomplish something like this: ---------- ![alt text][1] ---------- The idea is to have a list of objects in a Scroll Rect and whenever the player clicks on an arrow key (up or...

View Article

List limits element size

I have created a list for item database but even if i added a new item, list doesnt show the rest of the item except 2 elemets. public List itemDatabase = new List(); public Sprite[] spriteBox = new...

View Article


Selecting a variable to modify from a ScriptableObject?

Hey, I have a system that allows the player to collect items to improve their stats. Each item is a ScriptableObject with a couple of fields: name, description, and icon. I also want to be able to...

View Article

How do I make a item system with ScriptableObjects where different items can...

Okay so I have a ScriptableObject item system (items can be consumables, weapons, etc), The item ScriptableObject contains data like itemType, icon, damage, durability etc... I have inventory slot...

View Article

I want to know how to drop my item with a keyboard button

I want to be able to remove the items from my inventory when I push Q, this is the code for picking up the items public class PlayerInventory : MonoBehaviour { public InventoryObject inventory; public...

View Article

Cannot convert from 'int' to 'PlayFab.ClientModels.ItemInstance'

I understand why I'm getting this error, but I'm not sure exactly how to fix it. ---------- I'm making a store page in my game. It checks PlayFab for all the info of the item catalog and gets the...

View Article


How can I access the item wizard?,how can I access the item wizard?

Hello, I'm currently in the process of programming an inventory where you have to access the Item wizard, but I don't have the path Assets -> item -> item wizard. It just doesn't exist, where can...

View Article


Call function based off enum state?

So im working on a game that has the player use a variety of items, all tied to the same 3 keys (i.e. if itemKey1 has the greatsword state, then pressing itemKey1 will use the greatsword). at the...

View Article

Item is missing in inventory slot after i pick up and delete the item. C#

Helloo, I'm working on a inventory for my game, and i can pick up items that will be put in the inventory. After i pick it up i see the image in the inv, but after deleting the object from the scene i...

View Article

Need help with the pickup mechanic!

This is the script:` { public static Item Instance; public GameObject item; public GameObject ItemHandSlot; public Camera mainCam; public static bool isPickedUp; public bool isPicked; public float...

View Article


How does Skinned Mesh Renderer exactly works? Problems with changing player...

Hi, So I have this MMORPG project and I'm using a character from the Brackeys RPG tutorial**(picture)** I have a blend file for it for adding items to the rig and I'm using my own Animation Controller...

View Article

Item limit for my basket

Hello I'm a beginner in game dev and I'm trying to make a simple shopping game where players can only add 10 items to their basket but I don't know how to add a limit to the capacity in my basket in...

View Article

Removing item from inventory not updating correct based on order

I'm trying to do a inventory system, the way it works is that I have an empty gamebject that holds in a list all items that I have collected and on my UI, I have a object that holds 20 prefabs that...

View Article

Weapon always on top

I need my weapon to always be on top but still get the correct shadows. I already have a separate camera rendering the item and another for everything else but the item doesn't get any of the shadows...

View Article



Items looking smashed when crounching

Hey guys! I'm coding my player's crouching and my player is holding an object (which is a child). When he crouches the object looks smashed as the code works by changing the player's Y scale. Is there...

View Article
Browsing latest articles
Browse All 274 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>