C# For Terraria Modding - Paths & Variables (Part 1)

Поділитися
Вставка
  • Опубліковано 29 гру 2024

КОМЕНТАРІ • 27

  • @Fudgaroni
    @Fudgaroni Рік тому +20

    "welcome back to the first episode" *instantly in love with the channel*

    • @zulqernein
      @zulqernein 4 місяці тому

      This actually works when you're revisiting the video

  • @seaseon7994
    @seaseon7994 2 роки тому +17

    I literally was watching all of the previous terraria coding vids. Thank you so much for making these. I’ve been trying to build a mod and no one has update to date videos.

  • @aDragonslayer
    @aDragonslayer 2 роки тому +5

    I am working on a mod currently and this was the only modding tutorial i could find. Thank you so much.

  • @xyrohh
    @xyrohh 2 роки тому +3

    Finally what I was waiting for!

  • @darkmono112gaming
    @darkmono112gaming 2 роки тому +2

    Thank you for making the best modding tutorials I've ever seen!!

  • @UnkRed1
    @UnkRed1 Рік тому

    This is exactly what I was looking for

  • @willkamechehe1496
    @willkamechehe1496 2 роки тому +6

    Make sure to name your variables correctly. For example, there are 2 ways of doing things properly:
    Let's say I need an integer named "myvar"
    First way: int myVar
    Second way: my_var.
    The first method consists in always initializing your variable like this: First letter is always in lower case then everyother word needs to start with an upper case. Ex: myIntegerVariable. No space.
    Second method, everything is in lower case but every word is separated with an underscore " _ ".
    Have fun!

    • @RiptideDev_
      @RiptideDev_  2 роки тому +2

      Yup! I prefer camelCase as I use it in all my projects, so I use that (;

    • @chillanimations1761
      @chillanimations1761 2 роки тому

      The first style is called CamelCase, used typically in JS, C/C++, C#
      The second style is called snake_case, used most often in Python
      Both of these styles are perfectly valid and are used interchangeably, but there are some standards in languages for consistency.

    • @willkamechehe1496
      @willkamechehe1496 2 роки тому

      @@chillanimations1761 exatcly. Didnt know the word that defines them. And for global variable it's all uppercase.

  • @Orata-lx6bd
    @Orata-lx6bd 5 місяців тому

    bruh love ya channel❤

  • @guizu902
    @guizu902 2 роки тому

    I cant wait for this

  • @Beehivve
    @Beehivve 2 роки тому +2

    I have a problem where anytime I try to open the .csproj with VS 2022, it tells me that I dont have a project property provider for "Persistence = ProjectFileWithInterceptionViaSnapshot". Does anyone know how to fix that?

    • @Zaeris312
      @Zaeris312 2 роки тому

      yeah, same thing for me

  • @yeetersnitzel6351
    @yeetersnitzel6351 2 роки тому

    Thanks a lot man this is gonna help bro.

  • @Limestoneowl
    @Limestoneowl 2 роки тому +1

    I want a whip tutorial that would be awesome

  • @ArylideL
    @ArylideL 5 місяців тому

    Shoulda stayed awake in my C# class

  • @thunderplus1
    @thunderplus1 2 роки тому

    ty for making this

  • @joaquinpauer7941
    @joaquinpauer7941 2 місяці тому

    thank you so much

  • @kuba159cz2
    @kuba159cz2 2 роки тому +1

    Wait so can i have a using for a mod to create an addon?

  • @opticsnorlyx5184
    @opticsnorlyx5184 2 роки тому

    Amazing

  • @jofi420
    @jofi420 2 роки тому

    epic

  • @mr_m4c4r0n_9
    @mr_m4c4r0n_9 2 роки тому

    I lov u

  • @DellDex
    @DellDex 2 роки тому +1

    Yooo