Game Components
PreviewInput maps and seeded (repeatable) random numbers for realtime games
22 nodes in 2 categories
- Ships with
- Divooka ExploreDivooka Compute
- Support tier
- Tier 3 (proposed)
- Package
- Glaze Realtime
Glaze Realtime
A realtime interactive media framework primarily for 2D graphics: provides drawing loop, sprites, input maps, etc. Useful for games and simulations.
Input Map
Make Input MapBindMake a key mean an intent.Binding AtOne of the keys that mean this intent, in the order they were bound.Binding CountHow many keys mean this intent.Intent CountHow many intents have ever been named.Intent AtAn intent by position, in the order they were first named.Intent ForWhat this key means, or empty if it means nothing.Is BoundWhether this intent has any key at all.Is DownWhether any key bound to this intent is being held.MeansWhether this key currently means this intent.RebindMake this the ONLY key for an intent.ReleaseTake one key away from whatever it meant.UnbindTake every key away from an intent, leaving it bound to nothing.
Seeded Random
Make Seeded RandomDrawsHow many numbers have been drawn since the last SeededRandom.Restart.SeedThe seed this stream was made with.Next AroundOne of two numbers, either side of a middle, by an even coin flip.Next BetweenA number between two bounds, including the lower and excluding the upper.Next ChanceWhether a thing with this probability happened.Next UnitA number from zero up to but not including one.Next WholeA whole number from the lower bound up to but not including the upper.RestartGo back to the beginning of the stream.