15 Commits

Author SHA1 Message Date
badlogic
e68f1cb4cc [webgl] Fixed css of canvases for standalone demos. On FF Android, the context limit is 2, so we adhere to that now, resulting in terrible artifacts. Using 5 preallocated contexts for other browsers. 2017-09-15 13:59:51 +02:00
badlogic
4fe53ac856 [webgl] Refactored WebGL demos. They reuse a preallocated set of canvases to limit the number of WebGL contexts required. At most 3 canvases can be visible at a time, so we preallocate 3 canvases, then dynamically attach them to placeholder divs based on their visibility. I'm a juggalo. 2017-09-14 15:47:51 +02:00
badlogic
ff1a81bab3 [webgl] Refactored demos to use preallocated canvas & context 2017-09-14 12:15:23 +02:00
NathanSweet
b597aac9b9 [ts] Minor demo updates.
- Loading screen is never shown if demo loads completely while offscreen.
- HTML charset specified.
- Tabs, not spaces, you filthy animals. Each unminified JS reduced by ~80kb.
- Clean up.
2016-09-13 23:18:49 +02:00
NathanSweet
4a2ba83aa4 [ts] Demo refactoring. 2016-09-06 12:46:25 +02:00
NathanSweet
b1d92aecf8 [ts] Demo CSS upgrade. 2016-09-05 19:52:48 +02:00
NathanSweet
65d0014827 [ts] Moar demo love. 2016-09-04 23:22:47 +02:00
NathanSweet
e8227537ba [ts] Various demo improvements. 2016-09-04 17:14:12 +02:00
NathanSweet
681fd1df58 [ts] Fixed demos to use new slider. 2016-09-03 16:31:54 +02:00
badlogic
1c74823b2f [ts] Refactored demos to share assets as much as possible. Added SharedAssetManager for that purpose 2016-09-02 11:22:04 +02:00
badlogic
e5032250bc [ts] Getting close to being done with demos 2016-09-01 17:12:50 +02:00
badlogic
47e706c972 [ts] More demo polishing 2016-08-31 16:53:48 +02:00
badlogic
0e59f99956 [ts] Removed demo assets, we now load from the server (using CORS). Enabled PMA for all demos, rewired some assets 2016-08-31 11:56:30 +02:00
badlogic
15c82b221a [ts] Refactored demos so we can load them sequentially 2016-08-30 12:07:33 +02:00
badlogic
d2c4a2b1bc [ts] New demos, tons of fixes 2016-08-30 09:46:06 +02:00