PHPnews.io

Overview for 'remysharp'

Oh Mummy - 28-Jul 2020 [devlog/oh-mummy]

Written by Remy Sharp / Original link on Jul. 28, 2020

After last week's failure in sound this week(end) was a total win over sound 💪I knew the game played better with some audible feedback and I also knew that the only way I could pull it off in NextBASIC was to use the interrupt handler at the machine code level. I'd previously tried and failed with…


Old (way) Octal [til/javascript]

Written by Remy Sharp / Original link on Jul. 23, 2020

JavaScript has lots of numerical type support, my usual default is decimal.Then with a lot of the byte mangling work I do, I use hex a lot, so things like 0x80 give me a little more information than just 128 because it tells me that the MSB is on when all others are off.This works well with binary…


Oh Mummy - 20-Jul 2020 [devlog/oh-mummy]

Written by Remy Sharp / Original link on Jul. 20, 2020

This week's episode: Experiments in sound…or rather: failures in sound.Since I'm writing this game in NextBASIC I'm abstracted much higher up that machine code (which has it's obvious benefit to my programming experience). The downside is control over the machine.Currently Oh Mummy has (really cool…


Works offline [blog]

Written by Remy Sharp / Original link on Jul. 17, 2020

So many web sites work offline and we don't know it. It's kind of a beautiful aspect of the P in PWA: the web sites are progressively enhanced to be available even without an internet connection.Yet browsers won't tell us so. More on that in a bit. How do we tell our visitors our sites work offline…


A px is not a px [blog]

Written by Remy Sharp / Original link on Jul. 15, 2020

Recently I was trying to extract some glyphs from some various fonts and in doing so I had a fundamental assumption challenged and dispelled.A px in terms of fonts, is not a pixel. Or certainly not in the way I was using them.For as long as I can remember I've used px for my CSS fonts. I tried with…


Index Bitmaps [til/computing]

Written by Remy Sharp / Original link on Jul. 13, 2020

For a tool I've written for my Spectrum I need to port a PNG to an 8bit Bitmap. The process being copy the png image to an HTML5 canvas element, then extract the pixels then generate the bitmap header and arrange the image data appropriately.I've always known about indexed palettes and their existe…