Re: flexjs game hugryhero

2016-01-21 Thread OmPrakash Muppirala
On Thu, Jan 21, 2016 at 10:32 PM, jude wrote: > Even if the initial download size is bigger it can actually load faster. > This is because: > > *Fetching resources over the network is both slow and expensive: the > download may require multiple roundtrips between the client and server, > which de

RE: flexjs game hugryhero

2016-01-21 Thread Sugan Naicker
Hi, Very nice! Rgs Sugan -Original Message- From: lizhi [mailto:s...@qq.com] Sent: Thursday, January 21, 2016 6:30 AM To: dev@flex.apache.org Subject: flexjs game hugryhero http://matrix3d.github.io/assets/html5/flexjsstage3d/bin/js-release/#test_hu gryhero -- View this message in

Re: flexjs game hugryhero

2016-01-21 Thread jude
Even if the initial download size is bigger it can actually load faster. This is because: *Fetching resources over the network is both slow and expensive: the download may require multiple roundtrips between the client and server, which delays processing and may block rendering of page content, an

Re: [GitHub] flex-falcon pull request: Compiler fixes related to js.swc

2016-01-21 Thread Tj Quirk
UNSUBSCRIBE On Tue, Jan 5, 2016 at 12:50 PM, adufilie wrote: > Github user adufilie commented on the pull request: > > https://github.com/apache/flex-falcon/pull/5#issuecomment-169110068 > > Object.prototype.toString() is included in the es3.js extern file, but > it has a different signa

Re: flexjs game hugryhero

2016-01-21 Thread Josh Tynjala
In my opinion, it wouldn't necessarily be considered a best practice to use [Embed] with JavaScript output, but it could be useful in some circumstances. SWF, as a format, was great for distributing games because you could easily download and pass around one file that can be deployed pretty much a

Re: flexjs game hugryhero

2016-01-21 Thread Alex Harui
On 1/21/16, 8:48 AM, "Michael Schmalle" wrote: >Ok, I am ignorant. If I was to make a little audio app with FlexJS, "what" >are the assets as far as like png loading for an image? There is an Image component that loads png/gif/jpg. > >Is all that in the FlexJS stor example? > >How is the layo

Re: flexjs game hugryhero

2016-01-21 Thread OmPrakash Muppirala
Any reason we want to embed images? It makes sense in a swf because it is a compact file format. For the HTML version if we stick a big base 64 image in the minified code, we are unnecessarily making the initial download size bigger. A better approach would be to use spritesheets when dealing wi

Re: flexjs game hugryhero

2016-01-21 Thread Michael Schmalle
Ok, I am ignorant. If I was to make a little audio app with FlexJS, "what" are the assets as far as like png loading for an image? Is all that in the FlexJS stor example? How is the layout working on browsers? Last time I checked there was still styling and layout hicups. Do you have an online e

Re: flexjs game hugryhero

2016-01-21 Thread Alex Harui
On 1/21/16, 8:24 AM, "Michael Schmalle" wrote: >If/when you have time, could you make a JIRA that sort of outlined the >process for the base64 encoding? I am good at somethings but something >like >this I really don't have any experience, I know the hooks in the compiler >and such but what woul

Re: flexjs game hugryhero

2016-01-21 Thread Michael Schmalle
If/when you have time, could you make a JIRA that sort of outlined the process for the base64 encoding? I am good at somethings but something like this I really don't have any experience, I know the hooks in the compiler and such but what would actually be involved in getting the bytes to emit out.

Re: flexjs game hugryhero

2016-01-21 Thread Alex Harui
On 1/21/16, 2:43 AM, "Michael Schmalle" wrote: >Oh yeah one other things to those that read. What Renaun proved was that >the Starling framework "could" be used and it compiled to JS, so. > >@Alex, this is why lizhi was asking about Embed, the hungry heros >examples. I'm sure other folks w

Re: Building FlexJS from source

2016-01-21 Thread Alex Harui
On 1/20/16, 6:47 PM, "lizhi" wrote: >but i think the build.xml not good,bcs it need you set env path. >i have a idea,not use the env path,it is good for me. >just depand the dir of you flexjs sdk. > >hope someone find it,s good. >bcs i do not want set some env path of my pc. Yes, in the future

Re: flexjs game hugryhero

2016-01-21 Thread lizhi
i have remove all Embed,with loader. and the flexjs not support xml now. so the version use the json. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs-game-hugryhero-tp51348p51355.html Sent from the Apache Flex Development mailing list archive at Na

Re: flexjs game hugryhero

2016-01-21 Thread Michael Schmalle
Oh yeah one other things to those that read. What Renaun proved was that the Starling framework "could" be used and it compiled to JS, so. @Alex, this is why lizhi was asking about Embed, the hungry heros examples. Mike On Thu, Jan 21, 2016 at 5:41 AM, Michael Schmalle wrote: > Yeah, what

Re: flexjs game hugryhero

2016-01-21 Thread Michael Schmalle
Yeah, what I meant was give people like you the ability to write against native JS API, so thank you for having interest in what you are doing, it makes all the time I spent on this compiler in 2012-2013 totally worth it. BTW, I have some things I am working on right now but I am really interested

Re: flexjs game hugryhero

2016-01-21 Thread lizhi
and if i have time,i will render the flash api,use the webgl. not depend the starling.just flash api webgl. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs-game-hugryhero-tp51348p51352.html Sent from the Apache Flex Development mailing list archive a

Re: flexjs game hugryhero

2016-01-21 Thread lizhi
thanks your js.swc but it is different. this game not use the starling,and webgl. this game use the canvas. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/flexjs-game-hugryhero-tp51348p51351.html Sent from the Apache Flex Development mailing list archive a

Re: flexjs game hugryhero

2016-01-21 Thread Michael Schmalle
Ha, nice Renaun did this game back with Randori compiler and it worked great 3 years ago. One of the main reasons I put some much time into getting externs to work and why I wrote EXTERNC to generate the js.swc was this example right here with webgl. So hats off to you lizhi! You are doing a grea