Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Ruby's adventure tutorial MASSIVE trouble

Discussion in 'Getting Started' started by ZeroCFH, Apr 7, 2024.

  1. ZeroCFH

    ZeroCFH

    Joined:
    Mar 30, 2024
    Posts:
    8
    Hey
    I am clueless when it comes to scripts (even after the first tutorials), I am at a point where I can only copy the crap I see on their screens, and then it still gives me a CS0111 and I have no clue why where and how.

    If this is the most basic tutorial I am screwed beyond!

    Animations worked but when it came to launch the projectile, S*** hit the fan. Game is not starting.
    If they wanna tell me, this is for absolute beginners, with 85 lines of code, no.....nope....absolutely not.
    Demotivated to the max right now.
    Is the tuturial page bugged or is it me? Anyone?
     

    Attached Files:

  2. pertholdth

    pertholdth

    Joined:
    Feb 28, 2024
    Posts:
    209
    why not do a youtube tutorial
     
  3. ZeroCFH

    ZeroCFH

    Joined:
    Mar 30, 2024
    Posts:
    8
    Same thing, they start like I know C# and when I ask guys who speak C# they are like "oh yeah no its a thing for itself with unity, just because I know C#, doesn't mean I can work with unity". Wtf. I am already tired of it.
    I delete the health, its finding fixedupdate errors. No idea whats going on.
     
  4. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    8,407
    Perhaps start with the Junior programmer pathway: https://learn.unity.com/pathway/junior-programmer

    Get to grips with coding, then you can start to branch out. C# is its own language to, so it can be learnt in isolation if you feel like it'd suit you.
     
    Chubzdoomer likes this.
  5. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    39,388
    It sounds like you may have been sprinting and missed what you were actually doing.

    That won't be useful in the long term as things will only get more baffling as you run faster.

    You not only have to DO the thing, you have to UNDERSTAND the thing you did.

    Similar to walking from point A to point B, whatever you accomplish will be done one small step at a time, each step building upon consolidation of knowledge from previous steps.

    Just like this guy...

    Imphenzia: How Did I Learn To Make Games:

     
  6. ZeroCFH

    ZeroCFH

    Joined:
    Mar 30, 2024
    Posts:
    8
    I do run indeed, but I don't sprint. It feels like they teach me 8 words of chinese and then tell me to
    ("<CHINESEWORDS>")
    How is that teaching? They say "now add launch" and I'm like.....yeah no.

    Just started the Jr Programmer pathway indeed, Carl is explaining everything in videos, watch then do. Could work. I am still not saying its NOT me, maybe programming is just not mine. But I will see how it goes. So far its repeating what I already now BUT the next step is first-script indeed!
     
  7. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    39,388
    Perhaps you have teaching and learning mixed up.

    Just because teaching is attempted does not mean learning is happening.

    Learning is on you.

    Learning is the modification of YOUR behavior as a result of YOUR experience.

    If you have simply read something or watched something, you may not have experienced it.

    Teaching simply presents information to help guide you to experience.

    Good teaching shows you things just beyond your current understanding with clues as to how to arrive there.

    You still need to experience something enough times to have it modify your behavior.

    For something as complicated as game development, this loop will need to be repeated THOUSANDS of times, each step giving you more experience to build upon to modify your behavior.
     
    DrMeatball likes this.
  8. pertholdth

    pertholdth

    Joined:
    Feb 28, 2024
    Posts:
    209
    follow this tutorial for example




    if you cant follow this then maybe you can give it up
     
  9. ZeroCFH

    ZeroCFH

    Joined:
    Mar 30, 2024
    Posts:
    8
    Giving up is no option :<
    I guess you also just have to write scrips over and over again and not just once. Matter of practice.
    Carl in the Jr programmer path is doing it very well! Just my pace!
     
    spiney199 likes this.
  10. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    8,407
    Definitely don't give up!

    Indeed like all hobbies, practice practice practice. I remember a saying by a Poet, "Every poet has a million terrible poems. Best to get them out early." It's true in all hobbies. Right all your terrible code early on so the better code comes sooner.

    It's where I started and I remember it being a good soft landing into coding.
     
  11. ZeroCFH

    ZeroCFH

    Joined:
    Mar 30, 2024
    Posts:
    8
    The main problem I have: Sometimes all { are set...but it still gives me an error. The first challenge got done without major problems, even managed to get the bonus challenge working.

    Def not giving up at all. And this really humbles me. When you see a game with assets you saw somewhere else, its easy to say "Pfffff made with assets" There is so much going on in a game that you don't see.
    All gamers should peak in sometime.
     
  12. Chubzdoomer

    Chubzdoomer

    Joined:
    Sep 27, 2014
    Posts:
    136
    The next time you run into that, share the code with us. It could be something as simple as a missing semicolon, or even an extra/unnecessary semicolon.

    And anytime you post code here, be sure to make use of code tags so that the code's formatting is properly preserved!
     
    spiney199 likes this.
  13. pertholdth

    pertholdth

    Joined:
    Feb 28, 2024
    Posts:
    209
    you can also ask chatgpt for help, at your stage i think it will be really helpful to put in your code and easily get your tiny mistakes pointed out
     
  14. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,709
    Ruby's Adventure is still stuck on Unity 2020.3. You're on Unity 2022.3. Two years is a long time for a game engine and things that were handled one way before may not be handled the same now. You need to either pick a newer tutorial or use 2020.3.

    upload_2024-4-9_20-55-50.png
     
    Last edited: Apr 10, 2024
  15. ZeroCFH

    ZeroCFH

    Joined:
    Mar 30, 2024
    Posts:
    8
    Hm, should the code not still be the same? Its giving me a mistake and its the exact same code.
    I put it aside and right now, I am following the Jr Programmer Path! Might be the better start.
     
  16. POOKSHANK

    POOKSHANK

    Joined:
    Feb 8, 2022
    Posts:
    382
    i think asking chatgpt for help is the worst thing you can do as a beginner, it gives out so much bad advice that a new user might take as gospel and subsequently start coding with bad or overengineered solutions. i've asked chatgpt about shaders, and it consistently tries to use matrices that simply don't exist.
     
  17. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,709
    It very much depends on the code in question. Some of Unity's newer systems have shifted a fair bit in three years.
     
  18. pertholdth

    pertholdth

    Joined:
    Feb 28, 2024
    Posts:
    209
    i think you are asking too hard questions, what we are talking about here are syntax errors

    i have my own frustrations with chatgpt but it wasnt from bad syntax

    most of chatgpts delusions will just lead you to nowhere its not like you magically become bad, it just sends you on wild goose chases or gives you code that doesnt work
     
  19. POOKSHANK

    POOKSHANK

    Joined:
    Feb 8, 2022
    Posts:
    382

    that's the point i'm trying to make friend, there are better resources to use that won't lead you astray.
     
  20. ZeroCFH

    ZeroCFH

    Joined:
    Mar 30, 2024
    Posts:
    8
    Understanding what you are actually doing is the best way imo.