OK,

Uncompressed version, with browser fix that avoids depth-only textures, at:

http://stolk.org/tlctc/js-uncompressed/

It runs on my HD3000 MacBook Air now :-)
Albeit slowly due to the crappy GPU in that machine.

It's really big though: 16mb js, 24 mb data, so be patient.

Should I have used a larger value than -s TOTAL_MEMORY=67108864 ?

  Bram



On Sat, Jan 25, 2014 at 9:18 AM, Alon Zakai <[email protected]> wrote:

> I get an out of memory error or my machine when trying to run it.
>
> Is it fully optimized (-O2)?
>
> Perhaps related to compression, any chance you can put up a version
> without the lzma compression?
>
> - Alon
>
>
>
> On Sat, Jan 25, 2014 at 1:16 AM, Bram Stolk <[email protected]> wrote:
>
>> Sure,
>>
>> I will keep a permanent copy at http://stolk.org/tlctc/bugrep/
>>
>> Does the browser completely crash?
>>
>> On OSX, the javascript bails on an assert because the framebuffer is
>> incomplete.
>> I use a depth-only texture, which Version 32.0.1700.77 chrome does not
>> like.
>>
>> I tried adding glDrawbuffer( GL_NONE ) but this symbol is undefined
>> during linking?
>> Does emscripten link against GL or GLES2 when I build sdl sources?
>>
>> Bram
>>
>>
>>
>> On Sat, Jan 25, 2014 at 1:04 AM, Jukka Jylänki <[email protected]> wrote:
>>
>>> Hey, I manage to consistently crash Firefox Nightly on this - could you
>>> freeze this exact version of the page to some location that stays alive?
>>> I'm going to submit a crash report about this.
>>>
>>>    Jukka
>>>
>>>
>>> 2014/1/25 Bram Stolk <[email protected]>
>>>
>>>>  Hi,
>>>>
>>>>
>>>> Here's the first version of the emscripted port of my Crane Simulator:
>>>> "The Little Crane That Could."
>>>>
>>>> http://stolk.org/tlctc/js/
>>>>
>>>> Use arrow keys to drive truck, and on screen levers to control the
>>>> crane.
>>>> Drag mouse for camera control, +/- to zoom.
>>>>
>>>> If you try it out, please let me know your findings.
>>>> The decompression is rather slow (slower than the download) but the
>>>> files are nicely compacted.
>>>>
>>>> I'm amazed by what emscripten is able to do for me. (Pretty much
>>>> everything I do in C, except the UDP sockets.)
>>>>
>>>> Keep up the good work!
>>>>
>>>>   Bram
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "emscripten-discuss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>>
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "emscripten-discuss" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/emscripten-discuss/tzZxpzjWFEs/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>>
>> “Programming today is a race between software engineers striving to build
>> bigger and better idiot- proof programs, and the Universe trying to produce
>> bigger and better idiots. So far, the Universe is winning.” (R Cook).
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "emscripten-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/emscripten-discuss/tzZxpzjWFEs/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 

“Programming today is a race between software engineers striving to build
bigger and better idiot- proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning.” (R Cook).

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to