BananaBread uses SDL1. But this should work in both 1 and 2. - Alon
On Wed, Mar 11, 2015 at 4:42 AM, Johan Bjorkman <[email protected]> wrote: > Hi, > > Thank you for your reply. I have also tested BananaBread. So I know it can > be done somehow. > > But I wonder if they use emscripten SDL2 as is (when I compile for native > code it works) or for this or they have additional handwritten JavaScript > to do it? > > I am trying to read the BananaBread source but It is not easy to follow. > > /Bjorkman > > 2015-03-11 1:16 GMT+01:00 Alon Zakai <[email protected]>: > >> Mouse capture should work, several online demos use it, e.g. >> http://beta.unity3d.com/jonas/DT2/ . What didn't work for you? >> >> - Alon >> >> >> On Tue, Mar 10, 2015 at 8:52 AM, Johan Bjorkman <[email protected]> >> wrote: >> >>> Hi all, >>> >>> Getting all tools and test that it works is not easy. >>> >>> I have taken parts of many instructions and made one small tutorial here: >>> >>> http://www.eit.se/hb/misc/emscripten/ >>> >>> It works for the most part. It can show a pyramid in 3D on a web page. >>> >>> But there is a problem with mouse capture. Is there someone who would >>> like to pick this up and finish it? Or it is just not fixed yet in >>> Emscripten? >>> >>> /Bjorkman >>> >>> >>> >>> -- >>> 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/d/optout. >>> >> >> -- >> 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/wgO6Pu7Lx2s/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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/d/optout. > -- 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/d/optout.
