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

help-circle
  • That’s… Kind of insane! I’ve been following Bitcraft every now since it got announced but I never expected them to go to this direction. The blog post makes sense but I’m curious what license they’re going to use. It could be a legal minefield to try and stop people from stealing the game, re-branding it, then profiting off of it.

    It’ll be really curious to see how this plays out because there isn’t really any major games that went open source, much less one that’s going to be actively monetized like Bitcraft.

    Our focus will be on a smooth and successful Early Access launch on Steam, which is our highest priority. Only once we are happy with the state of the game will we start the process of open sourcing BitCraft.

    Anyway, it sounds like open-sourcing the game might take a while. I hope early access works out for them.













  • If your goal is to cash in on the blog, your best bet aside from ads is to look for sponsorship opportunities. You can look into services that align with your user’s interests and contact them to set up affiliate links for you (like how any decently-popular YouTube channel has a sponsored segment).

    This can be in the form of an ad in the header/footer of your blog, an ad shown on the side of the screen, or affiliate links you put in your posts. If you’re going to casually recommend your affiliates, I think you’re legally required to add a disclaimer that it’s an ad, lots of blogs do this in a small text at the top of the post.

    Taking a quick look at your blog, you can probably start shooting emails to popular vpn providers and ask if they’re interested in getting sponsored here.




















  • 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.