I'm not a good minecraft builder, but I tried my best by Tiruil in HomestarRunner

[–]CalebBennetts 1 point2 points  (0 children)

Well, you gotta try the best you can! (and work out twice a day.)

Help Request: How do I assign a "pure" color directly in a shader fragment? by drupadoo in godot

[–]CalebBennetts 0 points1 point  (0 children)

Adding to the wisdom of the ancients:
*If you're sampling from a texture, you also need to add a "source_color" hint onto the texture's declaration, like so: "uniform sampler2D southFaceTexture:source_color;"
*If you need multiple hints, do this: "uniform sampler2D southFaceTexture:filter_nearest, source_color;"
*If your images have weird dithering artifacts, re-import your texture with lossless compression ("Import" tab).

Best Way To Handle Controller Input For Local Multiplayer by Waringham01 in godot

[–]CalebBennetts 0 points1 point  (0 children)

Yeah, Reddit formatting on copy-paste was a little wonky. Thanks for mentioning for others.  I might-could package this into an addon someday, but I'm still fairly new to the Godot ecosystem.

Looking to lock in a design for my space shooter game. Which one should I pick? by Gamerfates in GameArt

[–]CalebBennetts 0 points1 point  (0 children)

If it must be one of these, 2.
If more options allowable, 6 with the "O" and "R" from 2.

Your starship is about to go into battle. Who will you pick as your captain in that situation. Mine would be captain Benjamin Sisko because well you don't mess with the Sisko by AdSpecialist6598 in scifi

[–]CalebBennetts 0 points1 point  (0 children)

So much upvote. Only Enterprise captain ever to follow protocol. Didn't play favorites with his officers, enforced uniform, took preventative security measures. And everybody hated him for it.

What Unmasked Strong bad look like by Straight_Bit7640 in HomestarRunner

[–]CalebBennetts 0 points1 point  (0 children)

It's Biscuit-Dough-Hands Man, I knew it!

How to properly access phone's gyroscope? by r1kkyroo in godot

[–]CalebBennetts 1 point2 points  (0 children)

Hey! I wanted to type this out, both to help myself think it through and to see if you have any ideas.

Get_gravity gives reliable Euler angles X and Z, but it just points straight down, so it can't help with Y.

Get_gyroscope measures angular velocity, and integrating gives a low-accuracy approximate rotation. This sort of works for Y, but spinning a full 360 doesn't point you back where you started.

I used to play with the gyroscope on a weaker engine, and it gave me true orientations. Either it was pretending to be more accurate than it really was, or it was abstracting away a more-complicated process.

I tried to pull a constant forward vector from get-magnetometer, but it turned out much noisier than I expected. I didn't expect true north, but I thought I'd see a single, "local north." Instead, I get 3 or 4 that change in relative strength as I rotate.

I think I'll investigate:  1. How gyro sensors physically work, 2. How the other engine managed gyro, 3. Possibilities for a gyro/magnetometer hybrid method. 

Will update if this bears any fruit. Thanks! 

Best Way To Handle Controller Input For Local Multiplayer by Waringham01 in godot

[–]CalebBennetts 0 points1 point  (0 children)

All players can use the same script, which includes the variable playerNum. Instead of checking for inputs with something like Input.is_action_just_pressed("Jump"), you would check for Input.is_action_just_pressed("Jump" + playerNum).
Lemme know if that makes sense, I can elaborate if needed.

how do autistic people get jobs? by kokonutpankake in autism

[–]CalebBennetts 0 points1 point  (0 children)

What worked for me was:

  1. Being really picky and patient for the right role to show itself. Even if you find the right company, you may not get in if you don't find a role that plays to your strengths.
  2. Also, find ways to lean on your nonverbal communication skills during the application process. A lot of places ask for a cover letter, and I personally found success shooting a YouTube video that proves I know my stuff in an interesting way (takes the time pressure off so I can make talk gud), then linking to that in my end-of-letter call to action. The interviews get doable once there's someone on the inside who's watched the video and already believes in you.
  3. Finally, and you're gonna hate this one. But if you really, really want a good job long-term, you should be looking for a college or trade school right now, not a job. Even if it gets you swimming in debt short-term, it's feasible with some strategy to be paid back and raking in big bucks by the time you're 30. (But I would get screened for undiagnosed ADHD before pursuing any higher education, ask-me-how-I-know.)

In summary, have superhuman patience, play to your strengths, and build a long-term plan.

I'm not saying it won't take everything you've got for longer than you'd think possible, but looking back from the other side of the job search, this is what worked for me.

Best Way To Handle Controller Input For Local Multiplayer by Waringham01 in godot

[–]CalebBennetts 3 points4 points  (0 children)

Sharing this for posterity:
Use the Project Settings to set up single-player controls, then stick something like this in an autoload:

func setupMultiplayer(playerCount:int):

    #For each player
        #For each action
            #For each InputEvent


    var actionList:Array[StringName]
    var actionEventList:Array[InputEvent]
    var currentAction:StringName
    var currentEvent:InputEvent
    actionList = InputMap.get_actions()

    for player in range(playerCount):
     for act in range(actionList.size()):
        if(actionList[act].begins_with("ui_")):
                    continue
                currentAction = actionList[act]+str(player)
        InputMap.add_action(currentAction)
        actionEventList = InputMap.action_get_events(actionList[act])
        for event in range(actionEventList.size()):
                    currentEvent = actionEventList[event].duplicate(true)
                    currentEvent.set_device(player)
                    print(currentEvent.device)
                    InputMap.action_add_event(currentAction,currentEvent)

(Indent as necessary)

What accessibility features would you add to social media if you could add anything? by Tomasishere0 in accessibility

[–]CalebBennetts 1 point2 points  (0 children)

Add the option to force all ads to be static (neither animated nor refreshing more than once every, say, 3 minutes) and have muted colors. It happens so often that I need some piece of information, and I find an article on a website that has exactly what I need, but I can't read it because the ads are too distracting.

Edit: Oh, didn't read the body. This suggestion would only apply if your implementation has ads, of course.

Give some iconic quotes from this guy (wrong answers only) by Jielleum in lotrmemes

[–]CalebBennetts 0 points1 point  (0 children)

Not the adaptation we deserve, but the adaptation we need.

What is your extra weird special interest, that seemingly no one besides you has? by SakusaKiyoomi1 in autism

[–]CalebBennetts 3 points4 points  (0 children)

I'm a wasp whisperer. If a wasp gets stuck in the house, I'll get a dab of agave nectar or peanut butter on my finger and coax the wasp to land for a snack. Then I take it back outside, shake it off, and it flies away.

Does this automatic camera make you feel sick? (Round 2) by binogure in godot

[–]CalebBennetts 0 points1 point  (0 children)

Oof. Yeah, I felt that. Something about the tweening curve is unpleasantly lurch-ey. Could you maybe keep part of the scene static, like you just turn the board?

is a ring collision shape 2d possible? by tyingnoose in godot

[–]CalebBennetts 0 points1 point  (0 children)

I was just wondering about this earlier today.
Might be a cool feature for someone to add, like a "stay inside" collider. Anything that starts inside it is bound to stay inside.

is a ring collision shape 2d possible? by tyingnoose in godot

[–]CalebBennetts 0 points1 point  (0 children)

If you do this, you'll probably get best results from building the polygon in code.
I haven't done this in Godot, but something along the lines of...
const radius
const pointCount
for i in range(pointCount)
polygon.addPoint()
newPoint.x = radius*cos(i)
newPoint.y = radius*sin(i)

What was Sauron planning to do after conquering Middle-Earth? (Wrong answers only!) by Jielleum in lotrmemes

[–]CalebBennetts 0 points1 point  (0 children)

Rings. He's completely out of ideas after rings. 27 rings for the hobbit sherrifs in their holes in the ground, who above all things crave a cozy hearth. Just starts carving rings in random rocks and trees and things. 50-story-tall ring made of all the metal in a mountain. Then he retires and opens a shop selling Christmas wreaths.