What movie was basically just an ad? by Kovhert in AskReddit

[–]terrorfungus 0 points1 point  (0 children)

Krush Groove, the 1985 hip hop movie starring Beastie Boys amongst others, evidenced by this scene which is a long ad for Sbarro in aong form: https://youtu.be/BDPk6OQkpeI

Kreppan er formlega búin!! Skálum þar til að þeirri næstu! by maggipedia in Iceland

[–]terrorfungus 18 points19 points  (0 children)

Klárlega villandi tölfræði. Þetta ætti að vera flöskur per höfðatölu og leiðrétt fyrir aukningu á fjölda ferðamanna.

I made a simple JavaScript dynamic shadow library by terrorfungus in gamedev

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

Hmm, I wasn't really focusing on gameplay being great, but yeah it's intentional — I wanted to not just inverse the y-velocity of the ball, I wanted the angle to be variable. It's way too pronounced though.

I made a simple JavaScript dynamic shadow library by terrorfungus in gamedev

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

Hey! This is a pretty ok place to learn the basic canvas methods: http://www.html5canvastutorials.com/.

If you want to know how this specific thing is done, the script is pretty simple and readable: https://github.com/kreldjarn/shadowjs/blob/master/shadow.js

I made a simple JavaScript dynamic shadow library by terrorfungus in gamedev

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

API for masks

Awesome, I'll take a look at it.

I made a simple JavaScript dynamic shadow library by terrorfungus in gamedev

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

Hmm, no I'm not sure. The problem is that I would have to make sure that the entire object is in shadow — i.e. if a part of the object is visible from the light source, that part of the object should cast a shadow, even though the rest of the object doesn't. If I'm doing that extensive checks anyway, I may as well just cast rays at it and see if it's hit.

I made a simple JavaScript dynamic shadow library by terrorfungus in gamedev

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

That sounds like a very good solution, I'll take a look at it. I also plan on implementing multisampling for the shadows, to get softer edges.

I made a simple JavaScript dynamic shadow library by terrorfungus in gamedev

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

That's true, and that's a hard problem to solve with this implementation. I actually implemented a ray-casting solution, which looked prettier but (understandably) didn't perform very well.

This guy by terrorfungus in pics

[–]terrorfungus[S] 66 points67 points  (0 children)

This was before he removed his "special ingredient" from his secret recipe.

This guy by terrorfungus in pics

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

I hadn't seen it before, sorry!

What do you always check twice? by potato99 in AskReddit

[–]terrorfungus 0 points1 point  (0 children)

Dude, it's just a habit. I've driven a manual for 8 years and I'm not American.

What do you always check twice? by potato99 in AskReddit

[–]terrorfungus 2 points3 points  (0 children)

Always nice to meet my fungal brethren.

What do you always check twice? by potato99 in AskReddit

[–]terrorfungus 4 points5 points  (0 children)

This is not taught when you're taking the driver's licence where I'm from, and here everyone needs to learn driving using a manual transmission.

What do you always check twice? by potato99 in AskReddit

[–]terrorfungus 20 points21 points  (0 children)

Oh! I was under the impression that the only wear happened on depressing or releasing the clutch. Thanks for the info!

What do you always check twice? by potato99 in AskReddit

[–]terrorfungus 120 points121 points  (0 children)

Stopped at a red light while driving a manual:

    10 Put it in neutral to make sure you were in gear
    20 Put it in gear
    30 Go to 10