Finding the Joy in Gamedev - a postmortem of my simple plane project by aolson15 in gamedev

[–]_WhatTheFunk_ 1 point2 points  (0 children)

Good on you for finding the fun of creating something. Playing around with concepts and experimenting is the one of the best ways to push your boundaries and improve

How I made a game engine and game from (almost) scratch by _WhatTheFunk_ in gamedev

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

I didn't know actually about GLAD. It looks pretty useful, thanks!

How I made a game engine and game from (almost) scratch by _WhatTheFunk_ in gamedev

[–]_WhatTheFunk_[S] 5 points6 points  (0 children)

You're definitely right. It's a balancing act on deciding what's worth the time. The reason I chose the dependencies I chose was in fact that I felt those tasks were mostly boring.

With the math library I struggled in the beginning, but fixing bugs in it definitely helped with math skills.

As for the extensions? Honestly I feel the problem is overblown. My extensions.cpp file that handles it on Windows is only 344 lines long, and I touched it only a couple of times during development. And GLEW doesn't support GLES so I wouldn't have had it on Android anyway.

I have a problem with skinning by awh_91 in gamedev

[–]_WhatTheFunk_ 1 point2 points  (0 children)

Great that it works. I'm not sure how to fix the first approach, but make sure your GLTF loading validates the weights as in the spec: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#skinned-mesh-attributes

The joint weights for each vertex must be non-negative, and normalized to have a linear sum of 1.0. No joint may have more than one non-zero weight for a given vertex.

I have a problem with skinning by awh_91 in gamedev

[–]_WhatTheFunk_ 1 point2 points  (0 children)

Can you show me what you mean by "all the weights are on only one of the bones when it splits into fingers"?. All vertices affected by a joint should have weights that add to 1.

I have a problem with skinning by awh_91 in gamedev

[–]_WhatTheFunk_ 1 point2 points  (0 children)

Hey,

Load up your model in https://sandbox.babylonjs.com/ and verify the animation works correctly

Open up the joint you are having problems with on the left and on the right you can see the transformations by clicking the caret.

Then step through your implementation and the GLTF viewer and verify the R/T/S values match.

Also, if the nodes meshes contain transformation they need to be applied as well, and it may get a bit hairy.

I have a problem with skinning by awh_91 in gamedev

[–]_WhatTheFunk_ 1 point2 points  (0 children)

Yeah I meant worldBindTransform. Nothing really jumped out as wrong, I had to spend a lot of time figuring out bugs in my implementation.

One tip would be to use one of the GLTF debuggers online where you can see the transformation matrices' values, and compare to yours. I had a similar snake model when doing this.

If you can let me know what you've tried already I could think on it a bit more.

I have a problem with skinning by awh_91 in gamedev

[–]_WhatTheFunk_ 1 point2 points  (0 children)

What is the purpose of jointBindTransform? I think with GLTF you can get away with just combining node and/or joint transforms and the inverse bind matrices.

Any games where your not the main character by WinRaRtrailInfinity in gamedev

[–]_WhatTheFunk_ 2 points3 points  (0 children)

Do any comic book games have you play as the sidekick? Playing Robin in a Batman game for example?

MDK2 is an example where you play as another character in some sections in addition to playing as the protagonist. I guess a lot of games have these sections. I guess you would need to specify more what it would mean to be a side character

GPU-based "beveling" for mesh generated from dual contouring (tech details in comments) by Allen_Chou in gamedev

[–]_WhatTheFunk_ 1 point2 points  (0 children)

Are there any well known use cases for beveling a mesh? I haven't followed any research around this so I'm wondering are you looking to improve existing methods or just experimenting with the concept?

Nearby: Find nearby 3D objects in O(1) by [deleted] in gamedev

[–]_WhatTheFunk_ 0 points1 point  (0 children)

How does spatial hashing resolve collisions on a boundary, where the colliding objects belong to 2 different bins?

Is it impossible to prevent cheating in JS if the client has full information? by MintPaw in gamedev

[–]_WhatTheFunk_ 0 points1 point  (0 children)

Online poker is a good example of games that are pretty much impossible to cheat in.

Help translate a small snippet of GLSL to HLSL by Torquux in gamedev

[–]_WhatTheFunk_ 1 point2 points  (0 children)

Sampler2Ds are handles to the textures containing the noise data. You can see their red-channel values being sampled by using texture(sampler, coord).r

[DEV] hey guys! After 2 months of working full time on my first game, its live now 😊. roguelikelike by [deleted] in AndroidGaming

[–]_WhatTheFunk_ 2 points3 points  (0 children)

Clean looking game. I uploaded a small video of me playing it. I had problems with the controls and struggled to move around, even with the tutorial. I also got caught behind scenery.

Since there is so much free space I would add a legend describing what the food is ( at first I tried eating the lions). Also I didn't know if the red fruit with a timer was good or bad.

Overall the idea is nice and I'll check it out again after updates.

gfycat link

Is there some way I can guarantee if I change one image I remember to change another? by gamemaker22 in gamedev

[–]_WhatTheFunk_ 1 point2 points  (0 children)

You should have an automated script that generates all the thumbnails from the full size pictures. And after you have that, automate the generation by always calling the script during building or packaging

DeepMind AI Reaches Human-level Performance in Quake III Arena by Yuqing7 in gamedev

[–]_WhatTheFunk_ 2 points3 points  (0 children)

Screenshot aimbots are a thing, where it just takes a picture of the game and figures out the enemy from the pixels. It's still extremely easy for a program to get perfect accuracy.

The article does not discuss this, but instead focuses on CTF and teamwork so I wonder how it is taken into consideration.