A distributed arcade game and mashup of a few delighful arcade games from the eighties — including restoration of an original Pacman Arcade Cocktail table (Karateco 1984)
[x] Create an ‹app-game› component with a Pixi v5 canvas DONE 27.01 OL+RF
[ ] Propagate resize of ‹app-game› component to its Pixi canvas TODO note this is different than window resize; we might want to use a Resize Observer, or propagate the resize event fired on the window
[ ] Debounce the resize TODO avoid too much costly resizing of the canvas, especially in case of component resize driven by window being resized by the user
[ ] Add a fullscreen button and have the layout adjust TODO see also Gōng-fu I/O en 10 min.
MDN › Window: resize event
« […] It is still possible to set onresize attributes or use addEventListener() to set a handler on any element. However, resize events are only fired on the window object […] »
Actions
DONE
27.01 OL+RFTODO
note this is different than window resize; we might want to use a Resize Observer, or propagate the resize event fired on the windowTODO
avoid too much costly resizing of the canvas, especially in case of component resize driven by window being resized by the userTODO
see also Gōng-fu I/O en 10 min.TODO
voir jkanchelov/pixi-fpsReferences
« […] It is still possible to set
onresize
attributes or useaddEventListener()
to set a handler on any element. However,resize
events are only fired on thewindow
object […] »See also
11 Setup app shell