Skip to content

tapir/convar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

convar - A Quake-like console implementation for games go.dev reference

Features

  • Type-safe
  • int, bool, float64, string primitive types
  • Special func type that accepts a single argument of any primitive type
  • Variables can trigger a callback function when set/updated
  • Everything is concurrent safe
  • Case insensitive variable names
  • Helper functions (see docs)
  • Saving/loading variables to/from a file
  • Simple command evaluation/execution
  • Simple autocomplete

Installation

go get -u github.com/tapir/convar

Examples

Check out the _examples folder. screenshot

About

A simple Quake-like console implementation. No GUI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages