Changelog
Changelog
All notable changes to Combo Counter are documented here. The format follows Keep a Changelog, and versions follow Semantic Versioning.
v2.0
A ground-up rewrite. Version 1.x was a folder under Assets/ComboSystem with two uGUI components (ComboCounter and TextPopup) animated through LeanTween or DOTween. Version 2.0 is a Unity Package Manager package (com.zeroworkstudios.combocounter) with one component, ComboCounterSystem, that draws through one of seven UI backends and needs no tween library.
Added
- Seven UI backends, chosen with the
ComboBackendenum onComboCounterSystem(Backend):UGUI(TextMesh Pro or legacy Text),UIToolkit,UniText,FairyGUI,NoesisGUI(2.2 and 4),OneJSandReactUnity. Version 1.x supported uGUI with TextMesh Pro only. The third-party backends activate only when their framework is installed, and each draws through a bridge component on the same GameObject (UniTextComboBridge,FairyGUIComboBridge,NoesisComboBridge,OneJSComboBridge,ReactUnityComboBridge, all deriving fromComboBridge). - Backend status:
BackendStatus(ComboBackendStatus:Ready,FrameworkNotInstalled,BridgeMissing,BridgeMismatch,MissingReferences),BackendStatusMessageandIsBackendReady. The first hit or break on a backend that is not ready logs one warning saying why. HitCombo, with overloads for the default stage, a world position (Vector3, followed while the camera moves, scaled by distance, hidden behind the camera) and a screen position (Vector2).amount0 or less shows only the popup;amountabove 1 applies the hits one at a time, each with its own popup at the level it lands on;textnull is a random word and""is no word;level-1 is the current level. Popups can carry a sprite.BreakCombo()andResetScore();BreakCombokeeps the score.- Combo timer: the combo breaks by itself when no hit lands within
comboTimeout(RemainingTimer,RemainingTimerNormalized,IsCounting). In 1.x the counter only reset when its shrink animation finished orBreak()was called. - Gradual decay: optionally removes a few hits per timeout instead of breaking the combo (
gradualDecay,decayAmount). - Counter level look (
CounterFollowsLevels, Follow Levels in the Inspector, on by default): the hit counter takes each level’s counter font, USS class or framework style, on every backend. Turn it off to keep the counter’s scene look at every level. - Scoring with per-level multipliers (
Score,CurrentMultiplier), and the live stateCountandCurrentLevel. - Events:
OnComboHit,OnLevelUp,OnComboBroken,OnComboTimerUpdated,OnScoreChangedandOnPopupSpawned, as C# events and UnityEvents. - Sounds: a hit sound, a level-up sound and a break sound per level.
- Several popups at once: popups are pooled (
UnityEngine.Pool) and each animates on its own. 1.x had one popup text that every new word restarted. ComboConfigholds all timing, scoring and animation settings, world popup sizing and the level list; a component with no config uses built-in defaults.LevelConfiggained a score multiplier, sounds, awordslist, legacy Text and UI Toolkit fonts, a USS class, and named slots for a FairyGUI style and a UniText font stack and appearance.- Inspectors for
ComboCounterSystem,ComboConfig,LevelConfigand the bridges: a backend status chip with the fix (add the bridge, switch to the bridge’s backend, or open the Setup window), only the references the selected backend needs, a Play Mode readout with test buttons, framework slot checks onLevelConfig, and level-order checks onComboConfig. A popup stage pad draws Popup Offset and Popup Spread to scale on the backend’s canvas, document or reference frame; drag it to edit them, and hover it to see sample popups with the config’s words. - UI Toolkit: the
ComboCounterElementcontrol ([UxmlElement], UI Builder) and a ready UXML/USS HUD. - Combo Counter Setup window (ToolsCombo Counter Setup): shows which UI frameworks are installed, installs them where possible, adds a ready combo counter to the open scene, and opens or plays each demo. It replaces the 1.x tween setup window.
- Framework update check in the Setup window: each installed framework card shows an
↑ v<latest>chip when a newer version exists (checked once a day, or with CHECK FOR UPDATES). Clicking it updates the OneJS and ReactUnity clones GET PLUGIN made (or re-adds them through the Package Manager when they were added there), or explains how to update UniText, FairyGUI and NoesisGUI 4.0 by hand. Built-in uGUI / UI Toolkit and the discontinued NoesisGUI 2.2 are not checked. - Demo scenes for every framework, plus a World Demo for each (WORLD DEMO on its Setup card): a first-person level that pops words and sprites up around the aim point or at the crosshair. The OneJS demo is generated into
Assets/ComboCounter/OneJS Demoon first use, because OneJS only loads Panel Settings fromAssets/. NoesisGUI 2.2 and 4 demos have an Edit Mode preview (URP). Every demo shows the same HUD: the word popups change colour per level; the hit counter stays yellow and red in the UI demos and changes with the level in the world demos. The demo levels play hit, level-up and break sounds from Juhani Junkala’s Essential Retro Video Game Sound Effects Collection (CC0). - Edit Mode tests, plus a reference fixer that keeps USS URLs and XAML font and image paths valid when package files move.
- Agent skill for AI coding agents:
Skills~/combo-counter/is an open Agent Skills folder (SKILL.mdplusreferences/) covering the API, the backends and the usual mistakes, andAGENTS.md/CLAUDE.mdat the package root point to it. Copy the folder to a project’s.agents/skills/or.claude/skills/so agents such as Claude Code, Codex, Cursor, Gemini CLI and GitHub Copilot find it.
Changed
- Packaging: distributed as a UPM package with its own assemblies (
ZeroWorkStudios.ComboCounter.Runtime,ZeroWorkStudios.ComboCounter.Editor) instead of loose scripts underAssets/ComboSystem. The minimum Unity version is now Unity 6 (6000.0), and the package requires the Universal Render Pipeline (com.unity.render-pipelines.universalis a dependency). The OneJS demo needs Unity 6.3 (6000.3), because OneJS itself does; in older editors the Setup window marks its card UNSUPPORTED. - Namespace:
ComboSystem.ScriptsandComboSystem.Scripts.ScriptableObjectsbecameZeroWorkStudios.ComboCounter(editor tools inZeroWorkStudios.ComboCounter.Editor, demo scripts inZeroWorkStudios.ComboCounter.Demos). - One component:
ComboCounterSystemdoes the work ofComboCounterandTextPopup. - Animation: the counter and popup animations use built-in, allocation-free easing instead of LeanTween or DOTween. No scripting define symbols need setting. After a hit the counter punches its scale and does not fade; popups rise and fade.
- Counter text:
counterFormat({0}is the count, for example{0} HITS!) replaces thepreCounterFormatandpostCounterFormatfields. - Words: each level’s words are a
wordslist onLevelConfiginstead of a line-separated.txtfile. LevelConfigfields:comboFontis nowcounterFont,popUpFontispopupFontandpopUpMaximumScaleispopupScale. Existing assets keep their values.- Create menus: CreateCombo Counter instead of CreateCombo System.
Removed
ComboCounterandTextPopupcomponents, withIncrement(),Break()andPopUpWord(int level). UseComboCounterSystemwithHitCombo()andBreakCombo().TweenConfig, replaced byComboConfig. The counter’s random scale range (minScale,maxScale) is gone; the counter now punches bycounterPunchScale.- Tween libraries: the static
Tweenwrapper over LeanTween and DOTween, theUSING_LEANTWEEN/USING_DOTWEENscripting defines and the ToolsComboSystem tween setup window. The new Setup window removes the leftover defines. LevelConfig.wordsFile; type or paste the words into thewordslist.- The
Demo_1andDemo_2scenes, replaced by the per-framework demos.
Upgrading from 1.x
Version 2.0 isn’t a drop-in update:
- Remove the old folder. Delete
Assets/ComboSystembefore installing the package, but keep your ownLevelConfigassets (move them out first if they are inside that folder). Assembly definitions that referenced the old scripts need to referenceZeroWorkStudios.ComboCounter.Runtime. - Replace the components.
ComboCounterandTextPopupshow as missing scripts after the update. Remove them, add Combo CounterCombo Counter from the Add Component menu (or use ToolsCombo Counter Setup) and assign your counter text and a popup text to it. - Update code.
- Use the
ZeroWorkStudios.ComboCounternamespace. - Replace
ComboCounterwithComboCounterSystem,Increment()withHitCombo()andBreak()withBreakCombo().HitCombo()already shows a popup, so calls toTextPopup.PopUpWord(level)go away; to show only a popup, callHitCombo(0, level: level). - A UnityEvent (a Button’s On Click, for example) cannot list
HitCombo, because it takes several parameters. Point the event at a one-line method of your own that calls it. - Pass
Input.mousePositionas(Vector2)Input.mousePositionfor a screen popup; as aVector3it selects the world overload. - Remove calls to the static
Tweenclass.
- Use the
- Re-create settings.
TweenConfigassets do not carry over: create aComboConfig(CreateCombo CounterCombo Configuration), set its timing and animation, and list your levels in it.LevelConfigassets keep their boundary, fonts and popup scale; copy each word file’s lines into the level’swordslist.
v1.17.2
Last version of the original Combo Counter on the Unity Asset Store (Unity 2019.4 and 2020.3; Built-in, URP and HDRP): the ComboCounter and TextPopup uGUI components, animated through LeanTween or DOTween.