Gitlab: Crossyroad

Add leaderboards via a GitLab CI job that calls a REST API, or set up scheduled pipelines to build your game every night. Now go hop across those logs! Have you built a Crossy Road-style game on GitLab? Share your repo or CI/CD tricks in the comments below!

build_webgl: stage: build image: unityci/editor:ubuntu-2022.3.15f1-webgl-1 script: - unity-editor -quit -batchmode -projectPath . -executeMethod BuildScript.PerformWebGLBuild artifacts: paths: - Builds/WebGL/ expire_in: 1 week only: - main

stages: - build variables: UNITY_VERSION: "2022.3.15f1" crossyroad gitlab

pages: stage: deploy image: alpine:latest script: - mv Builds/WebGL/* public/ artifacts: paths: - public only: - main After the pipeline runs, your game is live at: https://yourusername.gitlab.io/crossyroad-clone/ Use GitLab Issues to plan features:

build_windows: stage: build image: unityci/editor:ubuntu-2022.3.15f1-windows-il2cpp-1 script: - unity-editor -quit -batchmode -projectPath . -executeMethod BuildScript.PerformWindowsBuild artifacts: paths: - Builds/Windows/ expire_in: 1 week only: - main Add leaderboards via a GitLab CI job that

The classic arcade game Crossy Road —with its simple "hop across endless traffic and rivers" mechanic—is a perfect starter project for new game developers. But moving from a local prototype to a professional, collaborative project requires a robust DevOps platform. That's where comes in.

| Feature | Labels | Milestone | |---------|--------|------------| | Add train tracks | gameplay , medium | v0.2 | | Implement coin collection | feature , UI | v0.3 | | Fix car collision hitbox | bug , high priority | v0.1.1 | Share your repo or CI/CD tricks in the comments below

You'll need a BuildScript.cs file inside your Assets/Editor/ folder that defines PerformWindowsBuild and PerformWebGLBuild methods using BuildPipeline.BuildPlayer . GitLab Pages for WebGL Hosting To instantly play your Crossy Road clone in a browser:

Scroll to top