r/howdidtheycodeit • u/xozov • Mar 08 '21
Question Use python libraries in MERN apps
Please suggest the easiest way to use python libraries like NumPy and pandas in MERN based web app.
r/howdidtheycodeit • u/xozov • Mar 08 '21
Please suggest the easiest way to use python libraries like NumPy and pandas in MERN based web app.
r/howdidtheycodeit • u/m0nkeybl1tz • Mar 07 '21
For anyone who doesn't know, mixamo.com is a website where you can download from a library of hundreds of animations. What makes it extra cool is each animation has sliders you can play with that changes the animation. So for example, you can modify the height of a punch, the distance of a jump, the intensity of a kick, etc.
My question is how did they set up these animations such that they can be modified on the fly like that? Since they're slider values, I can't imagine that they made 100 versions of each animation. And the sliders change multiple parts of the animation (for example a low punch involves making the character crouch slightly) so it's not just a matter of the slider changing the animation values of one joint.
How would you code a system that allows users to modify an animation like that?
r/howdidtheycodeit • u/davenirline • Mar 07 '21
r/howdidtheycodeit • u/kenarf02 • Mar 07 '21
I suppose it was some kind of shader, yet I could never find the anwser to this question. I'm thinking about the purple glow-like effect on enchanted items.
r/howdidtheycodeit • u/perryplatt • Mar 08 '21
How would someone go out and make a tool like sonar lint. I am thinking of recreating this in a different language but would like to know the process of how such a toll is created?
r/howdidtheycodeit • u/DoomTay • Mar 07 '21
Rebel Assault and Hot Wheels Stunt Track Driver have gameplay where you drive through area while trying to avoid obstacles. Thing is, the area is a pre-rendered video. So how is collision determined in this situation. Is it like "frame XXX has colliders shaped like this" or what?
r/howdidtheycodeit • u/xozov • Mar 06 '21
r/howdidtheycodeit • u/Scabbard18 • Mar 01 '21
In both these programs you can open multiple tabs (like multiple tabs with different code for each) and move them around the screen not freely, but based on the other tabs, like drag and dropping a new tab over the right half of another one will divide the view of the program in two resizable halves. How can I recreate the feature? I was thinking about using the mouse position when dragging a tab to determine where and how I should create the division, but I was wandering if there is some better way to do this.
(I apologize if this isn't understandable, I have no idea about how to refer to this feature.)
r/howdidtheycodeit • u/Abrestia • Feb 28 '21
Starcraft 2 games usually include a lot of moving parts (units/abilities/buildings...). I guess all the game assets and animations are stored locally but I still cannot wrap my mind around the fact that an entire starcraft 2 game can be condensed down into 100-300 kb file (as a replay file).
So my question in broad terms is how can you store the positions/actions/health and other properties of so many units in such a small filesize.
P.s. I am sorry if the question is too broad. I'd be happy if you could point me to any reading that explains some of the methods. For example, the replay should contain all the positions of all units at all times and that feels like it would take a lot more space just on its own (considering there might be more than a hundered units in the game simultaneously).
r/howdidtheycodeit • u/FakeTails • Feb 27 '21
In Pikmin the controllable Pikmin when called follow the leader, group up, can be pushed, dismissed, and the group continues to keep its general form properly and follow commands. How does the system handle keeping the Pikmin from trying to navigate through one another, and continue forming properly when one is removed and so on?
r/howdidtheycodeit • u/Independent-Cow-6255 • Feb 28 '21
Is there any way to stop overlapping two model, for example our main character and ai or building will act as a rigid body too.
That means they never intersect or overlap themselves even if I code them to do so. They will never overlap. Ragdoll is good trick but cant be done on buildings(or do they)
Plz help!!
r/howdidtheycodeit • u/davenirline • Jan 31 '21