Search found 61 matches

by MachineCode
Tue Jun 12, 2018 2:32 pm
Forum: General
Topic: Could LÖVE run on a Raspberry Pi 2B WITH x11?
Replies: 17
Views: 1267

Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?

If you use Raspian on a RPi, then enable OpenGL and Love 0.10.2 will run really well. The easy way to do this is to install love from the RPi repository (still 0.10.2 with the latest Raspian). This installs all the dependencies and should get you a Supertoast if you open a term and type love. The op...
by MachineCode
Mon Mar 12, 2018 2:30 pm
Forum: Support and Development
Topic: Raspberry Pi OpenGL and 0.11
Replies: 2
Views: 429

Re: Raspberry Pi OpenGL and 0.11

OK thanks. That is good news.
by MachineCode
Mon Mar 12, 2018 4:38 am
Forum: Support and Development
Topic: Raspberry Pi OpenGL and 0.11
Replies: 2
Views: 429

Raspberry Pi OpenGL and 0.11

One of the great things about 0.10.2 is how well it runs on a Raspberry Pi 3 with the OpenGL driver. I haven't found anything different from a normal Ubuntu or Mint x86 installation. 60fps is normal as long as you don't do ridiculous things. In fact, I have been using Raspberry Pi 3 as speed test fo...
by MachineCode
Sun Jan 28, 2018 11:09 pm
Forum: Libraries and Tools
Topic: Bit16 - Draw Engine and Media Player
Replies: 14
Views: 1421

Re: Bit16 - Draw Engine and Media Player

Just out of interest, is there any reason you chose "grump" as your forum name?
by MachineCode
Sun Jan 28, 2018 2:58 pm
Forum: Libraries and Tools
Topic: Bit16 - Draw Engine and Media Player
Replies: 14
Views: 1421

Re: Bit16 - Draw Engine and Media Player

"That sounds amazing. How did you do that? I'm still super stoked to see that compiler. When will you release it? Do you have some example data, maybe a short video?" I have mostly coded the decoder at this stage - I told you that. It is pretty simple at less than 1k lines of lua. I also described ...
by MachineCode
Sun Jan 28, 2018 7:17 am
Forum: Libraries and Tools
Topic: Bit16 - Draw Engine and Media Player
Replies: 14
Views: 1421

Re: Bit16 - Draw Engine and Media Player

Yes, yes, all codecs are written in code, however they mostly they work in image space. They use properties of the image to compress the data and reconstruct it at the other end. I know the latest ones are very sophisticated, but techniques like DCTs are signal processing methods to reduce redundant...
by MachineCode
Sun Jan 28, 2018 12:43 am
Forum: Libraries and Tools
Topic: Bit16 - Draw Engine and Media Player
Replies: 14
Views: 1421

Re: Bit16 - Draw Engine and Media Player

The encoder can be as simple as a brute force pixel by pixel set, however even a simple encoding scheme can do much better - The basic method for a general image is first to reduce the color space to 12 or 10 bits - in games you often don't want photo realistic. Reducing the color space means more b...
by MachineCode
Sat Jan 27, 2018 8:16 pm
Forum: Libraries and Tools
Topic: Bit16 - Draw Engine and Media Player
Replies: 14
Views: 1421

Re: Bit16 - Draw Engine and Media Player

This is a media player that lets you store/generate images and animations as compact strings. It is like a custom codec that compresses images into drawing commands. Since it accepts strings, you could for example, have a window in your game that is controlled by a program running on a remote server...
by MachineCode
Sat Jan 27, 2018 2:43 pm
Forum: Libraries and Tools
Topic: Bit16 - Draw Engine and Media Player
Replies: 14
Views: 1421

Bit16 - Draw Engine and Media Player

I am about 80% through coding a pixel based draw engine in love2d. The idea is to make an interpreter that looks like a 16 bit CPU, but the instructions are aimed at drawing primitive graphics objects on a pixel map. Each instruction is a byte pair, so a "program" is just a string. This means that y...
by MachineCode
Thu Jan 25, 2018 1:38 pm
Forum: Support and Development
Topic: Synchronising video and audio
Replies: 16
Views: 966

Re: Synchronising video and audio

I am working on a type of media player that generates video and audio from command strings. The images can be still or animated and each 1/60 frame is a set of 16 bit opcodes that drive a primitive graphics draw engine, so a picture is made from a set of block fills, runs and pixel draws. Sound is s...