Search found 6 matches

by unlimitedbacon
Mon Feb 15, 2016 5:59 am
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 103
Views: 80672

Re: Love.js - A Direct Emscripten Port

Thanks, slime. GLSL/ESSL is an unforgiving language. It still has issues, but at least it actually runs now.

I found an online tool for validating shader code. You just need to remember to change back Love's aliases.
by unlimitedbacon
Sun Feb 14, 2016 11:38 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 103
Views: 80672

Re: Love.js - A Direct Emscripten Port

Just wanted to pass by and say a huge thanks for this project. Does it support shaders, and/or networking through sockets? It supports OpenGL ES 2.0. Shaders have been tested and work. I haven't tested socket-based networking but emscripten definitely supports websockets so I would imagine that wor...
by unlimitedbacon
Tue Dec 29, 2015 6:22 am
Forum: Support and Development
Topic: Missile Command Splosion Effect
Replies: 12
Views: 1744

Re: Missile Command Splosion Effect

Thanks S0lll0s. Thats a simple and elegant solution.
by unlimitedbacon
Mon Dec 28, 2015 6:55 am
Forum: Support and Development
Topic: Missile Command Splosion Effect
Replies: 12
Views: 1744

Re: Missile Command Splosion Effect

So are you saying that, in the loop, it actually starts drawing the second circle before the drawing of the first circle is complete? Does this mean that I should think of love.graphics.circle() as something that initiates the drawing process, rather than something that completes the entire operatio...
by unlimitedbacon
Mon Dec 28, 2015 5:19 am
Forum: Support and Development
Topic: Missile Command Splosion Effect
Replies: 12
Views: 1744

Re: Missile Command Splosion Effect

Can't stencils do this? With the new api anyways. I did not know about that. Cool. The problem is probably concurrency: race conditions between the parallel GPU processors . You're always sending the same canvas to the shader, not a new canvas. I can't think of a way to do it right without swapping...
by unlimitedbacon
Sun Dec 27, 2015 11:14 pm
Forum: Support and Development
Topic: Missile Command Splosion Effect
Replies: 12
Views: 1744

Missile Command Splosion Effect

Greetings, I'm trying to do an effect sort of like the explosions in the old Atari game Missile Command, but not quite the same. This is where two explosions cancel each other out where they intersect. Essentially what I'm trying to do is XOR two circles. I thought that using a shader might be the b...