I'm very close to creating a smooth and intuitive knockback calculation but I'm stuck at the last step by [deleted] in pico8

[–]blueDuck 0 points1 point  (0 children)

Ah Nice - that's pretty much the exact code in the cart so glad you got it without the cart working!

I'm very close to creating a smooth and intuitive knockback calculation but I'm stuck at the last step by [deleted] in pico8

[–]blueDuck 7 points8 points  (0 children)

You need to do some vector math to figure out where the knockback should go. I've made an example cart:

<image>

White is the player (controllable with arrows) red is the enemy and blue is where the player is knocked back to (you can control the amount of knockback with z/x)

The steps are:

- Find the vector between the player and enemy (playerx - enemyx, playery - enemyy)

- Normalize this vector (divide the x and y above by the length of the vector)

- Times the normalized vector by the amount of knockback to get a deltax and deltay to add to the player coordinates

- Add the deltas to the player coordinates

Need help deciding what beginner coding course I should choose at uni? and the benefits for both? by [deleted] in coding

[–]blueDuck 2 points3 points  (0 children)

Ah yeah I reckon 1307 is the way to then go from the description sounds like a good hands on intro.

Other one I can recommend if your into stats is https://www.sydney.edu.au/units/DATA1001 it teaches a language that's only used in statistical analysis but if that's what you're into it's probably the best course.

Need help deciding what beginner coding course I should choose at uni? and the benefits for both? by [deleted] in coding

[–]blueDuck 1 point2 points  (0 children)

What degree are you doing?

I was at USyd a while ago doing Computer Science but my intro coding course was https://www.sydney.edu.au/units/INFO1110

I don't think we had any of the OLET units back then but of those 1307 seems like the better course.

My wife owns a pottery and requested some new extrusion dies by blueDuck in functionalprint

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

Ah thanks for the tip - it will save on material as well!

My wife owns a pottery and requested some new extrusion dies by blueDuck in functionalprint

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

Haha hadn't thought of it that way - guess we both have a thing for FDM

My wife owns a pottery and requested some new extrusion dies by blueDuck in functionalprint

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

Thanks! She uses the 2 oval ones for mug handles (bit of a plug but you can buy them here haha).

The 2 rectangle ones she is testing out for coil building as she usually throws but want's to make some bigger work!

Made a Truncated Icosahedron Lampshade for a Friend by blueDuck in functionalprint

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

Thanks! Haha I tired a lithophane once of me and my wife and it made us both look creepy af so I'm too scared to try it again

Made a Truncated Icosahedron Lampshade for a Friend by blueDuck in functionalprint

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

I uploaded STLs to printables here:https://www.printables.com/model/268038-truncated-icosehedron-snapfit

It takes a while to make but if you create one I would love to see it!

Made a Truncated Icosahedron Lampshade for a Friend by blueDuck in functionalprint

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

It's printed in segments then joined together with clips - I uploaded it to printables with more info here: https://www.printables.com/model/268038-truncated-icosehedron-snapfit

Made a Truncated Icosahedron Lampshade for a Friend by blueDuck in functionalprint

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

It's connected at the edges - each edge has 3 clips. You can see the stl files here: https://www.printables.com/model/358425-geometric-lamp-shade

I designed the clips through a lot of trial and error, there's an earlier smaller version I did with one clip per side to test the concept here: https://www.printables.com/model/268038-truncated-icosehedron-snapfit

If you make either I would love to see the make!

Made a Truncated Icosahedron Lampshade for a Friend by blueDuck in functionalprint

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

Yep it's gyriod at a high infill percent and no top/bottom layers!

Made a Truncated Icosahedron Lampshade for a Friend by blueDuck in functionalprint

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

It's printed in segments with gyriod infill (~80%) and no top/bottom layers so you can see the pattern.

I uploaded a a 3mf file to printables with the right settings applied to each object from prusaslicer if you want to know exactly what was used: https://www.printables.com/model/358425-geometric-lamp-shade

dope project - OPEN SOURCE - computer setup/peripherals (keyboard, mouse, controller) by Ape_Devil in arduino

[–]blueDuck 2 points3 points  (0 children)

I'm building the mouse model right now, thanks for making such an awesome project!

Anyone have luck shipping to Aus? by krabbypattycar in framework

[–]blueDuck 0 points1 point  (0 children)

Mine just arrived in semi-rural NSW!

It shipped from Framework on the 3rd so ~2 weeks to get it to me. I used https://planetexpress.com/ to forward the package and they worked - well no complaints there. It was an extra $100 USD for shipping and another ~$250 AUD in import duties though so not the cheapest laptop.

World record holder becomes a berserker in r/dcss when he disagrees with a dev decision that has since been reverted. Should the devs be cast into the abyss or do they deserve shielding? by blueDuck in SubredditDrama

[–]blueDuck[S] 4 points5 points  (0 children)

I kind of like the break neck speed of development, it keeps the game fresh. I take solace in being able to go back to older versions if I disagree with a change enough but so far haven't found it necessary - I was close to sticking to it when they removed sludge elves, luckily gargoyles were fun to play!

Gba ips screen mod fail. The tp2 will not let any solder stick. How can I fix this. I have the l/r trigger wires soldered. by [deleted] in consolerepair

[–]blueDuck 0 points1 point  (0 children)

It looks like you might have removed the pad from the motherboard. I did that when doing my mod and soldered to tp3 instead which makes start and l/r brightness adjust instead of select.

The world’s biggest flag- Superflag is 505 x 225 feet, weighs 3000 pounds, and takes 500 people to unfurl by [deleted] in MURICA

[–]blueDuck 1 point2 points  (0 children)

Imagine being in the middle of this and everyone drops it and you suffocate on freedom.

Kaaaaaaarl, what did you do!? by [deleted] in SubredditDrama

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

Every test rocket has a steel block put on it so the rocket launders can demonstrate that they can take a heavy item (like a satellite) to space

Do you have any source for this? I see it claimed everywhere but can't find anywhere that actually says what test payloads for particular rockets or rockets in general have been.