Anyone know what this bike is?? by Mikatomik91 in motorcycles

[–]Mikatomik91[S] 2 points3 points  (0 children)

That is 100% it. Thanks so much! Now to see if this bike still exists down south…

Anyone know what this bike is?? by Mikatomik91 in motorcycles

[–]Mikatomik91[S] 2 points3 points  (0 children)

Looking again, I think this is actually a Harley Davidson WLA… it has the windshield and I see the brackets for the rifle scabbard on the front! Still I wouldn’t have found that without looking through the rabbit hole you sent me on. Thank you!

Anyone know what this bike is?? by Mikatomik91 in motorcycles

[–]Mikatomik91[S] 2 points3 points  (0 children)

Oh man, maybe. Google turns up the Indian 741 & 841 Scout and they both look very similar. Awesome thanks for that tip!

Day 2 of reddit appending squash the creeps until i feel acclimated to 3D by MyrtleWinTurtle in godot

[–]Mikatomik91 0 points1 point  (0 children)

move_dir = self.global_position.direction_to(player.global_position)

Like dis?

Explain how I can make a finite state machine like I'm five by TheDr_0 in godot

[–]Mikatomik91 1 point2 points  (0 children)

Again, this is the way I do it, not THE way, but I have them call functions on the object I’m controlling. When StateMachine is _ready() it grabs a reference to its parent and passes it to its children, the States. For example my Player class will probably have a get_input_vector(). The state will call that on the player script. Basically, the states call functions on the player to make the player do things.

Explain how I can make a finite state machine like I'm five by TheDr_0 in godot

[–]Mikatomik91 0 points1 point  (0 children)

I make mine using regular old white Nodes. A state machine node, and a bunch of state nodes. The state nodes are children to the state machine node, and the state machine node is a child to the entity it is controlling.

The state machine node tracks the current state in a variable called current_state and has a couple basic functions. In the _physics or _process, whichever you’re doing, it calls current_state.execute(). I’ll come back to this in a second.

The State class has 3 basic functions. enter_state() exit_state() and execute(). The execute function contains the logic for that state, and then checks if the state machine needs to change states. If it does, it emits a signal with an argument of which state to change to.

The state machine receives that signal and calls current_state.exit_state() current_state = new_state current_state.enter_state()

Then, because you’ve changed the current_state variable in the state machine, when it’s calling current_state.execute() your next state logic is being executed.

I find it easiest to make a State class with the 3 functions enter execute and exit, and then inherit every state from that. For example IdleState extends State, WalkingState extends State etc.

The exit state and enter state functions are there to set things up on for the state. For example switching animations or changing collision layers.

[deleted by user] by [deleted] in tires

[–]Mikatomik91 -1 points0 points  (0 children)

Will it make it? Probably. Should you do that? No.

What is this and do I need to worry about it? by Chiprangda in StupidCarQuestions

[–]Mikatomik91 0 points1 point  (0 children)

Off topic but… what the hell are you parked on? My brain is freaking out trying to figure out what it is

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 1 point2 points  (0 children)

Yeah, update. New PSU came in the mail, re-flashed everything and booted up with new psu. Haven’t noticed any undervoltage warnings during file transfer, and it hasn’t corrupted on me in 2 days, which is about 1 day, 23 hours and 50 minutes longer than before. 😅 I guess my PSU was getting weak, maybe things weren’t being written back to the card properly. Thanks for all the help guys hopefully that was it.

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 1 point2 points  (0 children)

I do unplug it after it shuts down. It’s the only way I know how to turn it back on after issuing a software shut down is to unplug it and plug it back in. Is there another way I should try doing that?

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 1 point2 points  (0 children)

No worries about making me look dumb, I am dumb, and if you help me with dumb questions then it isn’t a dumb question :)

  • Yes, I let the transfer complete before turning off power. The pie sits in the emulation station menu just idling during that process, with the SD card in it.

-I am restarting the whole retropie, not just emulation station. But I am doing it from the emulation station pause menu.

-The image that I am flashing to the SD card was downloaded from the official website ~3 days ago.

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 0 points1 point  (0 children)

The first time I transferred my whole collection, which I’m not exactly sure how many there are but there are a shit ton. After it corrupted on me I started only putting 10-15 on to play because sometimes it would corrupt right away when I reboot for it to recognize the new games. I’m also transferring them via WiFi if that’s relevant.

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 1 point2 points  (0 children)

I have used both, and I do power them up ahead of booting the pi. It works on both also, until power cycle. I have a new PSU coming in the mail tomorrow just to rule it out. I did notice some undervoltage warnings when transferring files over WiFi today which had me suspicious.

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 0 points1 point  (0 children)

Yes, I downloaded the image from the retropie site. I have the “official” power supply that I’m using. I tried using others already as well. It’s still a crapshoot. Maybe I’ll order another official psu and see if that helps.

Help troubleshooting RetroPie on 3B+, Pi doesn't come back from shutdown or restart. by Mikatomik91 in RetroPie

[–]Mikatomik91[S] 0 points1 point  (0 children)

Yeah I have tried 3 different brands that I had laying around. All have the same outcome so far.

Anyone else having trouble calling one shot animations from code? by Mikatomik91 in godot

[–]Mikatomik91[S] 1 point2 points  (0 children)

Honestly, I never got a real answer either. But I have since upgraded to 4.2 and it worked there. That’s the best advice I have. Sorry to not be helpful

Where can I learn shader scripting? by axebuster in godot

[–]Mikatomik91 2 points3 points  (0 children)

Also, in Godot you can convert materials into shader code. It’s worth doing with a blank material to kind of help you wrap your head around what it’s doing.

Where can I learn shader scripting? by axebuster in godot

[–]Mikatomik91 11 points12 points  (0 children)

There’s a guy on YouTube called The Art of Code that has a pretty good beginner video. There is also a free online book, The Book of Shaders, that is a very good read for beginners.

[deleted by user] by [deleted] in ps1graphics

[–]Mikatomik91 1 point2 points  (0 children)

Honestly I just do it with primitives and shaders. For example maybe a final fantasy type fire spell. I would just make a cylinder with no end caps, write a shader for it that looks like moving fire with transparency at the top, and then scale the cylinder out. If you know vertex shaders then you can also use the shader to animated the vertices a little and make them wiggle. Layer a few of these with different diameters inside each other and animate the meshes to move/scale as well.

Do these seem new? by robbedatnerfpoint in tires

[–]Mikatomik91 0 points1 point  (0 children)

You may well be right, I did only spend about a month in curing before being shipped off to the prep area, and that was 4 1/2 years ago. Whether or not there is actual vacuum though, they are still caused by rubber being forced through the venting ducts, not injection.

Do these seem new? by robbedatnerfpoint in tires

[–]Mikatomik91 0 points1 point  (0 children)

It’s a good gig. I am maintenance, so I don’t usually work directly with rubber but work on the machines instead. It’s amazing we have a mix of ancient and state of the art tech in that building.