Log In  

standard version (export from 0.1.11g):
https://www.lexaloffle.com/bbs/files/13845/crt_template.zip

unzip crt.html to {application data}/pico-8/plates
then
EXPORT GAME.HTML -P CRT

alternate version (see here):
https://www.lexaloffle.com/bbs/files/13845/ubcrt_template.zip

Feel free to use & modify, no attribution required.

Have fun!

P#62468 2019-03-03 21:47 ( Edited 2019-04-25 11:32)

THIS. IS. FANTASTIC. Thank you!

I updated one of my old carts that was begging for this aesthetic - https://simonhutchinson.itch.io/post-digital

P#62481 2019-03-04 00:15

Rad.

Any chance you can combine the CRT filter with the template you made that fixes the audio issue in Chrome? https://www.lexaloffle.com/bbs/?tid=31000

The UB template loads and plays audio fine, but the CRT template doesn't seem to play audio...at least for me (Windows10/Chrome)

P#62494 2019-03-04 02:26
1

Holy cow - this is AWESOME @ultrabrite!!!

Totally agree with @morningtoast's points above - this would be an amazing updated template.

Now I just need to fight the urge to update ALL my previous games with this! :D

P#62517 2019-03-04 09:16 ( Edited 2019-03-04 09:17)

yep, next on my list! I had things going on with the ub template (audio with latest safari & some refactoring) so I didn't want to cross the streams ;) also I wanted to release this as soon as it worked, but I didn't test thoroughly.

now that I think of it, I made the webgl part quite modular (just additional code that piggybacks on the "canvas" element), so a simple copy&paste at the end could work with minor modification. can't test right now though. it's all between "<! -- 8< webgl stuff -- >" or something if you wanna try :)

(edit: done, see original post)

P#62519 2019-03-04 11:05 ( Edited 2019-03-04 20:13)
1

This is so RAD!

Feature requests:

  1. Can you add a keyboard shortcut to turn it off/on?

  2. A subtle flicker?

  3. This should become part of Pico-8
P#62548 2019-03-04 22:42

Okay, so I kind of did the opposite...I added the UB stuff to the CRT template and it seems to work...at least, from my quick tests when exporting.

Copy+paste into a new file and save it in the plates directory as noted above. Same flags to export HTML.

https://gist.github.com/morningtoast/bf1347b049280b655c939c8c0a52d261

P#62562 2019-03-05 03:25

Ah...nevermind...just saw you updated it. My bad. Oh well.

P#62564 2019-03-05 03:25 ( Edited 2019-03-05 03:25)

Amazing, thanks a bunch!

P#62573 2019-03-05 08:30

This is SUPER AMAZING, but having problems alternately with sound or gfx. Either silent or black in Chrome on Mac.

P#64067 2019-04-30 01:57
:: bctr

I fixed a minor problem here: https://gist.github.com/KHN190/d7c467a471b15e72302b16a9336440a5

Chrome only renders *after all elements are loaded. Otherwise it'll be black.

Also turn on/off CRT effect using shift.

P#64083 2019-04-30 08:12 ( Edited 2019-04-30 09:53)

Hi Tom! Glad you like it!
Most browsers now require user interaction before they will allow audio playback. I see you're using the standard version, based on 0.1.11, which doesn't feature a play button. The easiest way is to uncheck "autoplay" on your itch.io game settings, itch will do the rest.
I don't know about the blackout bug, but I gather bctr should have fixed it.

@bctr: Nice! The webgl init is deferred in my upcoming version, but your fix might still be relevant so I'll check it out!

In any case, I'm working on a new version based on 0.1.12. Still a few bugs to iron out and some testing to do, hopefully in the next few days.

P#64102 2019-04-30 20:43

@ultrabrite - Looking forward to the new version. Was going to play with this but I guess I need the new version for the latest pico-8 release?

P#64161 2019-05-03 11:03 ( Edited 2019-05-03 17:04)
1

@arashi256: this still works with the latest pico-8. you only need the next version if you need mobile or mouse support.

P#64175 2019-05-04 14:49
:: alexr

Thanks @ultrabrite (and @bctr, for the fix). This looks soooo good.

Can I toggle the effect from within a game, e.g., extcmd("shift") ?

P#70405 2019-11-30 18:29 ( Edited 2019-11-30 18:43)
:: alexr

On second thought, only way would be to write to gpio and, on the browser side, have some js periodically check for gpio input and toggle the effect accordingly.

P#70430 2019-12-01 02:48
:: dw817

Hey @alexr, when are you gonna post your new Jammerboard with the trees and all ? It looks great !

P#70431 2019-12-01 02:56 ( Edited 2019-12-01 02:57)
:: alexr

Hmm.. I don't feel it's ready for the carts ecosystem just yet; playable work-in-progress builds are for now on itch.io.

Also have been playing with the crt template, tweaking it a bit to lessen the warp and blur effects, which now looks something like this:

Game-driven toggling of the effect adds the challenge of integrating/justifying its use via the game narrative, which has driven me to add a "they're watching us" twist to what once was a simple "just surf" mechanic. I'm not sure I'm headed the right way; I may have fallen down an effect-driven-story trap.

P#70488 2019-12-02 15:29
:: alexr

On second thought, maybe using the effect for a "best run playback" could help maintain the focus.

P#70489 2019-12-02 15:35 ( Edited 2019-12-02 15:35)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2019-12-11 17:20 | 0.082s | 2097k | Q:53