◀ VibeCruiser

js13k 2024 triskaidekaphobia

A free browser game — play it in your browser, no install. Entry for the js13kGames competition of 2024. Theme: Triskaidekaphobia (fear of 13). Placed 53/171.

by @sebadorn · sebadorn/js13k-2024-triskaidekaphobia on GitHubLANG JavaScriptHOSTED ON SEBADORN.GITHUB.IOUPDATED 11 Sep 2024

Vote and save it — continue with GitHub or sign in free

Made this, @sebadorn? See how many people played it → or use email

Controls: WS / Arrow keys to look around · [R] to reset the camera

▶ Play full screen ▲ Vote with GitHub ▲ Vote with email

GitHub asks to share your profile and email with us. We never post anything.

Open the live demo Source on GitHub

From the README

Entry for the js13k competition of 2024. Theme: Triskaidekaphobia (fear of the number 13)

An interactive story about getting on a cursed elevator. But it seems you are not the first this happened to. Get to floor 13 … as often as you have to.

When the pointer is locked, the normal mouse event attributes like clientX or screenY etc. stop working. Instead movementX and movementY have to be used. But I found those to not be precise enough. Small mouse movements still fired the event, but both values were 0. This resulted in a juddery camera on slow movements and made being precise very hard.

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →