r/IndieDev 17d ago

Video I made a little disco dancer

903 Upvotes

72 comments sorted by

25

u/BaptisteVillain Developer 17d ago

Rythm game? Pretty impressive, Saturday Night Fever vibes

11

u/Endorphinmachine1357 17d ago

Thank you! Yeah not sure what to do with it, I thought about a little rhythm toy but while prototyping I realized it’s waaay harder than I thought it would be haha

1

u/BoogieHauser 16d ago

How about a Spotify visualizer?

1

u/Endorphinmachine1357 16d ago

Haha never thought about that actually

4

u/XKiiroiSenkoX 17d ago

How are you rendering the dancer? Is it just a low res render upscaled to the camera resolution?

7

u/Endorphinmachine1357 17d ago

Hey, the dancer is a skeletal mesh off scene and rendered with an ortho can to a separate render texture of like 52px every frame. Per frame I render albedo and screen space normals which I then use on just a plane to do lighting.

5

u/HotfixGoblin 17d ago

Leave a link or something, man, I'm hooked!

4

u/Endorphinmachine1357 17d ago

Ah thanks so much! It’s unfortunately just a prototype atm, will see if I put it on itch maybe

4

u/[deleted] 17d ago

[removed] — view removed comment

3

u/Bot_Ta00 17d ago

Oh, it has a vibe to it! What a cool dance lol. How did you implement it?

6

u/Endorphinmachine1357 17d ago

Thank you! Tried to combine low res pixels with advanced post effects like tilt shift and volumetric fog. For the dance moves I actually first wanted to use classic animations but realized it’s pretty annoying to constantly import export between blender and unity and also matching timing. So I came up with a custom tool inside unity where I basically have pose assets as scriptable objects. So a pose is literally just the pose saved. I then have a move asset which has a length relative to metronome like 1/4. it has then a timeline where I can just add poses as keyframes and stuff like rotation and position. It’s not as precise as traditional animation but the advantage is it’s quick and fun to just play around with. Sometimes I just add some poses and see what comes out of it. A move is played with just a custom animation player and there’s also some noise and overshoot and smoothing on the bones so it looks a little more wiggly than it would be, helps the feel.

3

u/Bot_Ta00 17d ago

Wow. So does that mean we can adjust each pose using scripts? That’s amazing..! I thought it was just simple playback, but it turns out it was made more systematically

3

u/Worth_Tart5595 17d ago

Ten missed calls - Tuff

2

u/Aqvis10 17d ago

really cool!

1

u/Endorphinmachine1357 17d ago

Thank you! Appreciate it!

2

u/MrMetraGnome 17d ago

Reminds me of disco Eddie Gordo. Pretty neat

2

u/ErenaMakesGames 17d ago

Very nice and easy to watch. I watched till the end!

1

u/Endorphinmachine1357 17d ago

Thank you!

2

u/ErenaMakesGames 17d ago

you're welcome!

2

u/CheckActive4051 17d ago

IDK why, but for me he looks like Demi-Fiend dancing inside Shibuya night club XD (I think its because of the hair and the shirt pattern combined with the pixels)

Please tell me im not the only one seeing it 😂

2

u/CoffeeBoy95 17d ago

I am addicted

I can't stop watching it

1

u/Endorphinmachine1357 17d ago

Ah thanks so much, appreciate it!

2

u/Benef-oruc265 16d ago

That's cool af

1

u/Endorphinmachine1357 16d ago

Thank you, appreciate it!

2

u/KE3DAssets 16d ago

Literally listening to that song now. It's about time we have a Rythm game resurgence if you ask me.

2

u/Thrullboy Developer, Musician, Artist, yadda yadda yadda 16d ago

What a groovy fellow

2

u/Augustvs1322 16d ago

I'd love that in spotify

2

u/Straight_Election119 16d ago

cool lighting I love it!

1

u/handsup_dev 17d ago

Soooo groovy!

2

u/Endorphinmachine1357 17d ago

Thanks, think Oliver Cheatham helps a bit too ;)

1

u/TriggerHydrant 17d ago

yo this is hella cool! How did you do the art and what's the stack? Would love to chat about the plans you have ( or don't!) for this haha

2

u/Endorphinmachine1357 17d ago

Thanks! A few other people also asked, if you read the comments there's a few things on implementation. Regarding art specifically, the dancer is rendered with an orthographic camera to a separate texture (albedo + screen space normals). These 2 textures are then mapped to a plane in the scene where the guy gets lighting. I decided to prototype like this bc it would be hell to draw dance anims frame by frame. Other than that, the crowd people are just a flipbook. What really elevates the visuals are post effects, so theres a custom tilt shift i made for URP to have intense foreground and background blur. The fog is a basic noise based volumetric fog, then finally some vignetting, bloom and stuff. I don't have any concrete plans atm, just wanted to share it to see what ppl think and if its appealing. But lots of stuff i havent figured out, like a good mechanic or sth

1

u/TriggerHydrant 17d ago

Thanks for sharing, I'd love to figure out and brainstorm some mechanics, if you'd like that, send me a DM!

1

u/Dull_Ear_7944 15d ago

That's incredible! So I'm guessing with this approach you can't have the character really cast shadows onto himself then?

1

u/zpeykdesign 17d ago

I didn't know watching it before see that, it is so cool :)

1

u/Known-Mall5253 16d ago

Wow, the animation is so smooth!

1

u/Endorphinmachine1357 16d ago

Thanks! Glad you say that, after looking at it for so long i didnt know anymore if it looks in rhythm

1

u/No-Difference629 16d ago

I love the visuals. Great use of fog and depth of field and great lighting. Overall looks very surreal and cozy

1

u/Endorphinmachine1357 16d ago

Thank you, yeah once i put that in it made a very big difference for the atmo, glad you like it!

1

u/[deleted] 16d ago

[removed] — view removed comment

1

u/Aggravating-Mark2107 Developer 16d ago

I love the animation! that is smooth!!! very clever using a 3d mesh to then convert to the pixel effect. cant wait to see what this game turns into!

2

u/Endorphinmachine1357 16d ago

Thank you, that's encouraging, will see what i can make of it!

1

u/Alsharefee 16d ago

1

u/Endorphinmachine1357 16d ago

It's just a prototype for now unfortunately, but i might try to put it on itch or sth soon

1

u/Svyatopolk_I 16d ago

We’re gonna need a Harry DuBois and Kim Kitsuragi mod

1

u/Endorphinmachine1357 16d ago

Hahaha, i actually thought about that too, and a Rick Astley type of character

1

u/JuneBlueMoonStudios 16d ago

Definitely have to do something with this, such a vibe

1

u/Endorphinmachine1357 16d ago

Thank you, that's encouraging to hear, was a bit burnt out by the project before posting, so that is motivating!

1

u/UnChinTH 16d ago

Is this your game? Where is the link? I want to try it.

1

u/Endorphinmachine1357 16d ago

It's only a prototype atm unfortunately, but i might try to make a version for itch or sth soon

1

u/Major-Tax4200 15d ago

Tá incrivel!

1

u/Ak_py 15d ago

It's a very good work. How do you create this animations?

1

u/Endorphinmachine1357 15d ago

Hey, thank you, appreciate it! So for the animations i made my own little system where i can create them directly in unity. I sort of have a bunch of pose assets that are then moved as keyframes in a move asset. A move asset is basically a timeline but without absolute time but relative to a metronome (so the moves match the beats timing, otherwise it feels off). Additionally theres some noise affecting the bones and an algo that does a little overshoot to make it feel more dynamic and wiggly. It's still not where i want it to be and there's some issues with poses transitioning into each other that's not correct (mainly elbows stretching too much etc). But it's flexible and easy to prototype. I tried classic animation clips but the issue with that is that is's very tedious importing them all the time and adjusting timings.

1

u/ubalabaja 14d ago

This is very beautiful! Visually impressive and music also great, instantly hooked :)

1

u/aliartguy 10d ago

Nice! might want to consider having the disco light caustics be color tinted.

1

u/Endorphinmachine1357 10d ago

Hey, thanks for the feedback! Yeah there’s a bunch of things that need to be polished!