Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

How to *really* make a new item

A Tutorial for Baldi's Basics

No ads for members. Membership is 100% free. Sign up!
Hello, I haven't made a tutorial on a month so i've decided to come back to it. Also kind of since im close to 2.5k points by the time i'm making this.

Step 1: Make your texture, it needs to b e 64x64. Save it when you're done as PNG

Step 2: Drag and Drop it into the Project hierachy so you can see it (drop it into a new folder or Texture2D)

Step 3: Click on the image and then set the texture type to a Sprite (2d and UI) 

Step 4: Copy one of the pickup item and paste it and name it your own, it prefered for it to always start with "Pickup_" and then your item name.

Step 5: Open Visual Studio go to the PickupScript and then copy of the if statements and then when pasting it change the "Pickup_" to your object name (ex. if your new item was called "Pickup_BearTrap then you put the "raycastHit.transform.name" to that)
and also put the "this.gc.CollectItem(9) to 10. It'll set your new item's id to that

Step 6: Go to new item's gameobject and in the child sprite, select/drag your item's sprite into the Sprite Renderer component

Step 7: In the gamecontroller script go to the "item Textures variable" and change the array amount to 10

Step 8: Now in the Unity Editor go to the GameController object and then in the GameControllerScript component in the "Item Textures" variable, change the Size to 10, and in Element 9 insert the Texture

Step 9: Now in the GameControllerScript, in the UseItem() void copy of the if statements and that if where you make the code for your item! Use this template code to help you
if (this.item[this.itemSelected] == 10)
{

}

And that's it, enjoy your new item
Sign up to access this!
  • MissingTextureMan101 avatar
    MissingTextureMan101 username pic Joined 1y ago
    Baldi Manager
    Texture Loaded
    Ruler Productions Flag Affiliation: Ruler Productions
    2,994 points Ranked 19783rd
    20 medals 1 legendary 5 rare
    • 2019 Top Contributor Medal icon
    • 10 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • Received thanks 50 times Medal icon
    • Reached 50 subscribers Medal icon
    • Achieved Game Manager clearance Medal icon
    MissingTextureMan101 avatar
    MissingTextureMan101
    Ruler Productions Flag
    Affiliation
    Ruler Productions
    access_time 23d
    The texture does not have to be 64x64, just a square aspect ratio, so as long as the width and height are the same number, it should work fine.
     avatar
    URL to post:
  • Debugscoped avatar
    Debugscoped username pic Joined 1y ago
    lose
    Moldy Studios Flag Affiliation: Moldy Studios
    525 points Ranked 45312th
    11 medals 2 rare
    • Submitted 20 Gamefiles Medal icon
    • Returned 1000 times Medal icon
    • Submitted 5 Gamefiles Medal icon
    • Returned 100 times Medal icon
    • One month a member Medal icon
    • Submission featured Medal icon
    Debugscoped avatar
    Debugscoped
    Moldy Studios Flag
    Affiliation
    Moldy Studios
    access_time 24d
    I can collect my item and the bully can take the item and the item's name shows but i can't seem to use it.
    Hiiiiiiiiiiii avatar
    Mantra
    Hiiiiiiiiiiii
    URL to post:
  • baldio99 avatar
    baldio99 username pic Joined 6mo ago
    99 is off site!
    99 Mods Studio! Flag Affiliation: 99 Mods Studio!
    199 points Ranked 56559th
    baldio99 avatar
    baldio99
    99 Mods Studio! Flag
    Affiliation
    99 Mods Studio!
    access_time 1mo
    THX
    (I love being a beta tester!) avatar
    Mantra
    (I love being a beta tester!)
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Special Thanks
Someone

Submitter

RealT5mpler avatar
RealT5mpler Joined 8mo ago
Not on right ok
376 points Ranked 48605th
15 medals 3 rare
  • Returned 1000 times Medal icon
  • 25 posts awarded Exemplary Feedback Medal icon
  • Submitted 15 Tutorials Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
RealT5mpler
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Intermediate

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 2
  • 1.0k
  • 10
  • 1mo
  • 1mo

More from Submitter

WiPs by Submitter

More Decompile Tutorials