Search the Community
Showing results for tags 'yummyplate'.
Hi all, after releasing my first CocoonJS port using Pixi called Yummy Plate, I thought I share some experience I made with it. The experience below is based on the following versions: - Pixi.js V1.2&1.3 - CocoonJS version 1.4.4. 1.) Setting Canvas To Fullscreen Mode You have to keep an eye on what renderer you use in PIXI. WebGL or Canvas. CanvasRenderer: Not a problem - simple use e.g. canvas.style.cssText="idtkscale:ScaleAspectFill;" to scale up your canvas in CocoonJS environment. WebGLRenderer: Make sure to place all game objects in a display container which is scaled