Add fx components 291-320 and the home scene; Kit.Shot, Kit.Toward
Palette cycling, sky, sun and moon, clouds, starfield, rain, snow, petals, leaves, fireflies, waterfall, ocean, campfire, lava, aurora, lightning, mountains and a season scene; scanlines, vignette, screen shake, flash, dither fades, iris wipes, dissolves, mosaics, glitches, sparkles, explosions and confetti. Home opens on a live scene in the palette's season and a strip of all eight palettes. pixel adds Canvas.Cycled, Sprite.At, SpriteOf, Kit.Toward and Kit.Shot, which spends a cue under Reduce Motion so it never replays; display exports Reduce. Gallery grids and the sidebar are one Tab stop each.
This commit is contained in:
56 files changed
+3324
-101
No files matched your search
@@ -136,7 +136,7 @@ func demoLoadingTips(c *ui.Context, log func(string)) {
|
||||
func demoLetterbox(c *ui.Context, log func(string)) {
|
||||
k := pixel.K(c)
|
||||
s := screenState(c)
|
||||
ui.Column(c).Gap(k.D(6)).Children(func() {
|
||||
ui.Column(c).Gap(k.D(6)).AlignItems(ui.Start).Children(func() {
|
||||
game.Letterbox(c, s.cutscene, game.LetterboxOptions{}, func() {
|
||||
ui.Box(c).Size(k.D(200), k.D(80)).Draw(func(p *ui.Painter, r ui.Rect) {
|
||||
g := k.Canvas(p, r)
|
||||
|
||||
Reference in new issue
Block a user