• 95 Posts
  • 127 Comments
Joined 2 years ago
cake
Cake day: July 17th, 2023

help-circle
rss

















  • I get people that make tutorials for “content” even if they suck at their job, but I CANNOT get over video tutorials where someone gets completely lost and doesn’t cut it out of the video.

    Anyways we’ll go here-oh there’s an error. Uhm. Maybe we can do this? That didn’t work. Maybe that? Hang on, maybe it’s in preferences? Oh, it’s in tools, no, wait, oh I just wrote the name wrong

    Would it kill you to edit that out and stop wasting my time?!


  • It’s not a thing and I totally agree it should exist, there’s a proposal for it on GitHub.

    If you want to handle different types, the right way of doing it is giving your parameter a generic type then checking what it is in the function.

    func _ready():
        handle_stuff(10)
        handle_stuff("Hello")
    
    func handle_stuff(x: Variant):
        if x is int:
            print("%d is an integer" % x)
        elif x is String:
            print("%s is a string" % x)
    

    This prints 10 is an integer and Hello is a string.

    If you really, really need to have a variable amount of arguments in your function, you can pass an array. It’s pretty inefficient but you can get away with it.

    func handle_stuff(stuff: Array):
        for x: Variant in stuff:
            if x is int:
                print("%d is an integer" % x)
            elif x is String:
                print("%s is a string" % x)
    

    Then you can pass [10, 20, 30] into it or something. It’s a useful trick.



  • I don’t work in hiring, but I do enjoy interactive portfolios. That said, I think this could get frustrating really quickly for people who just want a quick overview of who you are, what you work on, how to contact you, etc… Recruiters have hundreds of applications to sift through, they might not have the patience to wade through dialogue. Maybe keep important information easy to access and make the rest a fun game for those who enjoy it.

    Anyway, this looks great and I love the voice acting!

    I’d recommend making the world smaller and highlighting NPCs so they wouldn’t get lost or wonder what to do. Also be aware that a lot of people browse on phones or tablets, so this needs to play nice with portrait mode as well.



  • I use Joplin. It’s fairly simple and very comparable to Evernote if you’ve ever used that, but it’s perfect for my needs.

    I used LogSeq before, it’s very similar to Obsidian, the big difference being that it’s open source. It’s got a ton of features and the built-in whiteboard is actually really good, but I found it a bit overkill for my simple note taking.

    • Logseq also makes each line start with a bulleted list which quickly made me go insane