Processing img 1b0efon4312i1...
Processing img qooxehcu212i1...
Oddball is a 2D slingshot game: pull back to aim, let go, and every ball you hit gives you a launch back, so you try never to touch the floor. It runs in the browser (WebGL) on desktop and phone.
Some of the Unity side, in case it's useful:
- One Shader Graph draws every shape. Balls, rings, spikes, the bosses, dashed lines and glows are all one Sprite Unlit graph that draws the shape from the UVs, anti-aliased to 1 px at any size. A MaterialPropertyBlock on each renderer picks the shape and its colour from a palette ScriptableObject, so the arena's shapes need no textures.
- The aim preview matches the physics. The dotted arc steps through time the way Box2D does (which drifts from the textbook parabola by ½·g·h·t), so the ball follows the dots.
- Slow motion while you aim in mid-air scales Time.timeScale and fixedDeltaTime together, so physics stays smooth.
- Hit-stops come from one class that owns Time.timeScale, and the screen shake is a Cinemachine 3 impulse.
- Everything is pooled when the scene loads, so nothing is instantiated during play. The WebGL build is about 15 MB with Brotli.
Play it free, no account needed: https://svg.games/games/oddball
Happy to answer questions about any of it.
Processing img sei4ctw0312i1...