Remix.run Logo
guigui 3 days ago

I'm one of the developers who worked on this project. Happy to answer any questions.

More info on the project here: https://www.littleworkshop.fr/projects/5milliondevs/

ianbooker 3 days ago | parent | next [-]

Great work, it really captures the feeling of Marble Madness. Its maybe to deep of a thought, but I really fancy the spin of the marble, something that the original was not conveying as fancy as your version does.

guigui 3 days ago | parent | next [-]

Thank you. The physics engine we're using (Rapier) really does most of the work to make the spin of the marble look realistic. But we spent quite some time tweaking the controls to make them as enjoyable as we could.

forth_throwaway 3 days ago | parent | next [-]

The marble has the perfect amount of friction, I'm able to "drift" around corners which feels really nice.

worldsayshi 3 days ago | parent | prev | next [-]

You did a great job. The physics seems about as enjoyable as those of Rocket League and they must've have spent a considerably larger effort.

sergiotapia 2 days ago | parent | prev [-]

the "feel" is tremendous, S-tier for real.

dole 3 days ago | parent | prev [-]

As a MM fan, I wanted to second this. Great work, engaging enough to make me finish it and wish there were more mechanics like the catapults and enemies.

purpleidea 3 days ago | parent | prev | next [-]

Nice work! In level 5 there are three bounce green boxes and if you fall on one, it bounces you to second, which bounces to third and you "fall into the void" like noclip through the platform and you respawn under it and instantly die forever. Buggy and not going to start from beginning. Open source it!

nogridbag 3 days ago | parent | prev | next [-]

This was really fun. Right before this little hole on the second level, my macbook started running a bit slow and the collision detection somehow sucked the marble into the floor.

https://imgur.com/ZANb1cT

guigui 3 days ago | parent [-]

Physics collision bugs are more likely to occur during frame rate drops. We’ve tried to address this by implementing an auto-respawn mechanism to handle cases where the ball gets stuck inside a collider, but it seems this sometimes fails. Anyway, thank you for playing!

DaviNunes 2 days ago | parent | prev | next [-]

Congrats on your work! You mentioned "using our custom render pipeline and shaders", can you please elaborate more on that?

suyash 3 days ago | parent | prev | next [-]

Nice work, love to know more about the technical bits: what framework did you use for 3D scene, objects? how did you handle camera movements to track the ball? What library for sound as that was a nice touch. How did you do physics? Thanks!

guigui 3 days ago | parent [-]

Thanks. The WebGL rendering is based on Three.js. We're using Rapier for the physics simulation, and Howler for the audio. Our game engine is responsible for all the controls and updating things like the camera position (which follows the position of the ball at every frame).

doctorpangloss 3 days ago | parent [-]

Why did you choose to do things this way instead of using Unity WebGL?

It's okay if the reason is, "because we make websites and the programming we know is Javascript" or whatever. It doesn't have to be about some objective comparison, like optimization or whatever, which isn't going to be true or necessarily matter anyway.

franck 3 days ago | parent | next [-]

Unity WebGL is not supported on mobile and we needed the experience to be playable on both desktop and mobile browsers.

However, mobile browsers will be supported with Unity 6 web exports, still experimental currently AFAIK, but that should become a viable option soon.

doctorpangloss 3 days ago | parent [-]

> Unity WebGL is not supported on mobile.

Hmm... Unity WebGL has worked correctly on Mobile Safari since 2013. Support has probably been flawless since around 2019. It has been supported in all the ways that matter for a long time.

vunderba 3 days ago | parent | next [-]

I wasn't aware of that. The Unity 6 Preview announcement from just this year had a lot of stuff around iOS and Android browser support:

From the article:

Android and iOS browser support has arrived With Unity 6 Preview. Now, you can run your Unity games anywhere on the web, without limiting your browser games to desktop platforms.

https://unity.com/blog/engine-platform/unity-6-preview-relea...

franck 3 days ago | parent | prev [-]

I should have said that it's not officially supported. For client work, we prefer not to choose an engine that may not work on a few devices and which we have no ability to fix.

Wowfunhappy 3 days ago | parent | prev [-]

I don't know if it's just my system or the particular games I've been playing, but Unity WebGL stuff always seems to take a long time to load. TFA loads seemingly instantly.

proee 3 days ago | parent | prev | next [-]

How many people worked on this project and how long did it take to develop? Nice job!

guigui 3 days ago | parent [-]

Besides people from the Netlify team who helped write the content and worked on some back-end aspects, the design and development of the game took around 8 weeks for a team of two.

khernandezrt 3 days ago | parent | prev | next [-]

How long till people start speed running this?

runnr_az 3 days ago | parent | prev | next [-]

That’s really lovely and polished. Nice job…

guigui 3 days ago | parent [-]

Thanks for playing! Glad you enjoyed it.

dyarosla 2 days ago | parent | prev | next [-]

Did you employ any specific practices to keep it running at framerate in JS?

ec109685 2 days ago | parent [-]

You might be interested in this nice write up: https://shopify.engineering/how-we-built-shopifys-bfcm-2023-...

dyarosla 2 days ago | parent [-]

Thats a great writeup for GPU perf improvements!

I was personally looking more for details on dealing with JS and its GC and keeping things smooth on that front.

jetbalsa 3 days ago | parent | prev | next [-]

add a built in timer and I bet people would speed run this thing

guigui 3 days ago | parent [-]

Thanks for playing. Actually, your time is displayed once you finish the experience (there are 5 levels in total).

During the project, we discussed adding a speed-run mode but ultimately had to drop this feature due to time constraints. However, we intentionally included some shortcuts in the level design with that intent in mind.

dylan604 3 days ago | parent | next [-]

the purpose of the game was to force marketing upon the players. a speed run version would defeat the dwell time of the marketing on the screen. i'm sure the marketing department would not be a fan

maroonblazer 3 days ago | parent | next [-]

Perhaps make it such that once you've completed it at 'normal' speed all the marketing messages are disabled, enabling the speedrun.

bobfunk 3 days ago | parent | prev [-]

For what it's worth our head of marketing was the one asking for a speedrun mode, but it just couldn't make the cut in terms of scope :)

bozhark 3 days ago | parent | prev | next [-]

release it on steam with the promise of multiplayer and it'll sell for $10

jetbalsa 3 days ago | parent | prev [-]

and physics bugs, there are a few edge spots you can clip into and really send yourself flying!

itronitron 3 days ago | parent | prev | next [-]

There is a glitch on the momentum level, where the marble gets stuck behind a wall after dropping into a hole.

paol 3 days ago | parent | next [-]

I got stuck in the spiral slide on the same level. I got the impression framerate glitches are affecting the collision detection (common physics implementation pitfall). I could be wrong though.

Still, very cool. Too cool to waste on marketing in fact :)

maroonblazer 3 days ago | parent | next [-]

Only the OP would know for sure, but it might be the case that this never would've come into existence were it not for the project to land the messages about the company.

franck 3 days ago | parent | prev [-]

Yeah, sometimes the ball does some crazy things due to the way collision detection works. We tried to optimize and avoid most of the issues but it can happen.

franck 3 days ago | parent | prev [-]

There is code in place to respawn the ball if we detect that it's stuck inside a block or wall, which can occur due to frame drops during the physics simulation. I'll try to reproduce this issue. Thanks for reporting it!

Grae 3 days ago | parent | next [-]

I was being malicious and dropped down onto the hovering pink cube outside the play area on the final level. Once you roll off that pink cube your respawn point is on the cube, leaving you stuck and unable to get back to the main course.

NBD but sharing in case you want this kind of playtesting feedback!

splittydev 3 days ago | parent [-]

Haha same https://imgur.com/a/DHDSzPW

weightedreply 3 days ago | parent | prev | next [-]

I ran into the same infinite respawn. Here's where it happened to me:

https://imgur.com/RFxyl1Q

tux3 3 days ago | parent | prev | next [-]

I seem to have dropped through a wall while taking an elevator on the elevation level, it keeps respawning me in the void, so that was a game over =)

pbronez 3 days ago | parent | prev [-]

I hit the same thing. It killed me while I was dropping into the hole, then respawned me into the block, ending my game.

yossi_peti 3 days ago | parent | prev | next [-]

How is the gameplay related to the information? The connection seems pretty contrived to me.

franck 3 days ago | parent [-]

The glowing line represents a timeline of Netlify's milestones that you have to follow in order to discover their journey. No particular reason for the physics-based gameplay except to have a bit of fun.

cowmix 3 days ago | parent | prev [-]

Made my day. No notes!